Font size
WorksheetsPLD_Midterm Quiz
Total questions: 25
Worksheet time: 30mins
Instructions that the computer follows one by one from top to bottom until the program reaches the end are ________________.
control structure
sequence structure
selection structure
iteration structure
_____________________ allows the computer to make a choice between alternative conditions.
control structure
sequence structure
decision structure
iteration structure
A is a Boolean variable that signals when some condition exists in the program.
flag
signal
sentinel
siren
Set grandTotal = Total + 2
If the Total variable has the value 5, what is the value of grandTotal after the expression is evaluated?
A group of statements that exist within a program for the purpose of performing a
the specific task is a(n) ______________.
block
parameter
module
expression
You ______________ the module to execute it.
call
export
import
define
A design technique that programmers use to break down an algorithm into modules is known as ______________ .
hierarchical subtasking
code refactoring
code simplification
top-down design
Internal documentation refers to books and manuals that document a program, and are intended for use within a company’s programming department.
True
False
Hand tracing is the process of translating a pseudocode program into machine language by hand.
True
False
Modules make it easier for programmers to work in teams.
True
False
Most languages do not allow you to write modules that accept multiple arguments.
True
False
A compound Boolean expression created with the AND operator is true only when both subexpressions are true.
True
False
AND, OR, and NOT are (a) operators.
A (a) expression has a value of either true or false.
A (a) is a piece of data that is sent into a module.
A (a) variable is one that has been declared but has not been initialized or assigned a value.
Short notes placed in different parts of a program, explaining how those parts of the program work, are called (a) .
