Character Encoding & Error Detection Flashcards

(12 cards)

1
Q

What is character encoding?

A

It means representing letters and symbols using binary. This is needed because machines can only directly process binary information.

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

What is ASCII?

A

It stands for American Standard Code for Information Interchange.

ASCII uses 7 bits to store each character. This means that there are 128 possible characters that can be represented.

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

What are the limitations of ASCII?

A

It only allows a small number of characters to be represented.

It’s an American standard and only enables communication in English.

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

What is Unicode?

A

It uses more bits per character than ASCII (typically between 8-32 bits)

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

Why was Unicode introduced?

A

It was introduced to support a larger range of characters due to increased international communication/support for multiple languages.

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

What are parity bits?

A

An 8th ASCII bit that is added as a parity bit to detect any errors.
It will not be able to tell you which digit is wrong, so isn’t corrective.

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

If odd parity is used…

A

The 8th bit is added to ensure there is an odd number of ones in total.

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

If even parity is used…

A

The 8th bit is added to ensure there are an even number of ones in total.

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

What are the limitations of parity bit?

A
  1. Not corrective - does not reveal which bit/s changed during transmission.
  2. If an even number of bits changes, the errors won’t be detected.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does check digit work?

A

The sender generates the check digit using a function and appends it to the value being sent.

The receiver recalculates the check digit based on what it receives.

If the recalculated check digit is not equal to the received check digit they assume an error has occurred.

It is not corrective.

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

What is majority voting?

A

It is the only error detection method which can correct errors in the data sent.

It works by the sending device tripling each bit in the bit pattern that is sent.
The receiver then determines the modal bit from each triplet and determines the original binary pattern.

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

What is the limitation of majority voting?

A

Majority voting is space inefficient, as you are tripling the amount of 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