
Loops in python Python Quiz 3
Authored by Reshma Kamthe
Computers
11th Grade
Used 45+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
24 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The above program prints
Numbers 1 to 10 in reverse order
Numbers 1 to 11 in reverse order
Numbers 1 to 10
Numbers 1 to 11
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The code above prints all numbers between 1 and 30 that are
not divisible by 5
divisible by 5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A while loop equivalent of the for loop above is
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does this program print
2 + 2 = 4
4 + 4 = 8
8 + 8 = 16
16 + 16 = 32
32 + 32 = 64
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 4 = 6
2 + 6 = 8
2 + 8 = 10
2 + 10 = 12
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 2 = 4
2 + 4 = 6
2 + 6 = 8
2 + 8 = 10
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will the output be from the following code?
print("Hello" + 2 + "world")
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of these is the correct code for creating a list of names?
nameList = John, Harry, Jesse, John, Harry, Harry
nameList = ("John", "Harry", "Jesse", "John", "Harry", "Harry")
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList = [John, Harry, Jesse, John, Harry, Harry]
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
20 questions
Python Recap
Quiz
•
7th Grade - University
22 questions
CodeHS AP CSP Unit 3 Review
Quiz
•
11th - 12th Grade
24 questions
iGCSE Computer Science: Networks
Quiz
•
9th - 12th Grade
24 questions
SKT4 : Bab 1 : f) Tatasusunan & Subaturcara
Quiz
•
10th - 12th Grade
21 questions
Unit 4 Review (AP CSP)
Quiz
•
9th - 12th Grade
25 questions
microsoft word
Quiz
•
11th - 12th Grade
20 questions
Dasar Komputer
Quiz
•
10th Grade - University
20 questions
LOOKUP
Quiz
•
9th Grade - University
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