Search Header Logo

Python Quiz 2

Authored by Nguyen Duong

Computers

University

Python Quiz 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

77 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 3 ^ 4 evaluate to?

81

12

0.75

7

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of the following Python expression? 4 + 3 % 5

4

7

2

0

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the expression given below if A = 16 and B = 15. A % B // A

0.0

0

1.0

1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following operators has its associativity from right to left?

+

//

%

**

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of x in the following Python expression? x = int(43.55+2/2)

43

44

22

23

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of the following expression? 2+4.00, 2**4.0

(6.0, 16.0)

(6.00, 16.00)

(6, 16)

(6.00, 16.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?

Discover more resources for Computers