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