5.4 Binary Number Systems Flashcards

1
Q

Which type of binary can represent negative numbers: signed or unsigned?

A

Signed

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

What is the range of decimal numbers that can be represented using unsigned binary with four bits?

A

0 to 15 (0 to 2^4 - 1)

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

How many unique bit patterns can be made with 8 bits?

A

256 (2^8)

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

Which of the following could be a normalized two’s complement number?
A) 1110110
B) 01101101
C) 00010101

A

B - Normalised numbers must start with 01 or 10.

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

Why might fixed-point and floating-point representations of decimal numbers be inaccurate?

A

Rounding errors can occur in values that cannot be represented exactly by binary.

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

Which allows for the greatest range of numbers with a given number of bits: fixed-point or floating-point?

A

Floating-point

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

Why are floating-point numbers normalized?

A

To provide the maximum level of precision for a given number of bits.

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

What error occurs when a number is too large to be represented with the available bits?

A

Overflow

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

How is absolute error calculated ?

A

given value - actual value.

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

How is Relative error calculated ?

A

relative error = actual value/
absolute error

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