
Python Basics Quiz for Year 9
Quiz
•
Information Technology (IT)
•
9th Grade
•
Practice Problem
•
Hard
peter allsop
FREE Resource
Enhance your content in a minute
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)
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
15 questions
G4-Microprocessors and Their Uses
Quiz
•
4th Grade - University
20 questions
Uji Pengetahuan Teknologi Informasi
Quiz
•
9th Grade - University
15 questions
Quiz Konten Kreator
Quiz
•
9th Grade
20 questions
soal informatika bab 3 kelas 7
Quiz
•
7th Grade - University
20 questions
Latihan soal kelas 9 - Bab 1
Quiz
•
9th Grade
20 questions
GRADE 4 ICT QUIZ 1 1ST SEM 2025-2026
Quiz
•
4th Grade - University
20 questions
Cuestionario de conceptos de programación y Micro:bit
Quiz
•
9th Grade
20 questions
Unit 1 Review
Quiz
•
9th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Information Technology (IT)
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Making Inferences
Quiz
•
7th - 12th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
