Character Encoding Flashcards

(15 cards)

1
Q

What is character encoding?

A

Character encoding is used to assign binary values to characters so they can be read by humans.

Character encoding acts as a dictionary for computers to look up which human character corresponds to a given binary value.

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

What is the oldest character encoding standard?

A

ASCII

ASCII represents the English alphabet, digits, and punctuation marks.

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

What binary value does the lowercase ‘a’ represent in ASCII?

A

01100001

This mapping is done for all characters in the English alphabet, numbers, and some special symbols.

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

How many values does ASCII use out of the possible 256?

A

127

ASCII was sufficient for a long time but eventually became inadequate.

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

What is the most prevalent character encoding standard used today?

A

UTF-8

UTF-8 includes the ASCII table and allows for a variable number of bytes.

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

Why can’t emojis be represented with a single byte?

A

Because a single byte can only store one character.

UTF-8 allows characters to be stored in more than one byte, enabling emoji representation.

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

What standard is UTF-8 built off of?

A

The Unicode Standard

The Unicode Standard helps represent character encoding in a consistent manner.

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

What is the RGB color model?

A

A color model that uses red, green, and blue to create a full range of colors.

Mixing these colors in different combinations allows representation of various shades.

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

How many characters are used to represent colors in the RGB model?

A

Three characters

Each character represents a shade of the color, affecting the pixel color on the screen.

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

Fill in the blank: Character encoding is like a _______.

A

dictionary

It helps computers match binary values to human-readable characters.

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

True or False: UTF-8 can only represent characters using one byte.

A

False

UTF-8 allows for a variable number of bytes to represent characters, including emojis.

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

What range of values can character encoding represent?

A

256 possible values

This includes letters, numbers, punctuation marks, and emojis.

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

What do we use to represent color in computers?

A

Color models

The RGB model is a basic example commonly used.

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

How does mixing colors in the RGB model work?

A

By combining red, green, and blue in various amounts to create different colors.

This mixing is similar to how colors are combined in the physical world.

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

What allows us to represent everything we see on a computer screen?

A

Combinations of zeros and ones

These combinations enable the display of letters, images, and videos.

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