
Python Quiz 2
Quiz
•
Other
•
2nd - 4th Grade
•
Medium
Mahesh Regmi
Used 4+ times
FREE Resource
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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Il sistema scheletrico
Quiz
•
2nd Grade
15 questions
Dzień Kobiet
Quiz
•
1st - 10th Grade
15 questions
HIGIENE INDUSTRIAL
Quiz
•
3rd Grade
13 questions
disney princesses
Quiz
•
KG - Professional Dev...
12 questions
Christmas - Smart Kids
Quiz
•
3rd - 5th Grade
14 questions
NZ Birds
Quiz
•
4th Grade
12 questions
Inducción
Quiz
•
1st - 3rd Grade
15 questions
Español tema tipos de narraciones y ubicación de objetos
Quiz
•
3rd Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Other
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
10 questions
Area
Quiz
•
3rd Grade
8 questions
Ancient China Quick Check
Quiz
•
3rd Grade
10 questions
Setting Quiz
Quiz
•
2nd - 5th Grade
13 questions
Veterans' Day
Quiz
•
1st - 3rd Grade
15 questions
Subject-Verb Agreement
Quiz
•
4th Grade
