
python
Authored by Anandhi Technology
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following code snippet?
print(type(5 / 2))
print(type(5 // 2))float and int
int and float
float and float
int and int
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code snippet?
count = 0
while(True):
if count % 3 == 0:
print(count, end = " ")
if(count > 15):
break;
count += 10,1,2,3,...15
Infinite loop
0,3,6,9,12,15
0,3,6,9,12
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following Python code snippet?
for i in [1, 2, 3, 4][::-1]:
print (i)1 2 3 4
0 1 2 3
4 3 2 1
0 2 4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following Python program?
z=set('abc')
z.add('san')
z.update(set(['p', 'q']))
z{'abc','p','q','san'}
{'a','b','c','p','q','san'}
{'a','b','c','p','q','s','a','n'}
none
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
x = ['XX', 'YY']
for i in x:
i.lower()
print(x)
x = ['XX', 'YY']
for i in x:
i.lower()
print(x)
['xx','yy']
xx
yy
XX
YY
['XX','YY']
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
>>> "welcometocauvery"[5:]
welcometocauvery
welco
mtocauvery
cauve
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
CCNA TEST 3
Quiz
•
Professional Development
10 questions
Quiz 8 metadate
Quiz
•
Professional Development
10 questions
PLSQL and Cursor Quiz
Quiz
•
Professional Development
10 questions
php- basics
Quiz
•
Professional Development
10 questions
Semana 6 - Estructura Secuencial y Condicional
Quiz
•
Professional Development
10 questions
4. String
Quiz
•
Professional Development
10 questions
Module 5 & Module 6
Quiz
•
University - Professi...
10 questions
Python quiz
Quiz
•
10th Grade - Professi...
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
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...