Unit 2:L2 - Algorithms design using pseudocodes and program flowcharts Flashcards
(11 cards)
What is a flowchart?
A pictorial representation of an algorithm
What do flowcharts consist of?
Symbols
Messages in the symbols
Annotation
Lines connecting symbols
What are program flowcharts?
Shows dramatically the steps required for a task.
What is an algorithm
steps together with an order
Name some characteristics of a flowchart
They are an effective way to communicate
They represent the operations involved in a process
What makes up the control structures
The 2 basic structures
Sequential control
What are the 3 basic structures of the control structure
Sequence
Selection
Repetition
What is a sequence
a set of instructions executed in a box
What is a selection
A decision made based on some strict conditions
What is a repetition
a set of actions repeated no. of times
What is the sequence control indicated by?
1) writing one action after another
2) all actions aligned with the same involved