Python Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Yaseera Anware
Used 34+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword allows us to load a module in Python?
Import
Load
Include
Library
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code snippet?
print(2**3 + (5 + 6)**(1 + 1))
8
121
129
127
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is a code block indicated in Python?
Brackets
Indentation
Key pair
colon
4.
MULTIPLE CHOICE QUESTION
30 sec • 2 pts
What will be the output of the following code snippet?
Infinite Loop
0 3 6 9 12
0 3 6 9 12 15
0 2 3 ... 15
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following types of loops are not supported in Python?
do while
while
for
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = [1, 2]
print(a * 3)
Error
[1,2]
[1,2,1,2]
[1,2,1,2,1,2]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
All keywords in Python are in _________
Capitalized
lowercase
UPPERCASE
NONE MENTIONED
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
9 questions
Rounding Numbers in Python
Quiz
•
University
15 questions
Robotics Prelim
Quiz
•
University
13 questions
Digital Technology Office 365 - 29May2020
Quiz
•
University - Professi...
10 questions
Fun with Paint and Storage
Quiz
•
1st Grade - University
17 questions
Algorytmy 8
Quiz
•
1st Grade - University
15 questions
Computer and Other Human Inventions
Quiz
•
University
10 questions
YT-Quiz
Quiz
•
University
10 questions
Python with DataScience
Quiz
•
7th 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
