Save
...
1.2 Memory and Storage
1.2.4 Data Storage
Exploring characters
Save
Share
Learn
Content
Leaderboard
Share
Learn
Cards (28)
Unicode represents over 100,000 characters from the world's writing
systems
ASCII is widely compatible with older
systems
In ASCII, the character 'A' is stored as 65 in hexadecimal notation as
0x41
UTF-16 always uses two bytes per character.
False
The UTF-16 character '你好' is stored using four bytes.
True
ASCII represents 128 characters using the range
0-127
.
ASCII uses 7 bits to represent
128
characters.
Match the encoding scheme with its key feature:
ASCII ↔️ Simple and widely compatible
Unicode ↔️ Universal and versatile
Order the following character encodings by their byte usage for the same character:
1️⃣ ASCII
2️⃣ UTF-8
3️⃣ UTF-16
ASCII represents 128 characters, including English letters, digits, and symbols.
True
Match the encoding scheme with its key features:
ASCII ↔️ Uses 7 bits (128 characters)
Unicode ↔️ Uses 16 to 32 bits
Match the encoding scheme with its bytes per character:
ASCII ↔️ 1 byte
UTF-8 ↔️ 1-4 bytes
UTF-16 ↔️ 2 or 4 bytes
ASCII uses
1
byte per character.
The UTF-8 character 'é' requires
2
bytes for storage.
What is a character encoding scheme used in computer science?
ASCII
Which encoding scheme provides a much broader character set than ASCII?
Unicode
What is the primary advantage of Unicode over ASCII?
Supports multiple languages
UTF-16 uses a fixed two bytes for all characters.
False
Control characters like tab and
newline
are used for document formatting.
True
In computer science, characters are the basic units of
text
Unicode provides a broader character set than
ASCII
.
True
Character storage involves using bytes and multibyte
representations
What are the two methods used to store character data?
Bytes and multibyte representations
How many bytes are used to store the ASCII character 'A'?
1 byte
Unicode can represent over 100,000
characters
.
True
Unicode uses 16 to 32 bits to support characters from multiple languages.
True
Multibyte representations are used for characters not covered in
ASCII
.
Special characters include symbols, punctuation marks, and control
functions
.