The ____ statement controls program flow by executing a specific set of statements, depending on the value of an expression.

A. if
B. while
C. if...else
D. switch


Answer: D

Computer Science & Information Technology

You might also like to view...

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

1. A container is a class whose objects hold multiple pieces of data. 2. Any construct that allows you to cycle through all the items in a container is an iterator.

Computer Science & Information Technology

Create a use case diagram for the bus system.

What will be an ideal response?

Computer Science & Information Technology

Write a method to draw a text string rotated 90 degrees to the right down the right side of the picture.

What will be an ideal response?

Computer Science & Information Technology

The Unicode of 'a' is 97 . What is the Unicode for 'c'?

a. 96 b. 97 c. 98 d. 99

Computer Science & Information Technology