Flowcharts and Algorithms Flashcards

1
Q

Rectangle with rounded corners

A

Start/ end. Your flowcharts should include both.

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

Arrow

A

Direction of flow

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

Rectangle

A

Process/ instruction being carried out

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

Diamond

A

Decision. Note that the question must result in yes/ no (true/ false) answers.

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

Parallelogram which have sides with positive gradient

A

Input/ output

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

What is sequence?

A

order of steps in an algorithm

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

Why is sequencing so important?

A

Otherwise the algorithm will not work correctly

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

What is iteration?

A

carrying out a set of instructions repeatedly

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

Other names for iteration?

A

looping and repetition

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

For loop vs While loop

A

Repeated a set number of times vs Until the condition is met

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

Give an example of iteration

A

Take a sip of the soup until the bowl is clear.

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

What is selection?

A

Make decisions so computers can do different things depending on what input they receive.

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

Give an example of selection

A

Turn on the light if the room is too dark.

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

What is a variable?

A

Named container for a piece of data

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

Variable declaration vs assignment

A

Build the container and stick a label on it vs placing something in it

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