A switch statement must have
a) a default case
b) more than one non-default case
c) a break statement
d) none of the above
e) all of the above
d) none of the above
You might also like to view...
Answer the following statements true (T) or false (F)
1. In a for statement, you may only increment or decrement the loop counter by one. 2. A counting loop with a control variable of type double will not always execute the same number of times on different computers. 3. A for statement cannot be used to implement a sentinel-controlled loop.
A(n) __________ lock is useful for a situation in which__________
a) spin lock; the system load is high b) read/write lock; the protected resource is often accessed without being altered c) sleep/wakeup lock; system load is light. d) adaptive lock; system load is static.
Which of the following statements draws an arc that sweeps from the top of an oval to the leftmost edge?
a. g.drawArc(200, 100, 100, 50, 90, 90); b. g.drawArc(100, 200, 50, 100, 90, 180); c. g.drawArc(100, 200, 50, 100, 180, 90); d. g.drawArc(200, 100, 100, 50, 180, 90);
Which of the following is a term that describes a standard for exchanging documents between
computers? A) ATM B) EDI C) POD D) TLS