flow charts Flashcards

1
Q

what is an algorithm?

A

(a program)- a sequence of instructions

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

what is a flowchart?

A

a diagram that uses special symbols to describe the steps and order that a program must run

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

name 3 reasons why we use flowchart.

A

-organising things
-break a problem down into parts
-ensure instructions are in the right order

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

what shape is a terminator symbol, and what is it used for?

A

an oval, and it is used at the start and end of a flowchart

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

what shape is a process symbol, and what is it used for?

A

rectangle, to show a single step that is part of a bigger problem

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

what shape is a decision symbol and what is it used for?

A

diamond, and it is used when condition is checked to decide what happens next

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

what shape is an input/output symbol, and what is it used for?

A

parallelogram, and to show u that a device must be turned on and off.

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

what shape is a delay symbol, and what is it used for?

A

half semicircle and it allows you to pause or delay the flowchart

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

is a function and a sub- routine the same?

A

YES

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

what is a subroutine?

A

blocks of code created to preform a particular task

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

name 2 benefits of a sub routine.

A

-makes programs shorter
-can be called on a number of times in the program

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

what is a sequence?

A

instructions followed one after the other, step by step

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

what is a selection?

A

a condition is used to decide whether a section of code should be executed.

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

what is iteration?

A

the process of repeating sections in a program to achieve a goal or target.

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

what is a sensor?

A

an input device used to measure some physical quantity in its environment.

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

name 2 scenarios when computer control is better.

A
  • tasks are repetitive
  • speed is essential
17
Q

name 2 scenarios when human control is better.

A
  • an element of skill is involved
  • unexpected things my happen
18
Q

name 2 advantages of computer control.

A
  • can work 24hrs a day
  • don’t need to be payed
19
Q

name 2 disadvantages of computer control.

A
  • software costs a lot
  • computer may malfunction
20
Q

what are the lines coming out of a flow chart called?