
Python Basics Quiz for Year 9
Quiz
•
Information Technology (IT)
•
9th Grade
•
Hard
peter allsop
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is a valid variable name in Python?
2number
number_2
number-2
number 2
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What data type will the variable `age` have after this code runs? ```python age = 15 ```
str
float
int
bool
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is used to get input from the user in Python?
print()
input()
scan()
read()
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What will be the output of the following code? ```python print("Hello, World!") ```
Hello, World!
"Hello, World!"
print("Hello, World!")
Hello World
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following is NOT a built-in data type in Python?
int
float
string
list
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the value of `result` after this code runs? ```python result = 3.5 + 2 ```
5.5
7
3.5
2
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
How do you display the value of a variable called `score` in Python?
display(score)
print(score)
show(score)
output(score)
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
Java Programming Quiz - unit 1b
Quiz
•
9th Grade
15 questions
Module 3 - Unity Scripting Basics
Quiz
•
9th - 12th Grade
25 questions
Soal Pilihan Ganda Sistem Komputer
Quiz
•
7th Grade - University
15 questions
Quiz de Tecnologia para 9º Ano
Quiz
•
9th Grade
15 questions
Quiz sobre la Historia de la Computadora
Quiz
•
9th Grade - University
25 questions
STS Informatika Kelas 8 Semester 1
Quiz
•
8th Grade - University
20 questions
Питон П411
Quiz
•
9th - 12th Grade
25 questions
G9-Introduction to Python Programming
Quiz
•
9th Grade - University
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
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Distribute and Combine Like Terms
Quiz
•
7th - 9th Grade
12 questions
Graphing Inequalities on a Number Line
Quiz
•
9th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
20 questions
Cell Organelles
Quiz
•
9th Grade
20 questions
Cell Transport
Quiz
•
9th Grade