
Python.Comp Quiz (Python Coding)
Authored by Noel Lopes
Computers
9th Grade
Used 18+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The rules used to write a language is called...
String
Syntax
Sync
Solution
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which function is called to display a message on the screen?
input
int
chr
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is a variable used for?
To display a message.
A place for hiding data.
A place for storing data.
To perform calculations.
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which symbol needs to be at the beginning and end of a string?
()
'
#
"
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which operator is used to assign a value?
<=
==
!=
=
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
The == operator is used to ______ a value.
change
compare
assign
add
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Look at the code shown.
What is the output of this code?
practice makes perfect
line
perfect makes practice
print(line)
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?