Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

What is the 2’s complement representation of the decimal number -5 using an 8-bit signed binary format?

A11111011
B11111010
C10000101
D11111101

Explanation

To find -5 in 8-bit 2’s complement: 1) Write +5 in binary: 00000101. 2) Invert all bits (1’s complement): 11111010. 3) Add 1: 11111010 + 1 = 11111011.

Exam Relevance
  • Topic: Digital Logic & Number Systems
  • Subtopic: Signed Numbers & 2's Complement
Submitted by: mcqstutor Team More Computer MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *