Most languages allow a specialized selection structure called the ____ structure when there are several distinct possible values for a single variable, and each value requires a different subsequent action.

A. cascading
B. case
C. nested if

D. short-circuit


Answer: B

Computer Science & Information Technology

You might also like to view...

What umask command should be executed to set the permissions bit mask to 037? With this mask, what default access privileges are associated with any new file that you create on the system? Why? Where would you put this command so that every time you log onto the system this mask is effective?

What will be an ideal response?

Computer Science & Information Technology

Discuss whether the following operations are idempotent:

i) Pressing a lift (elevator) request button; ii) Writing data to a file; iii) Appending data to a file. Is it a necessary condition for idempotence that the operation should not be associated with any state?

Computer Science & Information Technology

The first instant messaging program was ________

A) Yahoo B) ICQ C) AOL D) MSN

Computer Science & Information Technology

If users of a host state that they have no network connectivity at all or limited connectivity and you use the ping command and are unable to reach the default gateway or any host on the computer's local network segment, check the __________.

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

Computer Science & Information Technology