4.5.5 Information Coding Systems Flashcards
What is the purpose of information coding systems?
When computers need to represent a character, an information coding system si used to match characters to character codes.
What is a character code?
A decimal digit used to represent a character.
What are the two most common information coding systems?
ASCII and Unicode
How many characters can ASCII represent?
ASCII makes use of 7 bits to represent 128 different characters.
What is the advantage of unicode?
Represents a wide variety of alphabets by computers.
How many bits does unicode use?
Unicode uses anywhere from 8 to 48 bits per character allowing it to represent a much wider range of different characters than ASCII.
What is the purpose of error checking?
Reduce the chances of incorrect data being used.
What is a parity bit?
- 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.
What are the two kinds of parity bit?
Even parity
Odd parity
How does even parity work?
The value of the parity bit is chosen so as to make the total number of 1s int he transmitted data even.
How does odd parity work?
Adds a parity bit so that the total number of 1s in the transmitted data is odd.
How does the parity check work?
- 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.
What is the issue with parity bits?
Whether using odd or even parity, if an even number of bits are changed during transmission, the error is not detected.
How does majority voting work?
- 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
What is the advantage of majority voting over parity bits?
• 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