Week 10 - Loops & String Formatters
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Brandon Dolce
Used 20+ times
FREE Resource
82 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
A while loop can be used in which of the following situations?
Repeat a set of statements till a condition remains True.
Repeat a set of statements a finite or an infinite number of times.
Iterate through a string, list, and tuple.
All of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
What symbol is used in python to assign values to a variable?
equals =
plus +
minus -
asterisk *
3.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
Kind of loop used when you know the number of times you want it to repeat
list
for
while
if
4.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
Loop that runs till the condition is true
list
while
for
if
5.
MULTIPLE SELECT QUESTION
45 sec • 10 pts
In Python, the two types of loops are _____ and _______
while
for
list
if
6.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
Choose the correct output of the following code.
for i in range(10,15):
print(i)
10
11
12
13
14
15
10
11
12
13
14
11
12
13
14
15
11
12
13
14
7.
MULTIPLE CHOICE QUESTION
45 sec • 10 pts
The program above
prints all the odd numbers between 1 and 20
prints all even numbers between 1 and 20
print all the odd numbers between 1 and 21
prints all the even numbers between 1 and 21
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
84 questions
Technology and Entertainment Quiz
Quiz
•
11th Grade
87 questions
M4 R5.1 Chapter 4 85+ MCQ
Quiz
•
12th Grade
78 questions
ÔN TẬP KIỂM TRA HỌC KỲ I - TIN HỌC 10
Quiz
•
10th Grade
82 questions
my personal quiz
Quiz
•
9th - 12th Grade
79 questions
Bài tập giữa kì 2
Quiz
•
10th Grade
80 questions
190 sem1 final exam
Quiz
•
12th Grade
85 questions
IGCSE CS Chapter 1 - 3 Theory
Quiz
•
9th - 12th Grade
79 questions
untitled
Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
