
Python Quiz 2
Quiz
•
Other
•
2nd - 4th Grade
•
Practice Problem
•
Medium
Mahesh Regmi
Used 4+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of given code?
(indentation doesnt matter)
if False:
print("false")
else:
print("true")
false
true
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The else statement is compulsory after if statement
yes
no
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to insert new value at the end of list?
append
strip
push
push_back
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following syntax is valid to get first item of a list?
a[0]
a(0)
a(-1)
a[-1]
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to sort a list?
a.sort()
a.reverse()
a.sort_list()
a.ascending()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
which of the following operator checks if the two variables are equal
==
===
=
!=
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How to find the length of a list?
len(listName)
length(listName)
listName.length
listName.len
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
Bhagavad Gita Quiz 2nd December
Quiz
•
1st - 5th Grade
13 questions
rubiks cube quiz
Quiz
•
KG - Professional Dev...
20 questions
Area 4 July 3rd week quiz
Quiz
•
1st - 12th Grade
19 questions
Intervalos
Quiz
•
1st - 10th Grade
16 questions
Writing recipes 1
Quiz
•
3rd - 7th Grade
20 questions
Thai basic direction : Listen to my voice :D
Quiz
•
1st - 6th Grade
11 questions
Clash Of Clans
Quiz
•
1st - 10th Grade
16 questions
ÔN TẬP TIN 2023-2024
Quiz
•
1st - 5th 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 Other
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
10 questions
Groundhog Day Trivia Questions
Interactive video
•
3rd - 6th Grade
9 questions
Point of View
Quiz
•
3rd - 4th Grade
10 questions
Area
Quiz
•
3rd Grade
10 questions
Groundhog Behavior and Hibernation Facts
Interactive video
•
3rd - 5th Grade
