Exam 5: Looping

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

When are you required to use a for statement, and what are the advantages of for statements?

(Essay)
4.9/5
(27)

Business reports that list only totals, with no individual item details, are called ____.

(Multiple Choice)
4.7/5
(38)

Explain when it would be appropriate to write an indefinite loop.

(Essay)
4.7/5
(46)

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

(True/False)
4.9/5
(44)

The amount by which a for loop control variable changes is often called a ____ value.

(Multiple Choice)
4.8/5
(38)

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

(Multiple Choice)
4.9/5
(41)

What is a step value?

(Short Answer)
4.9/5
(33)

Both the while loop and the for loop are examples of pretest loops.

(True/False)
4.8/5
(36)

Use a counter or a(n) ____ to control a loop's repetitions.

(Multiple Choice)
4.8/5
(42)

____________________ can ensure that a value is the correct data type or that it falls within an acceptable range.

(Short Answer)
4.9/5
(26)

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

(Short Answer)
4.8/5
(32)
Showing 41 - 51 of 51
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)