46). The value of the expressions 4/(3*(2-1)) and 4/3*(2-1) is the same.

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

Show Answer

47). What will be the value of the following Python expression?
4 + 3 % 5

[A]4
[B]7
[C]2
[D]0

Show Answer

49). Which of the following operators has its associativity from right to left?
A % B // A

[A]+
[B]//
[C]%
[D]**

Show Answer

50). What will be the value of x in the following Python expression?
x = int(43.55+2/2)

[A]43
[B]44
[C]22
[D]23

Show Answer

51). What is the value of the following expression?
2+4.00, 2**4.0

[A](6.0, 16.0)
[B](6.00, 16.00)
[C](6, 16)
[D](6.00, 16.0)

Show Answer

52). Which of the following is the truncation division operator?
2+4.00, 2**4.0

[A]/
[B]%
[C]//
[D]|

Show Answer

53). What are the values of the following Python expressions?
 2**(3**2)
 (2**3)**2
 2**3**2

[A]64, 512, 64
[B]64, 64, 64
[C]512, 512, 512
[D]512, 64, 512

Show Answer

54). What is the value of the following expression?
8/4/2, 8/(4/2)

[A](1.0, 4.0)
[B](1.0, 1.0)
[C](4.0. 1.0)
[D](4.0, 4.0)

Show Answer

55). What is the value of the following expression?
float(22//3+3/3)

[A]8
[B]8.0
[C]8.3
[D]8.33

Show Answer