
Python Quiz for class 9
Authored by LALITHA KUMARI
Computers
9th - 11th Grade
CCSS covered
Used 19+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
To display something on the screen, use this command:
print()
Print()
screen()
write()
display()
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
x = 5
y = 6
print(x*y)
The code above displays the following:
11
x*y
Syntax Error
30
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
age = input("Enter Age (as integer): ")
newAge = age + 20
print ("your age in 20 years is:", newAge)
you enter
15
value of age is 15
value of newAge is 35
output is: your age in 20 years is: 35
value of age is 15
value of newAge is 20
output is: your age in 20 years is: 20
value of age is 15
value of newAge is "age + 20"
output is: your age in 20 years is: 35
value of age is 15
value of newAge is 35
output is: your age in 20 years is:35
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The number or word we give to a variable
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is a variable?
Tags
CCSS.6.EE.B.6
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What symbol is used in python to assign values to a variable?
Tags
CCSS.6.EE.B.6
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
‘If’ is a decision making statement
true
false
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?