- Other
- University Rex Toledo
LOGIC PROGRAMMING
M4 - QUIZ 2
Name :
Course :
Score: __________________
Year & Section :
I. Identification
Repetition and ____________________ are alternate names for a loop structure.
A __________________ is the set of actions that occur within a loop.
________________ do follow those rules, and eliminate the problems caused by spaghetti code.
A _______________ can contain any number of tasks, but there is no option to branch off and skip any of the tasks.
The ___________ case or null branch is the branch of a decision in which no action is taken.
A _____________ is a group of statements that executes as a single unit.
The __________________ is an example of a housekeeping task.
A _________________________ expression is one whose value can be only one of two opposing values, usually expressed as true and false or yes and no.
A selection structure or ______________________ structure contains a conditional test, and, depending on the result, takes one of two courses of action before continuing with the next task.
____________________ code is the descriptive name for logically snarled programs.
Each structure in structured programming is a sequence, selection, or _______________.
A ___________________ program might contain more instructions than an unstructured one.
Placing a structure within another structure is called ___________________ structures.
Goto-less programming is a name to describe structured programming because structured programmers do not use a _______ statement.
Attaching structures end to end is called __________________ structures.
A priming input or ________________ is an added statement that gets the first input value in a program.
Programs that use spaghetti code logic are _____________________.
Mathematician _____________ is considered the founder of mathematical logic, and Boolean (true/false) expressions are named for him.
The ________________ loop tests a condition before executing the loop body even once.
All _______ problems can be solved using only three structures sequence, selection, and loop.