Search Header Logo

Python Review of Units 3 and 4

Authored by BYRONELLE WILLIAMS

Information Technology (IT)

9th Grade

Used 8+ times

Python Review of Units 3 and 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression in Python: `True and False`?

True

False

None

1

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a comparison operator in Python?

`+`

`==`

`and`

`#`

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a logical operator in Python?

`*`

`or`

`!=`

`//`

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression `7 % 3` in Python?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following code?

x = 3.14159

print(round(x, 2))

3.14

3.15

3.141

3.142

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

1variable

variable_1

variable-1

variable 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: `not (True or False)`?

True

False

None

0

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?