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
16 questions
Hour_of_Code
Quiz
•
5th - 12th Grade
17 questions
Networks Lesson 2 - Recap and Review
Quiz
•
6th - 8th Grade
18 questions
Publisher Basics
Quiz
•
7th - 10th Grade
15 questions
TIN 10-1F-LÀM QUEN VỚI NGÔN NGỮ LẬP TRÌNH BẬC CAO
Quiz
•
10th Grade
20 questions
Perangkat Lunak dan Struktur Pemrograman (UH 2)
Quiz
•
10th Grade
20 questions
Browser dan CMS
Quiz
•
7th - 9th Grade
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
20 questions
แบบทดสอบปลายภาคคอมพิวเตอร์
Quiz
•
6th - 8th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
