Python Quiz 2

Python Quiz 2

University

77 Qs

quiz-placeholder

Similar activities

APCS Principles Practice Exam

APCS Principles Practice Exam

8th Grade - University

75 Qs

Skills Practice Unit 1

Skills Practice Unit 1

6th Grade - University

77 Qs

ENCFAP2L Midterm Exam

ENCFAP2L Midterm Exam

University

75 Qs

PSW GRIND

PSW GRIND

University

76 Qs

Java-FIN

Java-FIN

University

80 Qs

JavaScript

JavaScript

University

80 Qs

C Aptitude-2

C Aptitude-2

University - Professional Development

75 Qs

Python Quiz 2

Python Quiz 2

Assessment

Quiz

Computers

University

Hard

Created by

Nguyen Duong

FREE Resource

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)

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?