Character coding schemes Flashcards

1
Q

How many different patterns do we need to represent all the characters on a computer keyboard?

A

approximately 120

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

How many bits do we need to give us that number of patterns?

A

7

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

How many bits are used in the ASCII coding scheme?

A

7

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

How many bits are used in Extended ASCII?

How many characters can be encoded?

A

8

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

How many bits are used in Unicode?

A

16

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

How many different characters can be represented using Unicode?

A

2^16

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

Explain why EBCDIC is not as programmer friendly as ASCII

A

Because the values assigned to sequential assignment of values in binary.
Operations converting uppercase to lower case is easy in ASCII but not easy in EBCDIC.

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

How many different character codes can be represented using 7-bit ASCII?

A

128

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

Describe what is meant by a character set

A

Number of characters that can be accepted by a computer system.

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

Explain why mobile phones that can send emoji would use Unicode instead of ASCII as their character set

A

Not enough bits in ASCII

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

Explain two differences between Unicode and ASCII

A

Unicode and ASCII use different number of bits.
ASCII for standard characters
Unicode - many languages

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

Explain what is common in Unicode and ASCII

A

The first byte uses the same characters

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

State one advantage of using Unicode instead of ASCII

A

Store more characters, multiple languages 2^16

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

State one advantages of using Unicode instead of ASCII

A

More memory used for each character

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