Question Paper
Class / Subject: Class 9 (ICSE) · Computer Applications
Chapter: Chapter 4 — Chapter 4: Control Structures - Iteration
Time Allowed: 32 minutes
Max Marks: 16
1. What does a for loop do? [1]
(A) Repeats a fixed number of times
(B) Repeats forever always
(C) Never repeats
(D) Deletes code
2. When is a for loop useful? [1]
(A) When we know exactly how many repetitions are needed
(B) When repetitions are unknown always
(C) Never useful
(D) Only for single actions
3. What does a while loop do? [1]
(A) Repeats while a condition is true
(B) Repeats a fixed number of times only
(C) Never repeats
(D) Deletes code
4. When is a while loop useful? [1]
(A) When the number of repetitions isn't known in advance
(B) Only for fixed repetitions
(C) Never useful
(D) Only for single actions
5. What is special about a do-while loop? [1]
(A) It always executes at least once
(B) It never executes
(C) It only checks the condition first, always
(D) It behaves identically to for loops
6. Why use iteration structures? [1]
(A) To avoid repeating code manually
(B) To make code longer
(C) To confuse the program
(D) No reason
7. What is an example of a for loop use? [1]
(A) Printing numbers 1 to 10
(B) Checking a single condition once
(C) Deleting a variable
(D) Printing a document
8. Why learn iteration structures? [1]
(A) Essential for efficient, repetitive programs
(B) No reason
(C) It's not useful
(D) Only for tests
9. What does a for loop do? [1]
(A) Repeats a fixed number of times
(B) Repeats forever always
(C) Never repeats
(D) Deletes code
10. When is a for loop useful? [1]
(A) When we know exactly how many repetitions are needed
(B) When repetitions are unknown always
(C) Never useful
(D) Only for single actions
11. What does a while loop do? [1]
(A) Repeats while a condition is true
(B) Repeats a fixed number of times only
(C) Never repeats
(D) Deletes code
12. When is a while loop useful? [1]
(A) When the number of repetitions isn't known in advance
(B) Only for fixed repetitions
(C) Never useful
(D) Only for single actions
13. What is special about a do-while loop? [1]
(A) It always executes at least once
(B) It never executes
(C) It only checks the condition first, always
(D) It behaves identically to for loops
14. Why use iteration structures? [1]
(A) To avoid repeating code manually
(B) To make code longer
(C) To confuse the program
(D) No reason
15. What is an example of a for loop use? [1]
(A) Printing numbers 1 to 10
(B) Checking a single condition once
(C) Deleting a variable
(D) Printing a document
16. Why learn iteration structures? [1]
(A) Essential for efficient, repetitive programs
(B) No reason
(C) It's not useful
(D) Only for tests