Chapter 25 - The Binary Number System Flashcards

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

Define Two’s Complement

A

A method of working with signed binary values

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

How do you add / subtract Two’s Complement numbers?

A

Just add as normal.

Calculate binary equivalent of positive number, calculate binary equivalent of negative number, then add together.

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

What is fixed point?

A

Where the decimal / binary point is fixed within a number.

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

What is floating point?

A

Where the decimal/binary point can move within a number.

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

What are the advantages of using floating point?

A
  • much wider range of numbers can be produced with the same number of bits as the fixed point system
  • floating point lends itself to applications where a wide range of values may need to be represented.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the advantages of using fixed point?

A
  • Any hardware configured to work with integers, can be used on reals; this makes fixed point faster than floating as there is no processing required to move the binary point.
  • Absolute error will always be the same meaning precision is retained albeit within a more limited range.
  • Suited to applications where is speed is more important than precision
  • Suited to applications where an absolute level of precision is required
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is signed binary?

A

Binary with a positive or negative sign.

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

What is overflow and underflow?

A

Overflow is when a number is too large to be represented with the number of bits allocated.

Underflow is when a number is too small to be represented with the number of bits allocated.

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

What is the mantissa and exponent?

A

Mantissa is the significant digits that make up a number

Exponent is the ‘power of’ part of a number indicated how far a binary point should be shifted left or right.

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