Character Storage Flashcards

1
Q

What is a character set?

A
  • A character set is a table that matches together a character and a binary value.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Why are character sets necessary?

A
  • They allow computers to exchange data and humans to input characters.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

ASCII:

A
  • A common character set which doesn’t take up too much space.
  • ASCII uses 1 byte (8 bits) which gives 256 possible characters.
  • Can’t be used for all punctuation symbols or other languages
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Unicode:

A
  • Popular character set because it uses 2 bytes (16 bits) that allow for 65,536 possible characters.
  • Allows many different languages to be represented, as well as thousands of symbols and emojis.
  • It requires more memory to store each character than ASCII as it uses an extra byte.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

File Size Calculation:

A

Bits per character * Number of characters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly