ALGORITHMS Flashcards

1
Q

What is the shape and purpose of a start/stop in a flowchart?

A

its pill shaped, this should be placed at the start and at the end of the flowchart . its purpose is to show where the program starts and stops

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

What is the shape and purpose of input/output in a flowchart?

A

This is rhombus shaped, this shows were the user needs to have information inputted, or when information needs to be outputted

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

What is the shape and purpose of a decision in a flow chart?

A

its purpose is to ask boolean question (true or false) and this is looped back to the previous sections. it is diamond shaped

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

What are trace tables good for?

A

helping and understanding. the program flow

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

How are trace tables structured?

A

the line number is first, then the first variable, the the second etc etc, then the output is shown

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