When a single variable may need to be tested for five different values, the most readable solution would be a(n) ____.

A. one-way if statement
B. two-way if statement
C. switch statement
D. nested if....else statement


Answer: C

Computer Science & Information Technology

You might also like to view...

Because the electronic signals controlling a keyboard, a display, a printer, and a disk drive are different, each peripheral device must have its own __________.

a. channel b. port c. bus d. interface

Computer Science & Information Technology

What is the purpose of 'Total' in the MySQL statement CREATE PROCEDURE Total_Orders (OUT Total FLOAT);?

a. parameter b. function c. stored procedure d. trigger

Computer Science & Information Technology

Upward communication requires the use of address parameters.

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

Computer Science & Information Technology

List at least three problem-solving steps for hardware devices:

What will be an ideal response?

Computer Science & Information Technology