Unit 2:L2 - Algorithms design using pseudocodes and program flowcharts Flashcards

(11 cards)

1
Q

What is a flowchart?

A

A pictorial representation of an algorithm

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What do flowcharts consist of?

A

Symbols
Messages in the symbols
Annotation
Lines connecting symbols

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are program flowcharts?

A

Shows dramatically the steps required for a task.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is an algorithm

A

steps together with an order

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name some characteristics of a flowchart

A

They are an effective way to communicate
They represent the operations involved in a process

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What makes up the control structures

A

The 2 basic structures
Sequential control

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the 3 basic structures of the control structure

A

Sequence
Selection
Repetition

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a sequence

A

a set of instructions executed in a box

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a selection

A

A decision made based on some strict conditions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a repetition

A

a set of actions repeated no. of times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the sequence control indicated by?

A

1) writing one action after another
2) all actions aligned with the same involved

How well did you know this?
1
Not at all
2
3
4
5
Perfectly