Python Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Servus Snap
Used 10+ times
FREE Resource
Enhance your content in a minute
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is incorrect
a=!b
a!=b
a=[1,2,3]
B=(9,6,5)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Output? :
a = "You're Pretty"
Print(a)
You're Pretty
"You're Pretty"
a
NameError: name 'Print' is not defined
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the below program:
A="Hyperboloid"
print(len("A")
11
911
12
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does my_list.append(5) do?
Removes the last element from the list.
Creates a new list with only the number 5.
Appends the number 5 to the end of the list.
Adds 5 to the beginning of the list.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Used to define a function:
Def
def
define
Define
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output for the below program:
for i in range(10<11):
print(i)
10
11
0
Error: logical operators cannot be used inside range()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
[1,2,3,4,5,6,7,8,9,10]
1,2,3,4,5,6,7,8,9,10
[0,1,2,3,4,5,6,7,8,9]
0,1,2,3,4,5,6,7,8,9
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
Already have an account?
Similar Resources on Wayground
40 questions
Ujian Tengah Semester Informatika
Quiz
•
10th Grade - University
50 questions
Fundamental of OS - Revision 2
Quiz
•
University
45 questions
Quiz-PTS2-TIK Gr4
Quiz
•
4th Grade - University
45 questions
أسئلة تقنية المعلومات
Quiz
•
9th Grade - University
40 questions
MS office 2016
Quiz
•
1st Grade - Professio...
40 questions
Computer Network
Quiz
•
12th Grade - University
45 questions
Pagtatapos Isa
Quiz
•
University
42 questions
Quiz Informatika ASAJ IX
Quiz
•
9th Grade - University
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
Slopes and Slope-Intercept Form
Quiz
•
8th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
20 questions
Winter/Holiday Trivia
Quiz
•
KG - University
10 questions
WINTER WIN Time - ELA - 12/9/2025
Quiz
•
KG - University
7 questions
Human Impact on Resources
Interactive video
•
4th Grade - University
