Python EXPRESSION

Python EXPRESSION

University

25 Qs

quiz-placeholder

Similar activities

Python Programming II CSE A

Python Programming II CSE A

12th Grade - University

20 Qs

Assessment #2

Assessment #2

5th Grade - Professional Development

20 Qs

Introduction To Python

Introduction To Python

University

20 Qs

Python Data Types Quiz

Python Data Types Quiz

10th Grade - University

20 Qs

Python Control Structures

Python Control Structures

University

20 Qs

Basic Python Console Operations

Basic Python Console Operations

10th Grade - University

21 Qs

Python Programming Quiz

Python Programming Quiz

10th Grade - University

20 Qs

[Python For All] Quiz 2 - Rewind.py

[Python For All] Quiz 2 - Rewind.py

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?