How can we help?

You can also find more resources in our Help Center.

49 terms

Midtermm Chapters 1-4

STUDY
PLAY
Semantic Error
Use an otherwise correct word that does not make any sense in the current context
desk checking
The process of walking through a program's logic on paper before you actually write the program
high level programming
English type language for programming
low level programming
language computers understand
conversion
the entire set of actions an organization must take to switch over to using a new program or set of programs
Pseudocode
English like representation of the logical steps it takes to solve a problem
flowchart
pictorial representation of the logical steps it takes to solve a problem
input symbol
parallelogram used to represent an input operation
process symbol
rectangle that contains a process statement
output symbol
parallelogram used to represent an output operation
flowlines
arrows to connect steps
terminal symbols
start or stop symbols
identifier
Also called a variable
Camel Casing
Using uppercase letters to start a new word like hourlyWage
The ____ used in the pseudocode reflects the logic you can see laid out graphically in the flowchart
indentation
True or False
A variable name is also called an identifier.
True
The statements that execute when a tested condition in a selection is false are called the ____.
else clause
True or False

Programmers find it easier to modify and maintain unstructured programs as changes are required in the future.
False
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.
True
When you write software instructions, you are ____.
programming
True or False

In a flowchart, one structure can attach to another at any point in the structure.
False
With a selection structure or ____ structure you ask a question, and, depending on the answer, you take one of two courses of action.
decision
True or False

The programmer's job can be broken down into four development steps.
False
With a(n) ____, you perform an action or task, and then you perform the next action, in order.
sequence structure
A ____ is similar to a variable, except that it can be assigned a value only once.
named constant
True or False

Hardware devices that perform output operations include keyboards and mice.
False
True or False

Machine language is represented as a series of 0s and 1s, also called decimal form.
False
True or False

Instructions after an endif statement are not dependent on the if statement at all.
True
Placing a structure within another structure is called ____.
nesting structures
True or False

Software developers say that spaghetti code has a longer life than structured code.
False
Structured programs can be easily broken down into routines or ____ that can be assigned to any number of programmers.
modules
A ____ input is the statement that reads the first input value in a program.
priming
A(n) ____ is a pictorial representation of logical steps it takes to solve a problem.
flowchart
____ is the entire set of actions an organization must take to switch over to using a new program or set of programs.
Conversion
The action or actions that occur within the loop are known as the ____.
loop body
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.
data type
True or False

A sequence can contain any number of tasks, but there is no chance to branch off and skip any of the tasks.
True
The process of walking through a program's logic on paper before you actually write the program is called ____.
desk-checking
True or False

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.
False
Attaching structures end-to-end is called ____.
stacking structures
If you use an otherwise correct word that does not make any sense in the current context, you commit a ____ error.
semantic
True or False

Whether you are drawing a flowchart or writing pseudocode, you must only use Yes and No to represent decision outcomes.
False
Every operator follows ____ that dictate the order in which operations in the same statement are carried out.
rules of precedence
Similar to a variable except it can be named a value only once.
Named Constant
An unnamed constant whose meaning is not immediately apparent.
Magic Number
every operator follows this which dictate the order in which operations in the same statement are carried out.
Rules of Precedence
Describes what kind of value the variable can hold
data type
A predetermined value that means stop the program
Sentinel Value
Test a value is also called this
Making a Decision