Skip to content
Tactiverge

Olympiad · Practice · public practice problem

One sum, two meanings

Difficulty 3 of 511 points in 4 partsSuggested time ~18 min (never timed here)

The problem

An 8-bit adder adds A = 1011 0110 and B = 0110 1101 (binary). The result is kept in an 8-bit register; any carry out of bit 7 goes to a separate carry flag.

  1. Part (a) · 2 points

    What is A as an unsigned decimal number?

    (pure number)Tolerance: exact

  2. Part (b) · 3 points

    What unsigned decimal value is left in the 8-bit register after the addition?

    (pure number)Tolerance: exact

  3. Part (c) · 2 points

    What does the carry flag show?

  4. Part (d) · 4 points · rubric with 2 criteria

    Read A and B as 8-bit two's-complement numbers instead. Is the register's result correct as a signed sum? Show the values.

    Written parts stay in your browser. Reveal the worked solution to mark yourself against the rubric.

Checked so far: 0 of 7 automatically marked points, plus 4 for written parts you mark yourself against the rubric. Nothing is saved.

Stuck? Hints, then the worked solution

Written with AI assistance. Review status: technically-checked (answers recomputed independently with units verified by automated tests); not yet reviewed by an educator or judge.