1 & 2 - Number Systems & Binary Flashcards

(18 cards)

1
Q

What is Overflow?

A

The results of a calculation; is a number that is too large to store in the available storage space / number of bits.

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

In Binary addition, what is the name of the additional bit and how can it be used?

A

Carry Bit; Used to test for overflow.

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

What is a situation that can cause an overflow?

A

Dividing a large number by a very small number; Multiplying two very large numbers together.

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

What is a situation that can cause an underflow?

A

A calculation is performed and the result is so close to zero that the stored number is zero; Dividing a number by a very large number.

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

When is rounding used in calculations?

A

A decimal value is converted to floating point but it cannot be represented exactly in the available number of bits.

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

Why are bit patterns often displayed using hexadecimal instead of binary?

A

Easier for people to read / understand; Fewer digits; More compact when printed/displayed.

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

Describe how a 12-bit unsigned binary integer can be converted into hexadecimal.

A

Put the bits into groups of four/nibbles (starting at the right); Convert each group of bits/nibble into a hexadecimal digit.

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

How can 8-bit two’s complement binary be used to subtract one number from another?

A

The number to subtract is converted into a negative number; This is then added to the first number.

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

Give one reason for storing floating point numbers in normalized form.

A

To maximise precision in a given number of bits; To minimize rounding errors; To have just one representation of the number; To simplify arithmetic operations.

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

What are the advantages of using fixed point numbers over floating point numbers?

A

A processor can usually carry out calculations on fixed point numbers more quickly; A fixed point system can represent some numbers more precisely.

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

Under what circumstances would fixed point representation be used rather than floating point?

A

Where the possible range of numbers to be stored is limited; Where maximum precision is required; Where the number is of a set format.

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

How does a binary pattern indicate that the floating point number is normalized?

A

Leftmost 2 digits/bits are different; A significant bit is stored after the binary point.

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

What is the largest pure binary number that can be stored in an 8-bit byte?

A

255 / 28-1 / 11111111.

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

Why is relative error usually considered to be a more important measure of error than absolute error?

A

The effect of an error depends on its size relative to the number that is represented.

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

Describe a method to multiply any unsigned binary integer by the binary number 10.

A

Shift all the bits one place to the left; Add an extra 0 to the RHS of the bit pattern.

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

Explain the term Mantissa.

A

Significant digits/precision/answer by example.

17
Q

Explain the term Exponent.

A

Power of 2 by which mantissa is to be multiplied to get original value.

18
Q

Name three different forms of information that can be represented in a binary pattern.

A

Pure Binary; BCD; ASCII Code characters; Pixel; Sound; Instruction/part of program; Address/pointer; Boolean; Unicode character; Signed integer; Floating point.