Search Header Logo

Python EXPRESSION

Authored by Darwin Vargas

Computers

University

Used 1+ times

Python EXPRESSION
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

**

!

*

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following expressions will result in a TypeError?

'Hello' + ' World'

5 + 6

'5' + 5

7 * 3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the following expression: 10 % 3?

1

0

2

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the following expression: 2 + 3 * 4?

20

14

12

24

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression 3 // 2 evaluate to in Python?

1.5

1

2

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression not True evaluate to?

True

False

None

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of 2 ** 3 ** 2?

512

64

256

128

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?

Discover more resources for Computers