
Python Quiz
Quiz
•
Computers
•
4th Grade
•
Medium
Himanshu tunwal
Used 1+ times
FREE Resource
Enhance your content
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 2+3 in Python?
5
10
6
4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a function in Python?
function
def
define
func
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 5/2 in Python?
2.5
3
2
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data type is used to store a sequence of characters in Python?
integer
boolean
list
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 'hello' + 'world' in Python?
hello world
h e l l o w o r l d
helloworld
worldhello
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is used to iterate over a sequence of elements in Python?
for
while
switch
if
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 2**3 in Python?
6
10
8
5
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 10 > 5 in Python?
10
Error
False
True
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for floor division in Python?
/
+
//
*
Similar Resources on Wayground
10 questions
Programming - High Level Code & Machine Code
Quiz
•
2nd - 11th Grade
14 questions
python kod arahan tingkatan 2
Quiz
•
1st - 12th Grade
10 questions
Word Processing
Quiz
•
3rd - 4th Grade
10 questions
Types of computer
Quiz
•
4th Grade
10 questions
Pascal Assessment
Quiz
•
3rd - 4th Grade
11 questions
Computer Science
Quiz
•
4th - 6th Grade
10 questions
Fungsi Input dan Output Python
Quiz
•
2nd Grade - University
9 questions
Microbit
Quiz
•
1st - 5th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade