GoConqr has a new look! Let us know what you think.

Flashcards

Binary Arithmetic

Holly Scott Flashcards Comp Sci A-Level English 9 cards

Cards in this deck (9)

  1. 1Binary Addition0 + 0 = 0
    0 + 1 = 1
    1 + 1 = 0 (carry 1)
    1 + 1 + 1 = 1 (carry 1)
  2. 2OverflowIf result of addition is bigger than 255 then carry needs a ninth bit
  3. 3Representing Negative NumbersMost significant bit is 0 then number is +
    Most significant bit 1 then number is -
  4. 4Two's Complement256 - value = answer
    Convert answer into binary
  5. 5What denary range can be represented in two's complement?-128 to 127
  6. 6Convert -9 from denary to binaryIn positive binary: 00001001
    Flip bits: 11110110
    Add one: 11110111
  7. 7Convert 11100101 from negative two's complement binary to denaryFlip bits: (-)00011010
    Add one: (-)00011011
    In denary: -27
  8. 8Subtract denary 14 from denary 1714 in binary: 00001110
    -14 in two's complement: 11110010
    17 in binary: 00010001
    Add 17 and -14: 00000011 (ignore overflow)
  9. 9Convert 19.25 to fixed point binary10011.010

Information

Description
A-Level Flashcards Comp Sci (Data Types) Flashcards on Binary Arithmetic, created by Holly Scott on 03/05/2018.
Created by
Holly Scott
Views
2
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?