Algorithm Production Finished Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what are the advs of writing an algorithm in pseudocode/ocr reference language (4)

A

can be quickly converted into a real programming language
fairly easy to understand
does not matter if there are issues with the syntax
changes to the design can be easily incorporated

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

what are the disadvs of writing an algorithm in pseudocode/ocr reference language (2)

A

it can be hard to follow the program

it can be time consuming to produce

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

how is a flow from one component to the next shown in a flow diagram

A

lines/arrows

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

how are processes (actions) shown in flow charts

A

rectangles

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

how are subroutines called in flow diagrams

A

rectangles with bars on either side

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

how are inputs and outputs shown in flow diagrams

A

parallelograms

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

how are decisions (yes/no/true/false)

A

diamonds

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

what shape are terminators (start/stop)

A

rounded rectangles

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

what are the advs to writing algorithms in flow diagrams (2)

A

it is easy to see how a program flows

flow diagrams have an international standard

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

what are the disadvs to writing algorithms in flow diagrams (2)

A

diagrams can be way too big if a large algorithm has to be followed
any changes mean the diagram has to be completely redrawn

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