Tests for Chapters 1-4
The ____ used in the pseudocode reflects the logic you can see laid out graphically in the flowchart.
True or False
A variable name is also called an identifier.
The statements that execute when a tested condition in a selection is false are called the ____.
Every operator follows ____ that dictate the order in which operations in the same statement are carried out.
rules of operation
True or False
Programmers find it easier to modify and maintain unstructured programs as changes are required in the future.
True or False
Some professional programmers prefer writing pseudocode to drawing flowcharts because using pseudocode is more similar to writing the final statements in the programming language.
When you write software instructions, you are ____.
In a flowchart, one structure can attach to another at any point in the structure.
With a selection structure or ____ structure you ask a question, and, depending on the answer, you take one of two courses of action.
The programmer's job can be broken down into four development steps.
With a(n) ____, you perform an action or task, and then you perform the next action, in order.
A ____ is similar to a variable, except that it can be assigned a value only once.
Hardware devices that perform output operations include keyboards and mice.
____ is the equipment, or the devices, associated with a computer.
Machine language is represented as a series of 0s and 1s, also called decimal form.
Instructions after an endif statement are not dependent on the if statement at all.
Placing a structure within another structure is called ____.
Software developers say that spaghetti code has a longer life than structured code.
Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.
A ____ input is the statement that reads the first input value in a program.
A(n) ____ is a pictorial representation of logical steps it takes to solve a problem.
____ is the entire set of actions an organization must take to switch over to using a new program or set of programs.
The action or actions that occur within the loop are known as the ____.
A variable's ____ describes the kind of values the variable can hold, how much memory the value occupies, and the types of operations that can be performed with the data stored there
A sequence can contain any number of tasks, but there is no chance to branch off and skip any of the tasks.
The process of walking through a program's logic on paper before you actually write the program is called ____.
It is more common for uninitialized variables to have an a valid default value assigned to them then for them to contain an unknown or garbage value.
Attaching structures end-to-end is called ____.
If you use an otherwise correct word that does not make any sense in the current context, you commit a ____ error.
Whether you are drawing a flowchart or writing pseudocode, you must only use Yes and No to represent decision outcomes.
The decision that controls every loop is always based on a ____ comparison.
To indicate end-of-file, you use the term ____.
Program logic gets more complicated when you must use loops within loops, creating ____ loops.
The ____ is the location on your computer screen at which you type entries to communicate with the computer's operating system using text.
Even if you run the same application a second time, the variables might occupy physical memory locations different from those they occupied during the first run.
Named constants conventionally are created using ____.
all uppercase letters
You might say that the path that can never be traveled is a dead or ____ path,
The selection structure where the logic can flow only to one of the two alternatives, never to both is called an if-then-else structure or a(n) ____ selection.
Logically, either selection in an AND decision can come first.
To perform a range check, make comparisons using either the lowest or highest value in each range of values.
You can use any of the four comparison operators to control a loop.
Every decision you make in a computer program involves evaluating a Boolean expression.
Boolean (true/false) expressions are named for George Boole.
A ____ is a displayed statement that advises a user what to do.
Other loops are controlled by reducing, or ____.
A(n) ____ is any numeric variable you use to count the number of times an event has occurred.
When you use a ____, you compare a variable to a series of values that mark the limiting ends of ranges.
The else clause of the decision is the part that executes only when the ____.
tested condition in the decision is false
Within a correctly functioning loop's body, you can change the value of the loop control variable in only one way.
When you first analyze a solution, you might find it easier if you use a flowchart and pseudocode simultaneously to ensure that you have the correct design.
A ____ is one that represents only one of two states, usually expressed as true or false.
Commonly, you control a loop's repetitions by using either a counter or a ____ value.
A ____ of values is every value between low and high limits.
You can use a for loop to execute a body of statements continuously as long as some condition continues to be true.
Sometimes you want to take action when one or the other of two conditions is true, this type of compound condition is called a(n) ____ decision.
While making decisions is what makes computers seem intelligent, it's looping that makes computer programming both efficient and worthwhile.
When one loop is nested within another, the loop that is contained is the ____ loop.
Upgrade to remove ads