School ICT Self Study
Absolutely Free Learning Opportunity! No Need to Spend Money! Study at Your Own Pace! Everything You Need is Right Here
UNLOCK YOUR DIGITAL FUTURE!
Free ICT Learning for Sri Lanka
🌍
|

Signed Integer Representations

189 viewsG12-03. AL ICT Number System
0

  1. Explain why two’s complement is preferred over one’s complement for representing signed integers in computers.

  2. Convert the binary number 11100101 (8-bit two’s complement) to its decimal equivalent.

  3. How does signed magnitude representation handle the number zero, and what is its limitation compared to two’s complement?

  4. Perform the subtraction 25 – 47 in an 8-bit two’s complement system.

  5. Convert the decimal number -72 to one’s complement in a 9-bit system.

Ruwan Suraweera Changed status to publish
0

Answers and Descriptions

  1. Answer: Two’s complement has one zero, simplifies arithmetic, and handles overflow. One’s complement has two zeros.
    Description: Two’s complement streamlines CPU design for efficiency.

  2. Answer: 11100101 → One’s complement = 00011010, add 1 = 00011011 (27) → -27.
    Description: Check MSB, invert, add 1 to convert two’s complement.

  3. Answer: Signed magnitude: 00000000 (+0), 10000000 (-0). Two’s complement: one zero (00000000).
    Description: Dual zeros complicate signed arithmetic magnitude.

  4. Answer: 25 = 00011001, -47 = 11010001 → 00011001 + 11010001 = 11001010 = -22.
    Description: Subtraction as addition in two’s complement.

  5. Answer: 72 = 01001000; One’s complement = 10110111.
    Description: Invert bits for one’s complement, used historically.

Ruwan Suraweera Changed status to publish
🔴 Lesson List
SIDE BUTTON ON
Sign In Register
×

👋 Welcome Back!

🚀
Ready to Learn?Pick up where you left off.
🔑
Forgot Password?Click the link below to reset.
📢
New FeaturesCheck out the new AI Voice tool.

Sign In

👤
🔒
or continue with
Google Facebook

Already have an account? Register Now

🖥️ View Desktop Version Switch to full website view.