Skip to main content

Binary Switch Row

A row of four switches controls four blocks. Raised switches light their blocks gold, and the red-framed switch marks the negative place value in a four-bit two’s complement number.

In the picture

  1. Red-framed switch: the sign position, worth −8 in a four-bit two’s complement number.
  2. Cube with a minus sign: the negative place value attached to the sign position.
  3. Gold-lit cube under a raised lever: a place value that is included.
  4. Dim grey cube under a lowered lever: a place value that is left out.
  5. Smallest cube: the 1s place in the four-bit group.

Examples

  • A bank app stores a negative balance using two’s complement in its binary data.
  • A game character’s position below zero is stored as a two’s complement integer.

Quiz: Binary Switch Row (Age 16)

  1. In unsigned binary, what are the place values from right to left?

    • 1, 2, 4, 8
    • 8, 4, 2, 1
    • 1, 2, 4, 16
  2. In a four-bit two’s complement number, what value does the leftmost bit have?

    • −8
    • 8
    • −1
  3. In four-bit two’s complement, what decimal value does 1111 represent?

    • 15
    • −1
    • −7

The answers, each with its explanation, are in the app. This lesson has left the free week, so its quiz is part of the subscription.

Get the app

Free app, optional subscription
App Store Google Play

Carry on in the app

At least one new illustrated lesson every weekday for your child’s year, with its quiz and a reminder at 6:15 pm.

Your child’s teacher does not use My Enhanced Teacher yet?

Tell them about it

Technology, Age 16