What is the difference between using a break in a for loop and using a continue in a for loop?

What will be an ideal response?


A break statement will take you out of the loop completely. A continue statement will force the next iteration of the loop to be executed.

Computer Science & Information Technology

You might also like to view...

A thin client

a. must operate on a high-performance device b. performs most of the application’s tasks c. relies on a server to perform most of the functions needed d. none of the above

Computer Science & Information Technology

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

1. In contrast to SCTP, TCP allows delivering out-of-order packets to applications, which is more suitable for delay-sensitive applications 2. The signal-to-noise ratio is a good indicator of quality of service, especially over wireless telecom networks. 3. A high packet loss rate indicates that users sustain undoubtedly a very poor quality. 4. An increasing delay hitter is a good indicator of poor quality.

Computer Science & Information Technology

Which of the following are common objects and functions used by a language that developers can access and reuse without recreating them?

A. standard libraries B. language depositories C. secure code lockers D. open source frameworks

Computer Science & Information Technology

An ATM that limits what kinds of transactions a user can perform is an example of which type of access control?

A. content-dependent B. constrained user interface C. temporal isolation D. nondiscretionary

Computer Science & Information Technology