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

1. When the break statement is encountered in a loop, all the statements in the body of the loop that appear after it are ignored, and the loop prepares for the next iteration.
2. When the continue statement is encountered in a loop, all the statements in the body of the loop that appear after it are ignored, and the loop prepares for the next iteration.
3. A file must always be opened before using it and closed when the program is finished using it.
4. In a for loop, the control variable is always incremented.

1. FALSE
2. TRUE
3. TRUE
4. FALSE

Computer Science & Information Technology

You might also like to view...

DSL uses ________ cable

Fill in the blank(s) with correct word

Computer Science & Information Technology

The ________ Filter enables you to select records to display using a dialog box

Fill in the blank(s) with correct word

Computer Science & Information Technology