Section 3 - Data representation Flashcards

1
Q

What ascii code can be used to identify the character ‘A’?

A

65

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

What ascii code can be used to identify the character ‘a’?

A

97

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

What ascii code can be used to identify the character ‘0’?

A

48

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

How many bits are used during traditional ascii?

A

7

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

How many values can traditional ascii store?

A

128 values. 0-127

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

When using ascii, what can the 8th bit be used for?

A

error checking

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

When is unicode used opposed to ascii?

A

When ascii does not have enough characters.
It’s main use would be if you lived in a country that used more than one character set and or did not use english characters

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

Explain the use of parity bits.

A

Used with ascii coding, an extra parity bit is added as the 8th bit for error detection.
Odd and or even parity can be used

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

Explain odd parity

A

The parity bit is set so that the total number of 1 bits in the pattern is an odd number

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

Explain even parity

A

The parity bit is set so that the total number of 1 bits in the pattern is an even number

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

How does majority voting work?

A

Each bit is sent 3 times
This is used so that if an error is detected it can try to be corrected.
Every triplet of digits is checked and if the majority of bits are 1 then the bit is stored as 1 and vice versa for 0

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

Explain the advantages of majority voting over the use of parity bits?

A

Error correction in addition to error detection

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

Disadvantage of majority voting.

A

Triple the volume of data is sent.
If the wrong bit is sent twice in the same triplet then the code will be read wrong and the system will be unable to identify the cause of error without the data being sent all over again

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