
Python Basics Quiz
Quiz
•
Computers
•
3rd Grade
•
Hard
alex monyi
Used 1+ times
FREE Resource
Enhance your content in a minute
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the basic data type to store whole numbers in Python?
int
boolean
float
string
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which keyword is used to define a function in Python?
def
func
define
create
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 5 + 3 * 2 in Python?
15
16
11
10
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not a valid variable name in Python?
2variable
variable_name!
my_variable
variable2
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of print('Hello, World!') in Python?
Hi, Earth!
Goodbye, World!
Hello, World!
Hello, Universe!
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which loop is used to iterate over a sequence of elements in Python?
while
for
if
do-while
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of 'hello' + 'world' in Python?
hello world
h e l l o w o r l d
helloworld!
helloworld
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a mutable data type in Python?
Integer
Tuple
String
List
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of 2 ** 3 in Python?
8
6
4
10
Similar Resources on Wayground
10 questions
VR Q - I
Quiz
•
3rd - 7th Grade
10 questions
Photography project
Quiz
•
3rd - 6th Grade
11 questions
What is a computer
Quiz
•
KG - University
10 questions
ENGLISH
Quiz
•
KG - University
10 questions
Grade 3 Scratch blocks
Quiz
•
3rd Grade
12 questions
Đề Cương 1 - HKI - Tin3 - CTST
Quiz
•
3rd Grade
10 questions
Python
Quiz
•
3rd - 10th Grade
13 questions
mBlock assessment
Quiz
•
3rd - 6th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
