Digital Information: Storing Text in Binary Flashcards

1
Q

Encodings

A

mappings from a character to a binary number

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

How any symbols can the 2-bit encoding represent? and why

A

4 bc 00, 01, 10, 11

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

ASCII encoding stands for

A

American Standard Code for Information Interchange

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

ASCII encoding

A

the most common character encoding format for text data in computers and on the internet

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

Each ASCII character is encoded in binary using how many bits

A

7

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

problems of the ASCII encoding

A
  • only English characters
  • represents characters with 7 bits which wastes memory for computers that store info in bytes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Unicode

A

a universal character set which assigns each character a code point and a name to each character

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

How are the characters in the ASCII table converted to be stored into a computer

A

the characters are converted to decimal and then to binary

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

What problem did Unicode solve of ASCII and how did they do so

A

they fixed the fact that ASCII only had English and they did this by making characters that were used by all the languages + the individual ones with more specific codes and names

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

example of something in Unicode

A

“ą” is assigned to “U+0105” and named “Latin Small Letter A with Ogonek”

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

Unicode ___ (is/is not) a character set but it ____ (is/is not) an encoding

A

is, is not

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

UTF-8

A

an encoding that is compatible with ASCII encoding but also solves its problems because it can describe the characters in Unicode with 1-4 bytes

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

how do you know if a character is demonstrated by a UTF sequence

A

if the first number is a 0, the first two numbers are 1, start with 1110, orstart with 11110

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

what kind of encoding do most html files use

A

utf-8

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