2.1.4 Thinking Logically Flashcards

1
Q

What is the point of this topic?

A

Identification of decision points for branching or iteration?

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

What is the aim of the structured approach?

A

To improve clarity and maintainability of programs.

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

What are the three basic structures of the structured approach?

A

sequence
selection
iteration

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

What are the examples of programming languages that use the structured approach?

A

Python and Pascal

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

What are the 2 tools used for designing algorithms?

A

Flowcharts and psudocodes

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

What is the symbol for a decision in a flowchart?

A

A diamond

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

What is the symbol for a process in a flowchart?

A

A rectangle

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

What is the symbol for inputs/outputs in a flowchart?

A

A paralellogram

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

What is the symbol for a document in a flowchart?

A

Rectangle with going down paint at bottom

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

What is the symbol for a sub process in a flowchart?

A

A rectangle with two lines towards the edges on it.

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

What is a sequence?

A

Linear execution of statements

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

What is selection?

A

Used to decide which sequence of statements will be executed based upon conditions. e.g If , else , then

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

What is an iteration?

A

Repetition of a sequence until condition is met e.g. repeat until or while

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