What is character encoding?
It means representing letters and symbols using binary. This is needed because machines can only directly process binary information.
What is ASCII?
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.
What are the limitations of ASCII?
It only allows a small number of characters to be represented.
It’s an American standard and only enables communication in English.
What is Unicode?
It uses more bits per character than ASCII (typically between 8-32 bits)
Why was Unicode introduced?
It was introduced to support a larger range of characters due to increased international communication/support for multiple languages.
What are parity bits?
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.
If odd parity is used…
The 8th bit is added to ensure there is an odd number of ones in total.
If even parity is used…
The 8th bit is added to ensure there are an even number of ones in total.
What are the limitations of parity bit?
How does check digit work?
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.
What is majority voting?
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.
What is the limitation of majority voting?
Majority voting is space inefficient, as you are tripling the amount of data that you are sending.
This makes transmission take longer.