Exam 4: Introduction to Control Statements

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

Which of the following is true about using a text file for input?

(Multiple Choice)
4.8/5
(37)

In a for statement, the counter is updated at the top of the loop.

(True/False)
4.8/5
(34)

If a method's signature is labeled ____, the message is sent to the method's class instead of to an object.

(Multiple Choice)
4.8/5
(33)

Identify the letter of the choice that best matches the phrase or definition. a.Random b.Update c.Abs d.Exception e.Break -Exits a loop before the condition is false.

(Essay)
4.8/5
(40)

The ____________________ operator decreases a variable's value by one.

(Short Answer)
4.7/5
(41)

____ must always occur in pairs.

(Multiple Choice)
4.8/5
(39)

To get out of a loop prematurely, use a(n) ____ statement.

(Multiple Choice)
4.8/5
(40)
Showing 41 - 47 of 47
close modal

Filters

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