Python Quiz

Quiz
•
Computers
•
University
•
Hard
Yaseera Anware
Used 31+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Section A Past Year Exam

Quiz
•
University
10 questions
tkinter quiz

Quiz
•
University
15 questions
Code Combat

Quiz
•
University
10 questions
Windows 10 System Management Tools

Quiz
•
9th Grade - University
8 questions
P7 File e Eccezioni

Quiz
•
University
15 questions
File Types and Formats Quiz

Quiz
•
8th Grade - University
12 questions
C++ Faili (1)

Quiz
•
University
15 questions
Python Basics

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade