Selection structures that contain instructions on both the true and false paths are referred to as which of the following?

A. single-alternative
B. dual-alternative
C. two path
D. none of the above


Answer: B

Computer Science & Information Technology

You might also like to view...

Problems using switch logic to deal with many objects of different types do not include:

a. Forgetting to include an object in one of the cases. b. Having to update the switch statement whenever a new type of object is added. c. Having to track down every switch statement to do an update of object types. d. Not being able to implement separate functions on different objects.

Computer Science & Information Technology

Which of the following will not evaluate to true?

a) false || false b) true || true c) false || true d) true || false

Computer Science & Information Technology

For the programmer, ____________________ programs require considerations other than the typical procedural logic.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

1. Returning an error condition from a function means that the condition must be the same data type as a valid returned value. 2. In exception handling, an exception is thrown from within the function after its execution. 3. An advantage of object-oriented program design is that you can use thoroughly tested classes without knowing how the class is constructed. 4. Unlike the built-in data types, a class does not define a valid set of data values. 5. Strings cannot be input from the keyboard and displayed on the screen.

Computer Science & Information Technology