Filters
Question type

Study Flashcards

Programmers employ the acronym ____ to mean that if your input is incorrect,your output is worthless.


A) IBOW
B) GIGO
C) IIOW
D) GIGS

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Forgetting to initialize and alter the loop control variable are common mistakes that programmers sometimes make.

A) True
B) False

Correct Answer

verifed

verified

In some cases,a loop control variable does not have to be initialized.

A) True
B) False

Correct Answer

verifed

verified

In a for statement,a loop control variable is initialized,tested,and ____________________.

Correct Answer

verifed

verified

altered
ch...

View Answer

How might user data be validated?

Correct Answer

verifed

verified

When you ask a user to enter data into a...

View Answer

A mistake programmers often make with loops is that they ____.


A) initialize the loop control variable prior to entering the loop body
B) increment the loop control variable inside of the loop body
C) include statements inside the loop that belong outside the loop
D) enclose the inner loop entirely within the outer loop in a nested loop

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

A(n) ____ loop executes a predetermined number of times.


A) terminal
B) definite
C) indefinite
D) infinite

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

Loops are frequently used to ____;that is,to make sure it is meaningful and useful.


A) validate data
B) restructure data
C) simulate data
D) corroborate data

E) All of the above
F) C) and D)

Correct Answer

verifed

verified

The loop control variable is initialized after entering the loop.

A) True
B) False

Correct Answer

verifed

verified

A loop within another loop is known as a(n) ____ loop.


A) indefinite
B) infinite
C) nested
D) hidden

E) B) and C)
F) B) and D)

Correct Answer

verifed

verified

The ____ loop is particularly useful when processing arrays.


A) for
B) while
C) infinite
D) nested

E) A) and C)
F) B) and D)

Correct Answer

verifed

verified

A(n) ____ is very similar to a counter that you use to count loop iterations,except that you usually add a value other than one to this type of variable.


A) transaction
B) total
C) validator
D) accumulator

E) B) and D)
F) A) and C)

Correct Answer

verifed

verified

Many loop control variable values are altered by ____,or adding to them.


A) incrementing
B) decrementing
C) accumulating
D) deprecating

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

The safest action is to assign the value 1 to accumulators before using them.

A) True
B) False

Correct Answer

verifed

verified

Match each term with a statement below. -Loops within loops


A) indefinite
B) loop control variable
C) nested loops
D) counter
E) increment
F) decrement
G) accumulator
H) loop
I) step value
J) forcing

K) D) and E)
L) B) and E)

Correct Answer

verifed

verified

____ a data item means you override incorrect data by setting the variable to a specific value.


A) Flexing
B) Tracing
C) Forcing
D) Blanking

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Match each term with a statement below. -A variable that you use to gather values


A) indefinite
B) loop control variable
C) nested loops
D) counter
E) increment
F) decrement
G) accumulator
H) loop
I) step value
J) forcing

K) A) and G)
L) E) and G)

Correct Answer

verifed

verified

Usually,when you create nested loops,each loop has its own ____.


A) sentinel value
B) goto statement
C) entrance condition
D) loop control variable

E) A) and D)
F) All of the above

Correct Answer

verifed

verified

Match each term with a statement below. -A loop that may execute a different number of times each time the program executes


A) indefinite
B) loop control variable
C) nested loops
D) counter
E) increment
F) decrement
G) accumulator
H) loop
I) step value
J) forcing

K) E) and F)
L) C) and H)

Correct Answer

verifed

verified

The ____ loop provides three actions in one compact statement.


A) for
B) while
C) do until
D) repeat

E) None of the above
F) All of the above

Correct Answer

verifed

verified

Showing 21 - 40 of 59

Related Exams

Show Answer