KS3 Computing -- Iteration: FOR or WHILE?

Quiz
•
Computers
•
7th - 9th Grade
•
Hard
Jon Bridgeman
Used 35+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leo wants to write a program that will print out any times-table (up to 10 places) at the users request. Should he use:
A FOR loop
A WHILE loop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leah is writing a program that will ask the user to enter 10 numbers, and will then print the total. Should she use:
A FOR loop
A WHILE loop
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Maryam is writing a multi-choice quiz program. She wants to make sure that the user can only enter A, B or C for each question and that any other answer is rejected until an acceptable response is entered. She knows she will need a loop, but which one?
a FOR loop
a WHILE loop
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Aran has written an average program (shown here) Which of the following statements about his program are accurate? (select as many as appropriate)
The program will not work & contains syntax errors
The program is inefficient
The program could be improved with the use of a WHILE loop
The program could be improved with the use of a FOR loop
The program is efficient
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Zoe is writing a program that will join letters together to form a single word. The user can enter as many letters as they want until the user quits by entering a * character. The program contains some errors. Are the errors in lines..
2,3,6,9 ?
3,6,7,8 ?
2,4,6,8 ?
3,6,7,9 ?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A FOR loop is...
A COUNT controlled loop
A CONDITION controlled loop
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A WHILE loop is...
A COUNT controlled loop
A CONDITION controlled loop
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Programming - Basic File Handling Operations

Quiz
•
3rd - 11th Grade
9 questions
Blockly Coding

Quiz
•
8th Grade
11 questions
39. Algorithms - Tracing Algorithms Quiz

Quiz
•
9th - 12th Grade
12 questions
S1 code.org Knowledge Check 2

Quiz
•
7th Grade
13 questions
KS4 Python While Loops and For Loops

Quiz
•
9th - 11th Grade
15 questions
Programming Vocabulary

Quiz
•
6th - 8th Grade
14 questions
LA4.C4: Conditions and Loops

Quiz
•
9th Grade - University
11 questions
Animation

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade