
Python Quiz Ver- 1.3
Authored by Rahul Mahato
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
a = "python"
b = "pythoN"
print(a > b)
False
True
Error
None of these
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
a=100
b=5
print(a//b*a/b)
400.0
300.0
200.0
100.0
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = [1,2,3]
y=x
y[1] = 4
print(x)
[1,2,3]
[1,4,3]
[1,4]
[4,2,3]
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x, y = 67, 80
x, y, z = 1, 2, 3
print (x,y,z)
1 2 3
67 80 3
Error
67 2 80
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = 0
while x < 20:
x = x + 3
print (x)
18
19
20
21
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
set1 = { 1, 2, 3, int('4') }
set2 = {3, str(4) }
print( set1.union(set2) )
{1, 2, 3, 4, '4' }
{1, 2, 3, 4}
{1, 2, 3, '4' }
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
sum = lambda x, y: x+y
print(sum(3, 4))
7
7.0
7.00
Error
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?