GATE Computer ScienceHardGATE CS

Twenty-eight 32-bit numbers are added with a tree of carry-save adders (3:2 compressors) that reduces every group of three operands to two, passing leftover operands through, until two operands remain for a final carry-propagate adder. How many levels of carry-save adders does the tree have?

  1. A. 6
  2. B. 7
  3. C. 8
  4. D. 9

Correct answer: B. 7

The operand count evolves 28 → 19 → 13 → 9 → 6 → 4 → 3 → 2, each step replacing every triple by two operands (n → 2⌊n/3⌋ + n mod 3). That is 7 levels.

More Computer Organization and Architecture questions

Exams that ask this topic