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