The Binary Number System (AQA A-Level Computer Science): Flashcards
📚Flashcards
Practise the cards
10 cards from this deck
ShowHide
Practise the cards
10 cards from this deck
Binary addition:
Binary addition:
(write 0, carry 1)
Two's complement: role of MSB
Two's complement: role of MSB
MSB is negative (indicates sign of number)
Two's complement range for bits
Two's complement range for bits
to
Convert to negative in two's complement
Convert to negative in two's complement
Find first 1, flip the rest
Fixed point: bits after binary point represent
Fixed point: bits after binary point represent
Fractions: rac{1}{2}, rac{1}{4}, rac{1}{8}, etc.
Floating point consists of
Floating point consists of
Mantissa (significant digits) and exponent (shift amount)
Normalised positive numbers start with
Normalised positive numbers start with
01
Normalised negative numbers start with
Normalised negative numbers start with
10
Overflow occurs when
Overflow occurs when
Number is too large for allocated bits
Relative error formula
Relative error formula
rac{ ext{Absolute error}}{ ext{Intended value}}
