Python

Python

Basic Operators has 6 Questions

Which is the correct operator for power(x^y)?

X^y
X**y
X^^y
None of the mentioned
Which one of these is floor division?

/
//
%
None of the mentioned
What is the order of precedence in python? i) Parentheses ii) Exponential iii) Division iv) Multiplication v) Addition vi) Subtracti

i,ii,iii,iv,v,vi
ii,i,iii,iv,v,vi
ii,i,iv,iii,v,vi
i,ii,iii,iv,vi,v
What is answer of this expression, 22 % 3 is?

7
1
0
5
You can perform mathematical operation on String?

True
False
Which one of the following have the same precedence?

Addition and Subtraction
Multiplication and Division
a and b
None of the mentioned