CS - Floating Point Representation Flashcards

(10 cards)

1
Q

Digit count for sign, mantissa and exponent

A

1
15
8

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Binary table values

A

128, 64, 32, 16, 8, 4, 2, 1,
0.5, 0.25, 0.125

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Steps for FPR

A
  1. Convert denary to binary
  2. Move decimal to before the first 1
  3. Identify sign, mantissa
  4. Idntify exponent
    (Positive left, negative right)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The amount of spaces you move left/right is the

A

Exponent
Move right negative
Move left positive

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Two complement binary table

A

Everything is the same except for the
-128

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Denary to binary Twos Compliment

A
  1. Create binary value for number
  2. Invert all numbers
  3. Add 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Twos complement - Range

A

-2^(n-1) to 2^(n-1)-1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If the number is negative,
The sign is

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Describe printable characters

A

Keys that would show up on the screen after pressed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Describe control characters

A

Keys that perform a function like enter or backspace

How well did you know this?
1
Not at all
2
3
4
5
Perfectly