Python Quiz

Quiz
•
English
•
University
•
Medium
Rayyan Uddin
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
US Address Writing Test

Quiz
•
10th Grade - University
12 questions
Empower B1+ Unit 2 Grammar & Vocab Revision

Quiz
•
University
11 questions
Execl Quiz

Quiz
•
7th Grade - University
15 questions
Technology Terms

Quiz
•
11th Grade - University
15 questions
Automation using Pneumatic systems

Quiz
•
University
11 questions
Referencing - Review

Quiz
•
University
13 questions
Loops and operators java

Quiz
•
University
15 questions
Misinformation

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade