Introductory Terminology
Flowcharts
Elements of High-Quality Programs
Modularization
Understanding Structure
Psuedocode Examples
Making Decisions
AND, OR, and NOT
100

A named memory location whose value can vary.

What is a variable?

100

In a flowchart, this symbol is used to represent processing.

What is a rectangle?

100

A specific numeric value, often declared at the beginning of the program.

What is a numeric constant?

100

The assignment operator.

What is the equal sign (=)?

100

A variation of the selection structure.

What is the case structure?

100

What type of structure is the following pseudocode block?

get firstNumber

get secondNumber

add firstNumber and secondNumber

print result

What is sequence structure?

100

An expression that represents only one of two states, usually expressed as true or false.

What is a boolean expression?

100

A decision in which two conditions must be true for an action to take place.

What is an AND decision?

200

An error which results when you use a syntactically correct statement but use the wrong one for the current context.

What is a logic error?

200

Represents a decision within a flowchart. 

What is a diamond shape?

200

Fractional numeric variables that contain a decimal point.

What is a floating-point variable?

200

This is similar to a variable, except it can be assigned a value only once.

What is a named constant?

200

Code logic that is unstructured and does not follow the rules of structured logic?

What is spaghetti code?

200

Used as an end-structure statement to show where selection structure ends.

What is an endif?
200

A clause which is part of the decision that holds the action or actions that execute when the tested condition in the decision is true.

What is the "if-then" clause?
200

A unary operator decision which finds the inverse of an expression.

What is the NOT decision?

300

The process of walking through a program’s logic on paper before you actually write the program.

What is desk-checking?

300

A repeating flow of logic with no end.

What is an infinite loop?
300

HourlyWage is a variable name with this specific format of casing.

What is Pascal Casing?

300

The process of breaking down a large program into smaller modules.

What is modularization?

300

The action or actions that occur within a loop

What is the loop body?

300

What type of structure is the following pseudocode block?

if firstNumber is bigger than secondNumber then
   print firstNumber
else
   print secondNumber

endif

What is decision (selection) structure?

300

Requires exactly one operand.

What is a Unary operator?

300

In many programming languages, the symbol for || represents which decision?

What is the OR decision?

400

Involves writing down all the steps you will use in a program.

What is pseudocode?

400

The standard terminal symbol for a flowchart.

What is a lozenge?

400

These tasks include any steps you must perform at the beginning of a program to get ready for the rest of the program.

What are Housekeeping?

400

The process of paying attention to important properties while ignoring nonessential details.

What is Abstraction?

400

Attaching structures end-to-end.

What is stacking?

400

Fill in the blank in the following pseudocode:

if someCondition is true then

   do oneProcess

____

   do theOtherProcess

endif

What is else?

400

The alternative name for a series of nested if statements.

What is a cascading if statement?

400

The first question you should ask in an AND decision is less likely to be what?

What is true?

500

Computer programmers often refer to memory addresses using this notation.

What is hexadecimal?

500

The term many programming languages use to refer to the marker that is used to automatically recognize the end of data in a file.

What is eof?

500

The term with which Programmers refer to programs that contain meaningful names

What is self-documenting?

500

Depending on the programming language being used, modules are also known as...

What are subroutines, procedures, and/or methods?

500

One way to straighten out an unstructured flowchart segment.

What is to use to spaghetti bowl method (picture it as a bowl of spaghetti you must untangle)?

500

What type of structure is the following pseudocode block?

while number is positive

   add to sum

   get number

endwhile

What is a loop structure?

500

A selection in which an action is associated with each of two possible outcomes?

What is a dual-alternative selection?

500

In many programming languages the && condition operator represents this.

What is the AND operator?

M
e
n
u