61. |
Which of the following represents the bitwise XOR operator?
|
||||||||
Answer:
Option (b) |
62. |
What will be the output of the following Python expression?
0x35 | 0x75
|
||||||||
Answer:
Option (c) |
63. |
It is not possible for the two’s complement value to be equal to the original value in any case.
|
||||
Answer:
Option (b) |
64. |
The one’s complement of 110010101 is:
|
||||||||
Answer:
Option (a) |
65. |
What will be the output of the following Python expression?
4^12
|
||||||||
Answer:
Option (c) |
66. |
Any odd number on being AND-ed with ________ always gives 1.
Hint: Any even number on being AND-ed with this value always gives 0.
|
||||||||
Answer:
Option (c) |
67. |
Which of the following expressions can be used to multiply a given number ‘a’ by 4?
|
||||||||
Answer:
Option (a) |
68. |
What will be the output of the following Python code if a=10 and b =20?
a=10
b=20
a=a^b
b=a^b
a=a^b
print(a,b)
|
||||||||
Answer:
Option (c) |
69. |
What will be the output of the following Python expression?
~100?
|
||||||||
Answer:
Option (b) |
70. |
What will be the output of the following Python code snippet?
bool(‘False’)
bool()
|
||||||||
Answer:
Option (d) |