Character Storage Flashcards

1
Q

Explain the ASCII character set

A

Most commonly used character set. Each character is given7 bits representing 128 different characters including the English alphabet, numbers, symbols + commands.

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

Explain the Unicode character set

A

Tries to cover every possible character or symbol available. Unicode uses 2 bytes(16 bits) for each character and covers major languages.

Unicode can represent 256 characters.

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

How do you calculate file size

A

File size = Number of bits per character x number of characters

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

Describe how a character set would store the string “hello world”

A

Each character in a character set has a unique binary value that displays in order.

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