SLR 12 - coding texts and graphics Flashcards
What is character code?
a decimal digit to represent a character
What does ASCII stand for?
American Standard Code for Information Interchange
What are the two most widely used information coding systems?
- ASCII
- Unicode
How did ASCII develop over time?
- originally had 7 bits (128 different characters)
- created extended ASCII = 8 bit (256 characters)
What was Unicode?
character set that can represent the widest variety of alphabets and symbols universally, using 8 to 48 bits per character
What happens when data is transmitted?
errors occur due to changes during transmission
What are the four different types of error checking?
- parity bit
- majority voting
- checksums
- check digits
How do parity bits work?
- at the start of the byte you send a parity bit
- this makes the total number or bits in the binary number odd (odd number of ones) or even (even number of ones)
- if after transmission the total number of ones is even but you stated the parity was odd you know there has been an error in transmission
What is the con of parity bits?
- if one or more bits are wrong the parity bit is ineffective
What is majority voting?
- each bit gets sent three times
- whichever number occurs most times for each bit is taken as the correct value
- erroneous data is ignored
What are the cons of majority voting?
- There could be an instant where the data is wrong three times
- Also its no the best as you have to send the data three times so more storage
What is a checksum?
- you add up the sum of the binary numbers
- if the sum = the value transmitted then it is correct
What are the cons of a checksum?
if two pieces or multiple pieces of data change but they still add up to the checksum, it might be wrong but you don’t realise
What is a check digit?
- Most commonly in barcodes
- Normally referred to with ISBN, when you give a device a very long number - ISBN number multiplied by weight
- Add all the values
- Divide the value by 10
- Take the remainder away from 10 and that is your check digit
How many bits does an RGB colour pallet use?
24 bits