Exam 7: Control Statements Continued

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

Use a truth table if you are unsure about the meaning of an if statement.

Free
(True/False)
4.9/5
(36)
Correct Answer:
Verified

True

Most errors involving selection statements and loops are syntax errors.

Free
(True/False)
4.8/5
(39)
Correct Answer:
Verified

False

All the sets of test data that exercise a program in the same manner belong to the same ____ class.

Free
(Multiple Choice)
4.8/5
(37)
Correct Answer:
Verified

D

FIGURE 7- 1 FIGURE 7- 1   -Figure 7-1 above is a(n) ____. -Figure 7-1 above is a(n) ____.

(Multiple Choice)
4.9/5
(31)

An assert statement allows the programmer to evaluate a Boolean expression and halt the program with an error message if the expression's value is false. ____________________

(True/False)
4.7/5
(41)

Testing under ____________________ conditions uses data at the limits of validity.

(Short Answer)
4.9/5
(25)

The process of short-circuit evaluation ____.

(Multiple Choice)
4.8/5
(35)

A Boolean variable can be either true or false. ____________________

(True/False)
4.8/5
(39)

Identify the letter of the choice that best matches the phrase or definition. a.Javish b.Boundary conditions c.Data validation rules d.Output assertions e.Arithmetic overflow -A statement in a combination of code, words, and syntax.

(Essay)
4.8/5
(35)

When a timer is instantiated, it is given an interval in milliseconds and a(n) ____ object.

(Multiple Choice)
4.8/5
(39)

Identify the letter of the choice that best matches the phrase or definition. a.Javish b.Boundary conditions c.Data validation rules d.Output assertions e.Arithmetic overflow -State what should be true when a loop is exited.

(Essay)
4.8/5
(37)

A(n) ____ loop is placed within another loop.

(Multiple Choice)
4.8/5
(36)

FIGURE 7-2 FIGURE 7-2   -Figure 7-2 shows the output of a program that includes a(n) ____. -Figure 7-2 shows the output of a program that includes a(n) ____.

(Multiple Choice)
5.0/5
(30)

Use the ____ operator to wrap the direction of a moving object if it is greater than 360 degrees.

(Multiple Choice)
4.8/5
(44)

The OR operator has the same precedence as + or -.

(True/False)
4.8/5
(36)

A ____________________ program tolerates errors in user inputs and recovers gracefully.

(Short Answer)
4.9/5
(35)

____________________ assurance is the process of making sure that a software product is developed to the highest standards possible.

(Short Answer)
4.9/5
(30)

A string is an immutable object; once it is created, its length cannot change and its characters cannot be modified. ____________________

(True/False)
4.8/5
(40)

A(n) ____ if statement is another word for an extended if statement.

(Multiple Choice)
4.9/5
(35)

A loop ____ is an assertion whose truth changes between the first and final execution of the loop.

(Multiple Choice)
4.7/5
(37)
Showing 1 - 20 of 47
close modal

Filters

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