Python EXPRESSION

Python EXPRESSION

University

25 Qs

quiz-placeholder

Similar activities

Introduction to Python

Introduction to Python

University

20 Qs

Basic Python

Basic Python

University

20 Qs

Python 1

Python 1

University

20 Qs

CodeHS - Intro to Python - Basics and Console Interaction

CodeHS - Intro to Python - Basics and Console Interaction

9th Grade - Professional Development

20 Qs

Python Programming Expression Quiz 1

Python Programming Expression Quiz 1

University

20 Qs

Python Quiz - BPLCK105B

Python Quiz - BPLCK105B

University

20 Qs

CodeHS Basic Data Structures in Python

CodeHS Basic Data Structures in Python

University

20 Qs

Python Programming Basics 1

Python Programming Basics 1

University

25 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?