Chapter 2 Flashcards
(38 cards)
A mistake in a program that does not prevent the program from running but causes it to produce incorrect results.
Logic Error
The process of finding and correcting errors in a program.
Debugging
The process of designing, writing, correcting, testing, and debugging software.
Program Development Cycle
The process of designing a program can be summarized in two steps:
- Understand the task that the program is to perform.
- Determine the steps that must be taken to perform the task.
An informal language that has no syntax rules, and is not meant to be compiled or executed.
Pseudocode
A single function that a program must perform in order to satisfy the customer.
Software Requirement
A set of well-defined logical steps that must be taken to perform a task.
Algorithm
What are the three types of symbols in the flowchart?
Ovals, parallelograms, and rectangles
A diagram that graphically depicts the steps that take place in a program.
Flowchart
In a flowchart, the oval symbol is located?
At the top and bottom of the flowchart
The symbol that marks a program’s ending point in a flowchart.
End terminal
The oval symbols that designate the beginning and end of a flowchart.
Terminal symbols
The symbol that marks a program’s beginning point in the flowchart.
Start terminal
Between the terminal symbols are parallelograms which are used for?
Input symbols and out symbols
A rectangle symbol in a flowchart represents a process are known as?
Processing symbols
A parallelogram symbol in flowcharts represents an input operation and are known as?
Input symbol
A parallelogram shaped symbol in flowcharts represents an output operation and are known as?
Output symbol
A circle shaped symbol that connects the pieces of a flowchart that has been broken into segments.
Connector symbol
A home plate shaped symbol that connects the pieces of a flowchart that appear on different pages.
Off-page connector symbol
What value does the off-page connector symbol typically have listed?
Numerical
What do the numerical values mean if a flow-chart has an off-page connector symbol?
The numerical value will indicate where the next process begins, so if start is on page one then the number 2 will be listed in the home plate shape symbol on page one indicating to look at page 2. On page 2 the home plate shape symbol will have listed page 1 because it is connected to the process on page 1.
What do the oval symbols represent in a flowchart?
Designate the beginning and end of a flowchart and are called terminal symbols.
What do the parallelogram symbols represent in a flowchart?
Designate input or output processes such as:
Input payRate
Display “The employee’s gross pay is $”, grossPay
What do the rectangle symbols represent in a flowchart?
Designate a process that in not input or output but a process such as:
Set grossPay = hours * payRate