Binary Flashcards

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

Describe a method that can, without the use of binary addition, multiply any unsigned binary integer by 2.

A

Logical left shift by 1.

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

Describe a method that can, without the use of binary addition, divide any unsigned binary integer by 2.

A

Logical right shift by 1.

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

What is normal for a Two’s Complement binary number?

A

Most significant bit is the sign bit (1 for negative, 0 for positive); can be integers or fixed-point fractional values.

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

What is an Absolute error?

A

The difference between the value required and the closest representable value.

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

What is a Relative error?

A

Relative error: Absolute error as a percentage of the value required.

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

What is the name of this error?
The value to be represented is too small for the given number of bits.

A

Underflow error.

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

What is the name of this error?
The value to be represented is too large for the given number of bits

A

Overflow error.

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

What conditions are required for a number to be normalised?

A

The 2 most significant bits must be different; implied binary point must be after the most significant bit.

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

What binary number system is the Mantissa and Exponent of a normalised number always in?

A

Two’s Complement.

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

Increasing the number of bits in the mantissa will…

A

Increase the precision of the represented value (allow for smaller fractional values).

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

Increasing the number of bits in the exponent will…

A

Increase the possible range of representable values.

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

How can you make the largest positive value of a normalised FPN?

A

Largest positive mantissa, greatest positive exponent.

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

How can you make the smallest positive value of a normalised FPN?

A

Smallest positive mantissa, greatest negative exponent.

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

How can you make the largest magnitude negative value of a normalised FPN?

A

Largest negative mantissa, greatest positive exponent.

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

How can you make the smallest magnitude negative value of a normalised FPN?

A

Smallest negative mantissa, greatest negative exponent.

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

State two advantages of using a normalised representation:

A

Increases precision for a given number of bits.

Gives a unique representation of each value.