
Python Quiz - 20
Quiz
•
Architecture, Other
•
12th Grade - University
•
Practice Problem
•
Hard
shanmugaraja .
Used 2+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Guess the correct output of the following string operations
str1 = 'Welcome'
print(str1*2)
WelcomeWelcome
str1str1
Error
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the following output of the following code :
list('Welcome')
['W','e','l','c','o','m','e']
('W','e','l','c','o','m','e')
['welcome']
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the following output of the following code :
>>>L = ['w','e','l','c','o','m','e']
>>>print(len(L))
8
9
7
None
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the following output of the following code :
>>> L=[“Amit”,”Anita”,”Zee”,”Longest Word”]
>>> print(max(L))
Longest Word
Zee
Error
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output of the following code :
L=list(“www.learninghpython.com”)
print(L[20 : -1])
['c','o']
['c','o','m']
(com)
Error
None of the above
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output of the following code :
>>>L=[“Amit”,”Sumit”,”Naina”]
>>>print(L[-1][-1])
['Sumit']
[a]
[Naina]
None of the above
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Write the output of the following code :
L=[0.5 * x for x in range(4)]
print(L)
[0.0, 0.5, 1.0, 1.5]
(0,.5, 1, 1.5)
[0.0, 0.5, 1.0, 1.5, 2.0]
None
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
Les verbes: Être et Avoir
Quiz
•
KG - Professional Dev...
10 questions
Business Ethics
Quiz
•
University
10 questions
Quiz 11 (Media Content - Random)
Quiz
•
12th Grade
10 questions
UK Knowledge Test
Quiz
•
University
10 questions
Alien Hand Syndrome
Quiz
•
University
10 questions
QUIZ 1
Quiz
•
University
10 questions
Culture Workshop
Quiz
•
KG - Professional Dev...
10 questions
JHAP-TAAL HVM 12
Quiz
•
12th 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
Discover more resources for Architecture
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade
