Explore topic-wise MCQs in Python.

This section includes 4 Mcqs, each offering curated multiple-choice questions to sharpen your Python knowledge and support exam preparation. Choose a topic below to get started.

1.

What is the two s complement of -44?

A. 1011011
B. 11010100
C. 11101011
D. 10110011
Answer» C. 11101011
2.

Which of the following expressions can be used to multiply a given number a by 4?

A. a<<2
B. a<<4
C. a>>2
D. a>>4
Answer» B. a<<4
3.

The one s complement of 110010101 is:

A. 001101010
B. 110010101
C. 001101011
D. 110010100
Answer» B. 110010101
4.

It is not possible for the two s complement value to be equal to the original value in any case.

A. True
B. False
Answer» C.