Top 1000+ Solved Problem Solving and Python Programming MCQ Questions Answer
Q. Which of the following expressions results in an error?
a. int(1011)
b. int(‘1011’,23)
c. int(1011,2)
d. int(‘1011’)
Q. What will be the output of the following Python expression?0x35 | 0x75
a. 115
b. 116
c. 117
d. 118
Q. Bitwise gives 1 if either of the bits is 1 and 0 when both of the bits are 1.
a. or
b. and
c. xor
d. not