Python EXPRESSION

Python EXPRESSION

University

25 Qs

quiz-placeholder

Similar activities

Python Input/Output Statement (Week2)

Python Input/Output Statement (Week2)

University

21 Qs

Exam preparation

Exam preparation

University

23 Qs

Python Programming Quiz

Python Programming Quiz

University

25 Qs

Script_programming_test

Script_programming_test

University

25 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python Programming - Test 1

Python Programming - Test 1

University - Professional Development

20 Qs

Exceptions

Exceptions

University

20 Qs

Python if/else

Python if/else

University

20 Qs

Python EXPRESSION

Python EXPRESSION

Assessment

Quiz

Computers

University

Medium

Created by

Darwin Vargas

Used 1+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?