VITyarthi Python Essentials Module 5 Quiz Answer

Question 1

Which of the following operator precedence order is correct in Python?

  1. Parentheses, Exponential, Multiplication, Division, Addition, Subtraction
  2. Multiplication, Division, Addition, Subtraction, Parentheses, Exponential

 1.Parentheses, Exponential, Multiplication, Division, Addition, Subtraction

Question 2

Which one of the following has the highest precedence in the expression as per PEMDAS rule?

  1. Division
  2. Subtraction
  3. Power
  4. Parentheses

 4. Parentheses

Question 3

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

  1. 14.0, 10000.0
  2. 14.0, 1000.00
  3. 14.0, 10.0000
  4. 14.0, 1.00000
  1. 14.0, 10000.0

Question 4

Which operator has right to left associativity?

  1. *
  2. **
  3. //
  4. %

 2. **

Question 5

Except ** operator all other operators are left to right associativity. Say to or False.

  1. True
  2. False

 1. True

Question 6

What is the output? 2**2**3

256

If you find anything wrong in this Answer Key, feel free to reach us in the comment section.

Sharing Is Caring:

2 thoughts on “VITyarthi Python Essentials Module 5 Quiz Answer”

Leave a Comment