Computer Architecture and Organization

Computer Arithmetic, Data Representation & ALU

Computer Arithmetic, Data Representation & ALU

High-Yield Revision Hub

Master Computer Arithmetic, Data Representation & ALU

Binary arithmetic, 1's and 2's Complement representation, Booth's Multiplication Algorithm, IEEE 754 Floating-Point, ALU.

Concept Breakdown

Detailed technical explanation

Computer Arithmetic covers digital representations of integer and floating-point data, alongside algorithmic operations executed by hardware adders, shifters, and multipliers inside the ALU.

Key Revision Rules

Essential formulas and core points to memorize

  • 12's Complement representation is preferred for binary arithmetic because addition and subtraction can use the exact same adder circuit without sign bit branch conditions.
  • 2Booth's Algorithm efficiently multiplies signed 2's complement binary numbers by encoding adjacent bits (01 -> add multiplier, 10 -> subtract multiplier).
  • 3IEEE 754 Single Precision: 32 bits total (1 Sign bit, 8 Exponent bits with Bias 127, 23 Mantissa bits).
  • 4ALU (Arithmetic Logic Unit) executes arithmetic (+, -, *, /) and logical (AND, OR, NOT, XOR) operations.

Common Exam Mistakes

Where students frequently lose marks

Forgetting to add the 127 bias value in IEEE 754 single-precision exponent calculations.
Assuming 1's complement has a single representation for zero (1's complement has +0 and -0, while 2's complement has unique 0).

Topic Quiz Practice

1 of 10
Question 1

is the brain of a computer