4.5.4 Binary Number Systems

studied byStudied by 2 people
0.0(0)
Get a hint
Hint

What is an unsigned binary number?

1 / 27

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

28 Terms

1

What is an unsigned binary number?

A binary number representing a positive number

New cards
2

What does signed binary allow for?

Representation of negative numbers in binary

New cards
3

What is the range of numbers that can be represented by unsigned binary?

Depends on the number of bits available (2^n)

New cards
4

What are the rules when adding two unsigned binary numbers?

- 0 + 0 = 0

- 0 + 1 = 1

- 1 + 1 = 10

- 1 + 1 + 1 = 11

New cards
5

How are unsigned binary integers multiplied together?

- Choose and write the guide number

- Write the second number under every instance of 1 in the guide number

- Align the least significant bit with the 1 in the guide number

- Add the columns together, excluding the guide

New cards
6

What is two’s complement?

A coding scheme in which the most significant bit is given a negative place value

New cards
7

How can subtraction be down using two’s complement?

- Convert the subtractor to two’s complement binary

- Add the two numbers together

New cards
8

What is the range of numbers that can be represented with two’s complement binary?

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

New cards
9

How can binary be used to represent numbers with a fractional part?

- Fixed point form

- Floating point form

New cards
10

How is a fractional number represented using fixed point binary?

A specified number of bits are placed before a binary point and the remaining fall behind

New cards
11

What does the placement of the binary point in fixed point notation determine?

The range and precision of representation

- Close to the left → good precision but small range

- Close to the right → increased range but low precision

New cards
12

How is a fractional number represented using floating point binary?

- A number of bits are allocated to the mantissa

- The remaining form the exponent

New cards
13

What is the advantage of using floating point?

Allows for representation of a greater range of numbers with a given number of bits than fixed point

New cards
14

Why are floating point numbers normalised?

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

New cards
15

What does a large exponent and a small mantissa allow for?

Large range but little precision

New cards
16

What does a small exponent and a large mantissa allow for?

Good precision but a small range

New cards
17

How is a floating point number converted to decimal?

- Convert the exponent to decimal

- Move the binary point by the number positions specified by the exponent

- Treat the mantissa as a fixed point binary number and convert it to decimal

New cards
18

How is a decimal number converted to floating point?

- Convert the decimal number to fixed point binary

- Normalise the result (01 for positive and 10 for negative)

- Move the binary point until it is between the first two digits

New cards
19

Why might some representations of decimal numbers be inaccurate?

There a numbers that binary cannot possibly accurately represent

→ e.g. 1/3

New cards
20

What are the types of error?

- Absolute

- Relative

New cards
21

What is absolute error?

The actual amount by which a value is inaccurate

New cards
22

How is absolute error calculated?

Find the difference between the given value and the actual value

New cards
23

What is relative error?

A measure of uncertainty in a given value compared to the actual value which is relative to the size of the given value

New cards
24

How is relative error calculated?

absolute error / actual value

→ x100 to give percentage error

New cards
25

How is a number normalised?

- Split into mantissa and exponent

- Adjust the mantissa to 01 or 10 and shift the bits accordingly

- Reduce the exponent by 2 to ensure the same number is represented

New cards
26

What are the types of error when working with binary?

- Overflow

- Underflow

New cards
27

When do underflow errors occur?

When there are not enough bits available to represent very small numbers

New cards
28

When do overflow errors occur?

When a number is too large to be represented with the available bits

→ Especially important when using signed binary

New cards

Explore top notes

note Note
studied byStudied by 51 people
... ago
5.0(1)
note Note
studied byStudied by 9 people
... ago
5.0(1)
note Note
studied byStudied by 14 people
... ago
5.0(1)
note Note
studied byStudied by 4 people
... ago
5.0(1)
note Note
studied byStudied by 59 people
... ago
5.0(3)
note Note
studied byStudied by 7 people
... ago
4.0(1)
note Note
studied byStudied by 123508 people
... ago
4.8(561)

Explore top flashcards

flashcards Flashcard (85)
studied byStudied by 4 people
... ago
5.0(2)
flashcards Flashcard (37)
studied byStudied by 17 people
... ago
5.0(1)
flashcards Flashcard (40)
studied byStudied by 11 people
... ago
5.0(1)
flashcards Flashcard (56)
studied byStudied by 548 people
... ago
4.8(5)
flashcards Flashcard (169)
studied byStudied by 1 person
... ago
5.0(1)
flashcards Flashcard (24)
studied byStudied by 4 people
... ago
5.0(2)
flashcards Flashcard (118)
studied byStudied by 52 people
... ago
5.0(1)
flashcards Flashcard (21)
studied byStudied by 2 people
... ago
5.0(1)
robot