1.4.2 (Binary fractions) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a fixed point fraction?

A
  • A way of representing a decimal in binary e.g 5.5 = 0101.1000
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the “.” called in a fixed point fraction?

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

What is floating point binary?

A
  • A way of representing a decimal using the least amount of bits
  • e.g. 0.001*2^2 = 0.1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a mantissa?

A
  • A number to be multiplied by an exponent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is an exponent?

A
  • A number representing the power to which a mantissa is to be multiplied by
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you add floating point numbers?

A
  • Make the exponents the same, if increasing the exponent you must decrease the number, and vice versa
  • Add the mantissas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you subtract floating point numbers?

A
  • Make the exponents the same, if increasing the exponent you must decrease the number, and vice versa
  • Flip to 2sC
  • Add the mantissas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is positive floating point normalisation?

A
  • The sign bit is 0 and the next digit is a 1
  • e.g. 0.1101
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is negative floating point normalisation?

A
  • The sign bit is 1 and the next digit is a 0
  • e.g. 1.0111
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you add floating point numbers?

A
  • Make the exponents the same
  • Add the mantissas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How do you subtract floating point numbers?

A
  • Make the exponents the same
  • Flip second number to 2sC
  • Add the mantissas
How well did you know this?
1
Not at all
2
3
4
5
Perfectly