Section 3 - Data representation Flashcards
What ascii code can be used to identify the character ‘A’?
65
What ascii code can be used to identify the character ‘a’?
97
What ascii code can be used to identify the character ‘0’?
48
How many bits are used during traditional ascii?
7
How many values can traditional ascii store?
128 values. 0-127
When using ascii, what can the 8th bit be used for?
error checking
When is unicode used opposed to ascii?
When ascii does not have enough characters.
It’s main use would be if you lived in a country that used more than one character set and or did not use english characters
Explain the use of parity bits.
Used with ascii coding, an extra parity bit is added as the 8th bit for error detection.
Odd and or even parity can be used
Explain odd parity
The parity bit is set so that the total number of 1 bits in the pattern is an odd number
Explain even parity
The parity bit is set so that the total number of 1 bits in the pattern is an even number
How does majority voting work?
Each bit is sent 3 times
This is used so that if an error is detected it can try to be corrected.
Every triplet of digits is checked and if the majority of bits are 1 then the bit is stored as 1 and vice versa for 0
Explain the advantages of majority voting over the use of parity bits?
Error correction in addition to error detection
Disadvantage of majority voting.
Triple the volume of data is sent.
If the wrong bit is sent twice in the same triplet then the code will be read wrong and the system will be unable to identify the cause of error without the data being sent all over again