For vs While
Quiz
•
Computers
•
8th - 10th Grade
•
Practice Problem
•
Medium
Josh Mitchell
Used 25+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 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
To make sure that the user can only enter A, B or C for the answer to a question, which loop should be used?
a FOR loop
a WHILE loop
4.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
In programming, what is iteration?
5.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
The condition for a while loop to continue could include which of the following?
6.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Which of the following symbols is used in Python to mean "Equal to"?
7.
MULTIPLE CHOICE QUESTION
1 min • 12 pts
Which of the following symbols is used in Python to mean "Not equal to"?
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
15 questions
ใบงานที่ 4 ทําความรู้จักกับภาษาไพทอน
Quiz
•
8th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
17 questions
Algorytmy 8
Quiz
•
1st Grade - University
20 questions
ข้อสอบปลายภาค วิชางานนำเสนอด้วยคอมพิวเตอร์
Quiz
•
8th Grade
22 questions
одномерные массивы
Quiz
•
10th Grade
20 questions
Design your website
Quiz
•
7th - 12th Grade
15 questions
Internet Basics
Quiz
•
5th Grade - University
16 questions
Apresentações Google - Final
Quiz
•
1st - 10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
18 questions
[AP CSP] JavaScript Programming Lesson 2025-2026
Lesson
•
9th - 12th Grade
57 questions
[AP CSP] Unit 5 Review: Internet & Cybersecurity
Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
15 questions
Google Sheets
Quiz
•
7th - 8th Grade
