
Python Quiz 2
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
ENDURO SRM
Used 4+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of -
print(type("True"))
str
int
bool
Error
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be output of -
print(2=="2")
True
False
0
2
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate the expression for x = 2:
(x >= 2 and x % 2 == 1)
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Evaluate the expression for x = 2:
not(x != 2)
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of -
x=1
if (x>2):
print(x)
2
1
No Output
Error
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Identify the correct order:
if
else
elif
elif
if
else
if
elif
else
else
elif
if
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code if x = 3:
if (x>0):
print("A")
elif (x>2):
print("B")
else:
print("C")
A
B
C
A
B
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
10 questions
Teste python- Unesp-Jaboticabal
Quiz
•
University
11 questions
What is a computer
Quiz
•
KG - University
12 questions
PSSI Chp 1 dan 2
Quiz
•
University
12 questions
ASAS SAINS KOMPUTER : TINGKATAN 3
Quiz
•
4th Grade - University
10 questions
Server Administration- Quiz 1
Quiz
•
12th Grade - University
13 questions
Computer Science: CPU performance
Quiz
•
University
8 questions
Cha-ching 2
Quiz
•
1st Grade - University
10 questions
Kiểm tra học kỳ 1 lớp 2
Quiz
•
2nd 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
