Chapter 2 Flashcards
What is Natural Language?
Expressive and easy to use.
Is verbose, unstructured, and ambiguous.
What are Programming Languages?
Structured and designed for computers.
Grammatically fussy and cryptic.
What is Pseudocode?
Used to design algorithms prior to coding them.
In between Natural and Programming Language.
What are the differences between flowcharts and pseudocode
Pseudocode can be done on any word processor, while flowcharts require special programs.
Pseudocode is not visual or standard, while flowcharts are visual and standardized.
Pseudocode implements design elements well, while flowcharts are more difficult to modify.
What does an rounded square mean in a flowchart?
It means to start or to stop.
What does a parallelogram mean in a flowchart?
It means to input or output something.
What does a normal rectangle mean in a flowchart?
They usually indicate a process occurring like addition, subtraction, multiplication, or division.
What does a diamond mean in a flow chart?
Diamond indicates a conditional/while statement.
How many tasks does a sequential operation handle?
It handles one task at a time.
What are the three basic sequential operations?
Input: Retrieves data
Output: Sends data
Computation: A single numeric calculation
What is a sequential algorithm comprised of?
Sequential operations.
What is a variable?
A named storage location.
What is a control operation?
It changes the normal flow of control.
What statement asks a question and selects among alternative options?
A conditional statement.
What is an iteration?
An operation that causes looping of instructions.