4.5.5 Information Coding Systems Flashcards

1
Q

What is the purpose of information coding systems?

A

When computers need to represent a character, an information coding system si used to match characters to character codes.

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

What is a character code?

A

A decimal digit used to represent a character.

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

What are the two most common information coding systems?

A

ASCII and Unicode

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

How many characters can ASCII represent?

A

ASCII makes use of 7 bits to represent 128 different characters.

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

What is the advantage of unicode?

A

Represents a wide variety of alphabets by computers.

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

How many bits does unicode use?

A

Unicode uses anywhere from 8 to 48 bits per character allowing it to represent a much wider range of different characters than ASCII.

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

What is the purpose of error checking?

A

Reduce the chances of incorrect data being used.

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

What is a parity bit?

A
  • A single bit added to a transmission that can be used to check for errors in the transmitted data.
  • Its value is calculated based on the transmitted data itself.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two kinds of parity bit?

A

Even parity

Odd parity

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

How does even parity work?

A

The value of the parity bit is chosen so as to make the total number of 1s int he transmitted data even.

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

How does odd parity work?

A

Adds a parity bit so that the total number of 1s in the transmitted data is odd.

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

How does the parity check work?

A
  • When data is received, a parity check is carried out.
  • If the value of the received parity bit conforms to the type of parity ( odd or even ) in use, then the received data is treated as correct.
  • Otherwise the computer will request that the sender re-transmits the data.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the issue with parity bits?

A

Whether using odd or even parity, if an even number of bits are changed during transmission, the error is not detected.

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

How does majority voting work?

A
  • When using majority voting, each bit of the data is transmitted multiple times.
  • When the data is received, the most commonly occurring value is taken to be correct
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the advantage of majority voting over parity bits?

A

• When an error occurs and the value of a bit is changed:
Majority voting detects the error and
corrects the data, eliminating the need for
retransmission like when using a parity bit.

• Majority voting has the ability to correct errors when the value of multiple bits have changed

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

What is the disadvantage of majority voting?

A

• The volume of data being transmitted is increased with the repetition of bits, this significantly increases the time taken to transmit data.

17
Q

What are checksums?

A

Checksums involve adding a value, determined by the data itself to the transmitted data.

18
Q

How does checksum function?

A

An algorithm is used to determine the value of a checksum based on the data being transmitted.

19
Q

How do checksums work?

A

once received, the recipient can remove the checksum and apply the same algorithm as was used when sending the data to ensure that the checksum matches the transmitted data.
If the two do not match, the recipient cannot correct itself so must request that the sender re-transmits the data.

20
Q

What is a check digit?

A

A type of checksum in which only a single digit is added to the transmitted data.

21
Q

What is the disadvantage of check digits?

A

• Reduces the number of different algorithms that could be used to calculate the value of the check digit and so reduces the variety of errors that the method can detect.

22
Q

What error checks can be used to detect errors in transmission?

A
  • Parity bit, but only if an odd number of bit are changed
  • Majority vote
  • Checksum
  • Check digit
23
Q

What error checks can be used to correct errors in transmission?

A

• Majority vote ( as long as the majority of the bits remain unchanged )

24
Q

What is the efficiency of a parity bit?

A

Very efficient

25
Q

What is the efficiency of majority vote?

A

Inefficient, as each bit is sent multiple times

26
Q

What is the efficient of checksums?

A

Mostly efficient, as a complex algorithm could make the process less efficient

27
Q

What is the efficiency of a check digit?

A

Efficient, as the algorithms used to calculate the check digit are limited in complexity.