Where is it legal to put a continue statement? What does the continue statement do there?

a. A continue statement causes an unnested loop to restart.
b. A continue statement causes a loop to halt.
c. A continue statement in a loop nested in another loop causes the entire nested loop to restart.
d. A continue statement in switch statement transfers control to the top of the switch.
e. A continue statement in a nested loop causes that loop to restart, there is no effect on other loops.


a) e) are correct.

Computer Science & Information Technology

You might also like to view...

One way to protect your computer system from security threats is to keep your operating system and software up to date

Indicate whether the statement is true or false

Computer Science & Information Technology

A customer has several mobile device users who have a habit of misplacing their devices during the workday.   Which of the following security methods will most benefit these users?

A. OS updates B. Firewalls C. Trusted sources D. Locator applications

Computer Science & Information Technology

In the figure above, number ____________________ points to the text field ID.

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

Computer Science & Information Technology

Why should you be concerned about computer security?

What will be an ideal response?

Computer Science & Information Technology