Exam 3: Program Correctness and Efficiency

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

In the context of testing, a(n) __________ program declares any necessary object instances and variables, assigns values to any of the function's inputs (as specified in the function's preconditions), calls the function, and displays the values of any outputs returned by the function.

(Short Answer)
4.8/5
(34)

A(n) __________ error occurs when the programmer/analyst has made a mistake in the design of a class or a class function or has implemented an algorithm incorrectly.

(Short Answer)
4.7/5
(47)

Incorrect loop control parameters can cause array-index-out-of-bounds errors.

(True/False)
4.8/5
(36)

__________ testing is system testing designed to show that a program meets its functional requirements.

(Multiple Choice)
4.9/5
(41)

If the value of -5 is passed to the function below, control will pass to the __________. If the value of -5 is passed to the function below, control will pass to the __________.

(Multiple Choice)
4.9/5
(34)
Showing 21 - 25 of 25
close modal

Filters

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