PyWars: Compete For Glory
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Sahil Shriwas
Used 7+ times
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following snippet?
0 1 2 2
Error
0 1 2 3
3 3 3 3
None of these
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code snippet?
example = ["Sunday", "Monday", "Tuesday", "Wednesday"];
print(example[-3:-1])
['Tuesday', 'Wednesday']
['Monday', 'Tuesday']
['Wednesday', 'Monday']
['Sunday', 'Monday']
Error
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the code?
1
2
Error
None of these
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following types of loops are not supported in Python?
for
do-while
while
None of these
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code snippet?
Global
Local
None
Cannot be predicted
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the output of the following code snippet?
[2, 4, 6], [1, 3, 5]
[2, 4, 6], [2, 4, 6]
[1, 3, 5], [1, 3, 5]
None of these
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output?
['apple', 'applE', 'Apple']
['applE', 'apple', 'Apple']
['applE', 'Apple', 'apple']
['Apple', 'applE', 'apple']
None of the above
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
25 questions
¿Sabes más que un estudiante de avanzada? 2023-1
Quiz
•
University
25 questions
Quiz on Emotional Interaction
Quiz
•
University
25 questions
Examen Trimestral de Informática 2°ABCDE
Quiz
•
8th Grade - University
25 questions
MOBILE DEVICE
Quiz
•
1st Grade - University
25 questions
Privacy, Security & Ethics
Quiz
•
University
25 questions
UTS BASIS DATA TERDISTRIBUSI
Quiz
•
University
25 questions
UTS KEAMANAN
Quiz
•
University
25 questions
Animation Quiz1
Quiz
•
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
