Explore

Quiz: Iteration - Count-Controlled Loops
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 11 steps including 9 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (11)
Building on what you've learned about variables, inputs, outputs, and selection, let's test your knowledge of count-controlled loops!
What is a count-controlled loop used for?
Start the lesson to answer this multiple choice question
Which of the following are examples of count-controlled loops? (Select all that apply)
Start the lesson to answer this multi-select question
A count-controlled loop uses a variable, such as {{blank0}}, to track how many times it has run.
Start the lesson to answer this fill in the blank question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this math equation question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this code completion question
Match the items on the left with their correct pairs on the right
What value will be printed last in the following loop?\nfor i = 1 to 4\n print(i)\nnext i
Start the lesson to answer this multiple choice question
Which of the following statements about count-controlled loops are correct? (Select all that apply)
Start the lesson to answer this multi-select question
In a count-controlled loop, the {{blank0}} determines how many times the loop will run.
Start the lesson to answer this fill in the blank question

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Explore More Topics