Representing Text Flashcards
(39 cards)
What is a character set?
a list of characters and the codes used to represent each one
What does ASCII stand for?
American Standard Code for Information Interchange
The original ASCII had how many bits?
7 for 128 unique characters
How many control characters are there?
33
How many bits does the “later/new” ASCII have?
8
The first and last ____ of the ASCII are control characters/hidden characters
32
Uppercase letters start when?
65
Lowercase letters start when?
97
What is the difference between the upper and lower case letters?
32
Where is 0-9 coded consecutively?
48-57
Where is A-Z coded consecutively?
65-90
Where is a-z coded consecutively?
97-122
What is Unicode?
superset of ASCII
- bigger character set than ASCII
How many bits are in Unicode?
16
True or False
In Unicode, 1-127 is the same as ASCII, but 128-255 are symbols and accented letters
True
What is data compression?
It is a reduction in the amount of space needed to store a piece of data
What is ratio compression?
It is the size of the compressed data divided by the size of the original data
What are the 2 techniques for data compression?
- Lossless
- Lossy
What does Lossless mean?
The data can be retrieved without any loss of the original information
What does Lossy mean?
Some information may be lost in the process of compaction
What are the 3 examples of techniques for data compression?
- Keyword encoding
- Run-length encoding
- Huffman encoding
Is Keyword encoding effective?
No, it is the least effective
Which technique is good for compressing data with lots of spaces?
Run-length encoding
Which example is the most effective?
Huffman encoding