Loops
Quiz
•
Computers
•
10th Grade
•
Medium
Andrei Chete
Used 11+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To repeat a fixed number of times use a
while loop
if loop
for loop
indentation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To repeat until a particular condition is true use
while loop
if loop
for loop
indentation
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The character that must be at the end of the line for if, while, for etc.
;
+
\;
:
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times does the following program print the word ‘computer’:
word= "computer"
for num in range(1,6):
print(word)
1
5
6
0
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In programming, what is iteration?
The repetition of steps within a program
A decision point in a program
The order in which instructions are carried out
Testing a program to make sure it works
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why is iteration important?
It determines the order in which instructions are carried out
It allows multiple paths through a program
It allows code to be simplified by removing duplicated steps
It ensures the code works correctly
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which two statements are used to implement iteration?
IF and WHILE
FOR and WHILE
ELSE and WHILE
IF and ELSE
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
python
Quiz
•
10th Grade
10 questions
GCSE Computing: 2.2 Data Structures #1
Quiz
•
10th - 11th Grade
15 questions
Ôn tập KTGK. Bài 17. Biến và lệnh gán
Quiz
•
10th Grade
10 questions
Паскаль
Quiz
•
10th Grade
11 questions
Creative iMedia: Strengths, Weaknesses and Improvements
Quiz
•
10th Grade
10 questions
Ke-Al Azhar 8 an
Quiz
•
7th Grade - University
10 questions
Cutting - Edge Technology
Quiz
•
7th - 10th Grade
10 questions
Actuators
Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
