
Python Quiz
Authored by CSC Teachers
Computers
10th Grade
Used 4+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
29 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How are constants conventionally named in Python?
In lowercase characters
In mixed case characters
In all uppercase characters
In camel case
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the data type for a sequence of characters?
int
float
str
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the meaning of the arithmetic operator '*'?
division
multiplication
exponentiation
subtraction
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the relational operator '!=' mean?
equal to
not equal to
greater than
less than
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which logical operator is used to check if both sides of a test must be true to return true?
or
not
and
==
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used for integer division? (floor division)
/
//
%
*
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an assignment in programming?
To set or change the value of a variable
To execute a command repeatedly
To check a condition
To block code segments
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 Microsoft
or continue with
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?