4.5 - Fundamntals of data representation Flashcards

1
Q

What is the use of natural numbers?

A

Counting Items.

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

What is the use of real numbers?

A

Measuring things.

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

Why is hexadecimal used?

A

Useful for representing binary numbers but being easier to read and understand.

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

What are unsigned binary numbers?

A

Unsigned binary represent positive numbers, where the maximum value for n digits is (2^n) -1

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

What is two’s complement?

A

A way of representing negative numbers, where the largest bit is represented as a negative number.

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

How to convert from unsigned binary to a negative number?

A

Flip all the bits in the binary number, and add 1.

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

How is audio converted from analogue to digital?

A

Samples of the audio taken at regular intervals. Amplitude at each sample is measured. Data is coded into binary.

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

What is an advantage of floating point?

A

It can represent much larger numbers than fixed point.

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

What is an advantage of fixed point?

A

It can represent some numbers more accurately than floating point in a given number of bits.

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

How to convert from floating point representation to decimal?

A

Calculate the value of the mantissa and exponent. Then mantissa * 2^exponent.

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

What are the advantages of Harvard architecture?

A

Instructions and data can be accessed simultaneously. Different technologies can be used to implement data and instruction memory.

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

What are check digits?

A

An extra bit is added on the end of a packet to check the accuracy of the data. Used to recognise and prevent human errors when entering or assigning identification numbers

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

What is majority voting?

A

Each bit is sent an odd number of times, when they arrive the most common for each bit is taken as the final.

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

What are parity bits?

A

The number of 1s in the data is counted. Then an extra bit is added to the start or end to make the number of 1s either even or odd depending on the parity.

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