Python MCQ’s | Basic Operators 1

This set of Python Multiple Choice Questions & Answers (MCQs) focuses on “Basic Operators”.

Which is the correct operator for power(xy)?

a) X^y
b) X**y
c) X^^y
d) None of the mentioned

Which one of these is floor division?

a) /
b) //
c) %
d) None of the mentioned

What is the order of precedence in python?

i) Parentheses
ii) Exponential
iii) Multiplication
iv) Division
v) Addition
vi) Subtraction

a) i,ii,iii,iv,v,vi
b) ii,i,iii,iv,v,vi
c) ii,i,iv,iii,v,vi
d) i,ii,iii,iv,vi,v

What is the answer to this expression, 22 % 3 is?

a) 7
b) 1
c) 0
d) 5

Mathematical operations can be performed on a string.

a) True
b) False