3b - Coding Text Flashcards
(7 cards)
What is a parity bit?
A parity bit is an extra bit added to a binary number to ensure that the total number of 1 bits is even or odd.
How is a parity bit used during data transmission of a single character?
- The total number of 1 bits is calculated before transmission.
- A 0 or 1 bit is added to the 7-bit code.
- The total number of 1 bits must compute to an even number.
- The number of 1 bits is re-calculated after received.
- An odd number of 1 bits indicates an error.
Why can’t an 8-bit representation of a number be stored in UNICODE?
UNICODE is 16-bit, so eight extra 0’s will be needed.
What is meant by a character code?
A character code uses a unique number/code to represent each different character.
How are alphabetic characters represented in a computer system?
Each character is stored as a unique code.
What are two differences between Unicode and ASCII?
- Unicode uses more bits for each character
- ASCII uses fewer bits for each character
- Unicode can represent a wider range of characters
- ASCII can represent a smaller range of characters
- Unicode uses 16/32 bits, ASCII uses 7 bits (or 8 bits).
What is the key difference between lossless and lossy compression methods?
Lossless compression allows for full recovery of the original data, while lossy compression does not allow for recovery and degrades the data.