CHAPTER 4 INTRO TO PROBLEM SOLVING PSEUDOCODE Flashcards

1
Q

What is Pseudocode?

A

really structured English that has been formalized and abbreviated to look like the high-level computer languages.

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

What is Input?

A

A list of source data provided to the problem.

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

What are Processes?

A

A list of actions needed to produce the required outputs.

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

What is Output?

A

A list of the outputs required.

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

Keywords for input :

A

a. Prompt and Get - used to indicate that input will be receive from the keyboard
b. Read - use to indicate that input will be retrieve from record in file

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

Keywords for Output :

A

a. Display, Output, Put - used when we want output to be displayed to the computer screen
b. Print - enables output to be sent to a printer
c. Write - enables output to be written to a file

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

What is Desk Checking?

A

a. process of tracing through the pseudocode with some test data
b. help eliminate errors but will not be able to prove that your algorithm is correct

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