Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Introduction to Programming
Ashar
Program
Program : A collection of sequential instructions given to computer to
carry out certain task.
Programming Language
A language used for expressing a set of computer instructions.
A language medium between the computer and the user in order to
understand each other.
Responsible for the human computer system communication.
Consists of necessary symbols, characters and grammar rules.
FLOWCHART
Flow charts are easy-to-understand diagrams that
show how the steps of a process fit together.
It is nothing but a diagrammatic representation of
the various steps involved in designing a system.
A flowchart is a diagrammatic representation that
illustrates the sequence of operations to be
performed to get the solution of a problem.
Flowchart Symbols
Some of the boxes, which are used in flowcharts, are
Example 1
Conditional Statements
(If Condition)
Conditional Statements
(If Else Condition)
Example 2 Algorithm
Example 2 Flowchart
Example 3
Example 4
Practice..
1. Develop an Algorithm to add three numbers and convert it into
Flowchart.
2. Develop an Algorithm to read two numbers and print the bigger
number. Convert it into Flowchart.
3. Develop an Algorithm to find the biggest of the three given
numbers and convert it into Flowchart.
4. Develop an Algorithm to find the sum of 10 given numbers and
convert it into Flowchart.
5. Develop an Algorithm to find the average of 5 numbers and
convert it into Flowchart.
Problem ..1
Problem ..2
Problem ..3
Problem ..3
Alternative
Problem ..4
Problem ..4
Alternative
Problem ..5
References
http://whatsupnew.com/flowchart/
https://www.mindtools.com/pages/article/newTMC_97.htm
http://www.functionx.com/cpp/Lesson09.htm