| 41. |
What will be the value of x in the following Python expression?
x = int(43.55+2/2)
|
||||||||
|
Answer:
Option (b) |
| 42. |
What is the value of the following expression?
2+4.00, 2**4.0
|
||||||||
|
Answer:
Option (a) |
| 43. |
Which of the following is the truncation division operator?
|
||||||||
|
Answer:
Option (c) |
| 44. |
What are the values of the following Python expressions?
2**(3**2)
(2**3)**2
2**3**2
|
||||||||
|
Answer:
Option (d) |
| 45. |
What is the value of the following expression?
8/4/2, 8/(4/2)
|
||||||||
|
Answer:
Option (a) |
| 46. |
What is the value of the following expression?
float(22//3+3/3)
|
||||||||
|
Answer:
Option (b) |
| 47. |
What will be the output of the following Python expression?
print(4.00/(2.0+2.0))
|
||||||||
|
Answer:
Option (b) |
| 48. |
What will be the value of X in the following Python expression?
X = 2+9*((3*12)-8)/10
|
||||||||
|
Answer:
Option (d) |
| 49. |
Which of the following expressions involves coercion when evaluated in Python?
|
||||||||
|
Answer:
Option (c) |
| 50. |
What will be the output of the following Python expression?
24//6%3, 24//4//2
|
||||||||
|
Answer:
Option (a) |