Python Quiz
Quiz
•
Computers
•
University - Professional Development
•
Practice Problem
•
Hard
sreenivas pasupuleti
Used 1K+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Is Python a Case Sensitive Language?
Yes
No
May not be
None of the above
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a invalid variable in Python
_a=1
__a=1
_str_=1
None of the above
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is answer of this expression, 22 % 3 is?
7
1
0
5
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Mathematical operations can be performed on a string.
True
False
May not be
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following?
x = ['ab', 'cd']
for i in x:
i.upper()
print(x)
[‘ab’, ‘cd’].
[‘AB’, ‘CD’].
None of the above
[None, None]
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following?
i = 1
while True:
if i%2 == 0:
break
print(i)
i += 2
1
1 2
1 2 3 4 5 6...
1 3 5 7 9 11....
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of the following?
i = 0
while i < 5:
print(i)
i += 1
if i == 3:
break
else:
print(0)
0 1 2 0
0 1 2
error
none of the mentioned
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
20 questions
Pretest TIK
Quiz
•
10th Grade
20 questions
Normas de cableado estructurado
Quiz
•
Professional Development
20 questions
News and computers today revision
Quiz
•
4th Grade
20 questions
DPS Jorhat - Robotics Skill Assessment
Quiz
•
6th - 8th Grade
20 questions
Логические тесты 5-6 классы
Quiz
•
5th - 6th Grade
20 questions
On-tap-chu-de-C
Quiz
•
6th Grade
20 questions
Vấn đề Môi trường 02
Quiz
•
Professional Development
20 questions
Partes de la computadora
Quiz
•
1st Grade
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
