Multiple Choice
Which of the following is an example of an exception?
A) a statement does not contain a semicolon at the end
B) an array subscript in a program goes out of range
C) an algorithm that converts a temperature in Celsius to Fahrenheit displays the wrong results
D) a program expects a positive number but reads -23
Correct Answer:

Verified
Correct Answer:
Verified
Q47: What is a mutator method?
Q48: A set of objects that have the
Q49: Name two important features of fail-safe programming.
Q50: What are the three principles of object-oriented
Q51: Coding is a relatively minor phase in
Q53: If two programs perform the same task,then
Q54: The syntax errors of a program are
Q55: What is meant by the object-oriented approach
Q56: The cost of software includes the consequences
Q57: List the information provided in a method's