Coding Text Flashcards
What is a bit?
The smallest unit of data in a computer, represented as 0 or 1.
How many characters can be represented with 2 bits?
4
How many characters can be represented with 3 bits?
8
How many characters can be represented with 4 bits?
16
How many characters can be represented with 8 bits?
256
What is ASCII?
A 7-bit character encoding system representing 128 characters.
Why is the 8th bit used in ASCII?
For parity or extended characters.
How does Unicode differ from ASCII?
Unicode uses 8, 16, or 32 bits to represent a wider range of characters across multiple languages.
What are the advantages of Unicode?
Universal standard for all languages. Supports many more characters.
What are the disadvantages of Unicode?
Requires more storage. Increased complexity compared to ASCII.
What is a parity bit?
A bit added to ensure the total number of 1s in a byte is even or odd for error detection.
What is majority voting?
Each bit is sent three times; the most common value is used to detect and correct errors.
What is the purpose of a check digit?
To verify the accuracy of a data entry using weighted calculations.
How would the character ‘A’ be represented in ASCII using 7 bits?
1000001
How many characters can be represented using 7 bits?
128 characters.