
Python Quiz
Authored by Rayyan Uddin
English
University
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
13 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
print(type([]) is list)
False
True
none
Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
print("Hello World"[::-1])
Hello World
None
Error
dlroW olleH
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid variable name declaration?
my_var = “John”
m = 10
9var = “John”
_n = 20
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
True
False
Error
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
print(bool(0))
True
False
Error
None
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
print("abc" == "abc")
True
False
Error
None
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following code?
print((1, 2) + (3, 4))
(1, 2, 3, 4)
[1, 2, 3, 4]
Error
none
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
12 questions
IELTS Speaking Quiz
Quiz
•
9th Grade - University
18 questions
Meeting New People Quiz
Quiz
•
10th Grade - University
12 questions
Elem. 2 P.86 - Reading
Quiz
•
University
10 questions
Positive Nappy Change Interactions
Quiz
•
3rd Grade - Professio...
11 questions
AVTC 5 - Lesson 3 - Line Graph
Quiz
•
University
10 questions
TOEFL ITP Structure part 3
Quiz
•
KG - Professional Dev...
15 questions
Tense Shifts and Parallelism
Quiz
•
12th Grade - Professi...
15 questions
ALH L8 Determiners & Quantifiers
Quiz
•
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