Binary number systems Flashcards

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

Steps to normalise with a positive mantissa, positive exponent.

A

shift right for positive exponent

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

Steps to normalise with a positive mantissa, negative exponent.

A

shift left for negative exponent

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

Steps to normalise with a negative mantissa, positive exponent.

A

Complete two’s complement, then shift right for positive exponent

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

Steps to normalise with a negative mantissa, negative exponent.

A

Complete two’s complement on the number, then shift left for negative exponent

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

What is the difference between signed and unsigned Binary?

A

Signed Binary can represent positive and negative numbers whereas unsigned binary only represents positive numbers

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

What is an advantage of using unsigned binary?

A

Unsigned Binary can store larger numbers

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

What does rounding do?

A

Rounding is necessary when we can’t represent a number however it creates an error as it’s not as accurate.

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

What are the two types of errors?

A

Absolute and Relative

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

How do we calculate Absolute error?

A

Real value - Stored value

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

How do we calculate Relative error?

A

Exact value - Stored value / Exact value
or
Absolute Error / Exact value

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

What is precision?

A

Precision is to do with word length and the maximum number of significant digits that can be represented

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

What is Range?

A

Range is the set of all numbers that can be represented using a specific number system

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

What is floating point?

A

is a real data type where the binary point can move within a number

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

What is fixed point?

A

is a real data type where a number has a fixed number of digits either before or after the decimal point.

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

What’s an advantage of Fixed point over Floating point?

A
  • Fixed point binary has more precision than floating point

- Used when a high level of precision and speed is needed

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

What’s an advantage of Floating point over Fixed point?

A

Floating point can represent a wider range of numbers that fixed point
- Used when a wide range of values needs to be represented

17
Q

What is normalised floating point?

A

is where the binary point position is fixed in a standard form position and the exponent can float to reflect different values of that number

18
Q

What is Underflow ?

A

Underflow occurs when the required value is too small to be stored using the number of bits available

19
Q

What is Overflow ?

A

Overflow occurs when the required value is too large to be stored using the number of bits available

20
Q

How do you calculate the range of an unsigned binary bit pattern?

A

2^n = the amount of numbers that can be represented, then 0 to (2^n -1) is the range

21
Q

How do you calculate the range of an signed binary bit pattern?

A

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