Data Representation - Characters (ASCII and Unicode) Flashcards

1
Q

What are character sets?

A

Collections of characters that a computer recognises from their binary representation

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

How are alphanumeric characters used?

A

To make words and strings

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

What happens when you press a button on the keyboard?

A

It sends a binary signal to the computer telling it which key you pressed

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

How many bits are in ASCII?

A

7-bit which means 128 different characters

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

What characters does ASCII include?

A

All letters in the English alphabet, numbers, symbols and commands

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

Why is an extra bit (usually 0) sometimes added to the start of binary code for each ASCII character?

A

So that it fits nicely into 1 byte

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

What does ASCII stand for?

A

American Standard Code for Information Interchange

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

How are characters ordered in ASCII?

A

They are in order - A comes before B which comes before C
Symbols and commands are scattered around

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

What is extended ASCII?

A

8-bit binary code used to represent 256 characters - first 128 are the same as 7-bit ASCII but with a 0 in front

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

Why is extended ASCII used?

A

To represent other things like math symbols and characters from other languages (German or French)

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

What is the major advantage of using Unicode?

A

It covers all major language - Greek, Russia, Chinese…

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

What are the first 128 codes in Unicode?

A

The same as ASCII

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

What is Unicode?

A

Comes in different forms and tries to cover every possible letter or symbol that might be written

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

What are the two common character sets?

A

ASCII
Unicode

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

How is Unicode different to ASCII.

A

Unicode uses multiple bytes for each character where ASCII uses 1 byte per character

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