CHAPTER 4 INTRO TO PROBLEM SOLVING PSEUDOCODE Flashcards
What is Pseudocode?
really structured English that has been formalized and abbreviated to look like the high-level computer languages.
What is Input?
A list of source data provided to the problem.
What are Processes?
A list of actions needed to produce the required outputs.
What is Output?
A list of the outputs required.
Keywords for input :
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
Keywords for Output :
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
What is Desk Checking?
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