A switch statement should be used

a) as a single-selection statement
b) as a double-selection statement
c) when a variable may assume many different values which must be tested
d) to replace all if and if…else statements


c) when a variable may assume many different values which must be tested

Computer Science & Information Technology

You might also like to view...

What interfaces does the String class implement?

What will be an ideal response?

Computer Science & Information Technology

A table organizes data in ________ and rows

Fill in the blank(s) with correct word

Computer Science & Information Technology

What are the differences between a review summary report and a review issues list?

What will be an ideal response?

Computer Science & Information Technology

A server administrator is configuring access control on a file server for an organization. The Human Resources manager is taking a leave of absence for three months, during which time an interim Human Resources manager will take over the duties of the position. Which of the following types of access control should be configured on the file server?

A. MAC B. CBAC C. DAC D. RBAC

Computer Science & Information Technology