Question 1 of 25
Hints left: 3
Q1
The one's complement of 110010101 is:
Q2
What is the two's complement of -44?
Q3
What is the result of `(6 | 3) ^ 5` ?
Q4
What is the result of ~(6 & 3) ?
Q5
What is the result of 5 << 2 >> 1 ?
Q6
What is the result of not (True or False) ?
Q7
What is the result of 7 << 2 ?
Q8
What will be the output of the following Python expression? 24//6%3, 24//4//2
Q9
What will be the output of the following Python code snippet? not(3>4) not(1&1)
Q10
What is the result of `6 | 3` ?
Q11
What is the result of not (3 > 5) ?
Q12
What will be the value of x in the following Python expression, if the result of that expression is 2? x>>2
Q13
What is the result of True ^ False ?
Q14
What is the result of `5 & 9 | 1` ?
Q15
What is the result of 3 ** 2 // 3 ?
Q16
What is the result of 12 // (4 * 2) ?
Q17
Which of the following represents the bitwise XOR operator?
Q18
Which operator has the highest precedence in Python?
Q19
What is the result of 10 / 2 ** 2 * 2 ?
Q20
What is the result of 10 ^ 6 ?
Q21
What is the result of 5 % 3 ** 2 ?
Q22
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.
Q23
What is the result of 5 & 3 ?
Q24
What is the result of 8 - 6 / 2 ?
Q25
What will be the output of the following Python code snippet? not(10<20) and not(10>30)