Week 5 - Character Encoding & Error Detection Flashcards

(11 cards)

1
Q

State two limitations of ASCII

A

It only allows a small number of characters (≤128) to be represented.
It’s an AMERICAN standard and only allows communication in English.

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

Explain why Unicode was introduced

A

• Introduced to store more characters so that more languages could be represented (ASCII only allows for English)
• Unicode can represent a wider range of characters

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

State three methods of error detection when transmitting bits

A

Parity bits
Check digits
Majority voting

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

State two limitations of parity bits in detecting errors

A
  1. Not corrective – does not reveal which bit/s changed during transmission
  2. If an even number of bits change (2,4…) it will not detect this
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Explain how the even parity system works. Include a description of the roles of the sending device and the receiving device during transmission. [4]

A

Sending Device
• Sender counts the number of 1s in the bit pattern
• and adds an extra bit to ensure even number of 1s

Receiving Device
• Receiver counts the number of 1s in the bit pattern received
• If there are an odd number of 1s it identifies that an error has occurred

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

Explain how a check digit is created [1]

A

A check digit is calculated by applying a function to our value, until the result is a single number

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

Explain how the check digit system works. Include a description of the sender and receiver. [3]

A
  1. The sender generates the check digit using a function and appends it to the data being sent.
  2. The receiver recalculates the check digit based on what it receives.
  3. If the recalculated check digit is NOT EQUAL to the received check digit they assume an error has occurred.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

State the principle behind majority voting [1]

A

It copies each bit three (or an odd number) of times before sending.
If one bit changes during transmission, the other bits in the section allow determination of the original value.

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

State the role of the sender and receiver in majority voting [2]

A

Sender triples each bit to make and sends this tripled binary word
Receiver determines the modal bit from each triplet and reconstructs the original binary word from them.

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

State an advantage of majority voting vs other error detection methods [1]

A

It is corrective – if there is data corruption the original data can be determined through the modal bit

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

State a disadvantage of majority voting [1]

A

Majority voting is space inefficient, as you are tripling the data that you are sending.
This makes transmission take longer.

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