12). Which one of these is floor division?

[A]/
[B]//
[C]%
[D]None of the mentioned

Show Answer

13). 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

Show Answer

15). Mathematical operations can be performed on a string.

[A]True
[B]False
[C]False and True
[D]False and True

Show Answer

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

[A]27
[B]9
[C]3
[D]1

Show Answer

18). 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

Show Answer

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

[A]True
[B]False
[C]none
[D]none of the mentioned

Show Answer

20). Which one of the following has the highest precedence in the expression?

[A]Exponential
[B]Addition
[C]Multiplication
[D]Parentheses

Show Answer