
Python Basics Quiz for Year 9
Quiz
•
Information Technology (IT)
•
8th Grade
•
Practice Problem
•
Hard
J Blakley
FREE Resource
Enhance your content in a minute
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a valid variable name in Python?
2ndNumber
number_2
number-2
number 2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What data type is the value `True` in Python?
String
Integer
Boolean
Float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following code? ```python x = 5 print(type(x)) ```
`
`
`
`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to get input from the user in Python?
input()
get()
scan()
read()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the result of `7 // 2` in Python?
3.5
3
4
3.0
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to define a function in Python?
function myFunc():
def myFunc[]:
def myFunc():
func myFunc():
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will the following code print? ```python for i in range(3): print(i) ```
1 2 3
0 1 2
0 1 2 3
1 2
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
25 questions
INFORMATIKA KLS 8
Quiz
•
8th Grade
35 questions
REVIEW TEST II
Quiz
•
8th Grade
25 questions
Unit 1: Being Social Online - TEST
Quiz
•
8th Grade
25 questions
Soal Pilihan Ganda Microsoft Word
Quiz
•
8th Grade - University
25 questions
CSS Font Property Quizziz
Quiz
•
6th Grade - University
27 questions
Microsoft PowerPoint Review Part 1
Quiz
•
6th - 8th Grade
35 questions
ASTS TIK 5 GENAP
Quiz
•
5th Grade - University
30 questions
Year 8 ICT Summative Assessment - Term 3.1 - 2024-2025
Quiz
•
8th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
5 questions
Legends, Leaders, & Changemakers: Maya Angelou
Interactive video
•
6th - 8th Grade
10 questions
Understanding Poetry and Literary Devices
Interactive video
•
4th - 8th Grade
15 questions
Product of Powers Property A1 U7
Quiz
•
8th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Laws of Exponents
Quiz
•
8th Grade
16 questions
8th U5L5 Graphs of Functions
Quiz
•
8th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
