Search Header Logo

Python Quiz

Authored by CSC Teachers

Computers

10th Grade

Used 4+ times

Python Quiz
AI

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?