51. |
Which among the following list of operators has the highest precedence?
+, -, **, %, /, <<, >>, |
|
||||||||
Answer:
Option (b) |
52. |
What will be the value of the following Python expression?
float(4+int(2.39)%2)
|
||||||||
Answer:
Option (c) |
53. |
Which of the following expressions is an example of type conversion?
|
||||||||
Answer:
Option (a) |
54. |
Which of the following expressions results in an error?
|
||||||||
Answer:
Option (d) |
55. |
What will be the value of the following Python expression?
4+2**5//10
|
||||||||
Answer:
Option (b) |
56. |
The expression 2**2**3 is evaluates as: (2**2)**3.
|
||||
Answer:
Option (b) |
57. |
What will be the output of the following Python code snippet if x=1?
x<<2
|
||||||||
Answer:
Option (d) |
58. |
What will be the value of x in the following Python expression, if the result of that expression is 2?
x>>2
|
||||||||
Answer:
Option (a) |
59. |
What will be the output of the following Python expression?
int(1011)?
|
||||||||
Answer:
Option (a) |
60. |
What will be the output of the following Python expression if x=15 and y=12?
x & y
|
||||||||
Answer:
Option (c) |