CS - Floating Point Representation Flashcards
(10 cards)
1
Q
Digit count for sign, mantissa and exponent
A
1
15
8
2
Q
Binary table values
A
128, 64, 32, 16, 8, 4, 2, 1,
0.5, 0.25, 0.125
3
Q
Steps for FPR
A
- Convert denary to binary
- Move decimal to before the first 1
- Identify sign, mantissa
- Idntify exponent
(Positive left, negative right)
4
Q
The amount of spaces you move left/right is the
A
Exponent
Move right negative
Move left positive
5
Q
Two complement binary table
A
Everything is the same except for the
-128
6
Q
Denary to binary Twos Compliment
A
- Create binary value for number
- Invert all numbers
- Add 1
7
Q
Twos complement - Range
A
-2^(n-1) to 2^(n-1)-1
8
Q
If the number is negative,
The sign is
A
1
9
Q
Describe printable characters
A
Keys that would show up on the screen after pressed
10
Q
Describe control characters
A
Keys that perform a function like enter or backspace