Exam 3 Programming logic and design,
Comprehensive Verified Answers
A variable's unknown value is commonly called ____. - ANSWER-garbage
Usually, when you create nested loops, each loop has its own _____. - ANSWER-
loop control variable
Modularization makes it harder for multiple programmers to work on a problem. -
ANSWER-False
Computer programmers often refer to memory addresses using ____ notation. -
ANSWER-hexadecimal
Programmers can use either procedural programming or object-oriented
programming to develop programs. - ANSWER-True
An array can be used to replace___. - ANSWER-nested decisions
A loop within another loop is known as a(n)____loop. - ANSWER-nested
___is where a variable's data type or other information is stored as part of the name.
- ANSWER-Hungarian notation
An ____is most often represented by a three-sided box that's connected to the step it
references by a dashed line. - ANSWER-annotation symbol
When you write programs, you work with data in three different forms: ____. -
ANSWER-variables; literals, or unnamed constants; and named constants
In every programming language, when you access data stored in an array, it is
important ____ containing a value that accesses memory occupied by the array. -
ANSWER-subscript
After a programmer plans the logic of a program, the next step is____. - ANSWER-
coding the program
A(n) ____is any numeric variable you use to count the number of times an event has
occurred. - ANSWER-counter
Array subscripts are always a sequence of___. - ANSWER-integers
Besides the popular, comprehensive programming languages such as Java and C+
+, many programmers use scripting languages such as Python, Lua, Perl, and PHP.
- ANSWER-True
, Programs that use ____code logic are unstructured programs that do not follow the
rules of structured logic. - ANSWER-Spaghetti
Loops are frequently used to ____that is, to make sure it is meaningful and useful. -
ANSWER-validate data
In a ___ the loop body executes at least one time because the loon control variable
is not tested until after une iteration . - ANSWER-Posttest loop
A short-circuit evaluation is where each part of an expression is evaluated only as far
as necessary to determine whether the entire expression is true or false. - ANSWER-
true
When the first letter of a variable name is uppercase, as in HourlyWage, the format
is known as _____ casing. - ANSWER-Pascal casing
Any decision can be made using combinations of just two types of comparisons:
equal and not equal. - ANSWER-False
With a(n)____ you perform an action or task, and then you perform the next action,
in order. - ANSWER-sequence structure
When you write a program that stores a value in a variable, you are using _____
storage. - ANSWER-temporary
A(n) ____is a location on your computer screen where you type text entries to
communicate with the computer's operating system. - ANSWER-Command line
A(n)___ is similar to a variable, except it can be assigned a value only once. -
ANSWER-named constant
Parallel arrays are most useful when value pairs have a(n) ____ relationship. -
ANSWER-indirect
As a general rule, an eof question should always come immediately after an input
statement because the end-of-file condition will be detected at input. - ANSWER-
True
if-else examples can also be called ____ because they contain the action taken
when the tested condition is true and the action taken when it is false. - ANSWER-
Dual-Alternative Selection
A structured program includes only combinations of the three basic structures: _ -
ANSWER-sequence, selection, and loop
A ___is a file in which records are stored one after another in some order. -
ANSWER-sequential
Declaring a starting value for a variable is known as _ the variable. - ANSWER-
initializing
Comprehensive Verified Answers
A variable's unknown value is commonly called ____. - ANSWER-garbage
Usually, when you create nested loops, each loop has its own _____. - ANSWER-
loop control variable
Modularization makes it harder for multiple programmers to work on a problem. -
ANSWER-False
Computer programmers often refer to memory addresses using ____ notation. -
ANSWER-hexadecimal
Programmers can use either procedural programming or object-oriented
programming to develop programs. - ANSWER-True
An array can be used to replace___. - ANSWER-nested decisions
A loop within another loop is known as a(n)____loop. - ANSWER-nested
___is where a variable's data type or other information is stored as part of the name.
- ANSWER-Hungarian notation
An ____is most often represented by a three-sided box that's connected to the step it
references by a dashed line. - ANSWER-annotation symbol
When you write programs, you work with data in three different forms: ____. -
ANSWER-variables; literals, or unnamed constants; and named constants
In every programming language, when you access data stored in an array, it is
important ____ containing a value that accesses memory occupied by the array. -
ANSWER-subscript
After a programmer plans the logic of a program, the next step is____. - ANSWER-
coding the program
A(n) ____is any numeric variable you use to count the number of times an event has
occurred. - ANSWER-counter
Array subscripts are always a sequence of___. - ANSWER-integers
Besides the popular, comprehensive programming languages such as Java and C+
+, many programmers use scripting languages such as Python, Lua, Perl, and PHP.
- ANSWER-True
, Programs that use ____code logic are unstructured programs that do not follow the
rules of structured logic. - ANSWER-Spaghetti
Loops are frequently used to ____that is, to make sure it is meaningful and useful. -
ANSWER-validate data
In a ___ the loop body executes at least one time because the loon control variable
is not tested until after une iteration . - ANSWER-Posttest loop
A short-circuit evaluation is where each part of an expression is evaluated only as far
as necessary to determine whether the entire expression is true or false. - ANSWER-
true
When the first letter of a variable name is uppercase, as in HourlyWage, the format
is known as _____ casing. - ANSWER-Pascal casing
Any decision can be made using combinations of just two types of comparisons:
equal and not equal. - ANSWER-False
With a(n)____ you perform an action or task, and then you perform the next action,
in order. - ANSWER-sequence structure
When you write a program that stores a value in a variable, you are using _____
storage. - ANSWER-temporary
A(n) ____is a location on your computer screen where you type text entries to
communicate with the computer's operating system. - ANSWER-Command line
A(n)___ is similar to a variable, except it can be assigned a value only once. -
ANSWER-named constant
Parallel arrays are most useful when value pairs have a(n) ____ relationship. -
ANSWER-indirect
As a general rule, an eof question should always come immediately after an input
statement because the end-of-file condition will be detected at input. - ANSWER-
True
if-else examples can also be called ____ because they contain the action taken
when the tested condition is true and the action taken when it is false. - ANSWER-
Dual-Alternative Selection
A structured program includes only combinations of the three basic structures: _ -
ANSWER-sequence, selection, and loop
A ___is a file in which records are stored one after another in some order. -
ANSWER-sequential
Declaring a starting value for a variable is known as _ the variable. - ANSWER-
initializing