Python MCQ’s | Basic Operators 2

Operators with the same precedence are evaluated in which manner?

a) Left to Right
b) Right to Left
c) Can’t say
d) None of the mentioned

What is the output of this expression, 3*1**3?

a) 27
b) 9
c) 3
d) 1

Which one of the following has the same precedence level?

a) Addition and Subtraction
b) Multiplication, Division and Addition
c) Multiplication, Division, Addition and Subtraction
d) Addition and Multiplication

The expression Int(x) implies that the variable x is converted to integer.

a) True
b) False

Which one of the following has the highest precedence in the expression?

a) Exponential
b) Addition
c) Multiplication
d) Parentheses

Visitor Counter