Back to marketplace

4. Data representation and data types

No description yet. This curated deck is ready for daily study.

Total cards: 9•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (9)

#1
Front (Question)

What is a character set?

Back (Answer)

A defined list of characters recognized by the computer’s hardware and software, with each character being represented by a number. They are agreed standards for referring to all the characters a computer can use.

#2
Front (Question)

What is ASCII?

Back (Answer)

A 7-bit character set that has space for 128 symbols, enough for standard English. The codes are stored by computers as 8 bits with the MSB set to 0.

#3
Front (Question)

What is extended ASCII?

Back (Answer)

An 8-bit character set that provides extra characters for foreign languages and graphic symbols.

#4
Front (Question)

What is Unicode?

Back (Answer)

A 24-bit character set that has characters from every written language, historic symbols and emojis. Hexadecimal is often used instead of binary as writing 24 bits is slow and cumbersome.

#5
Front (Question)

How many bits are needed to store a single character?

Back (Answer)

8 bits (ASCII) 16 bits (Unicode)

#6
Front (Question)

How many bits are needed to store a string?

Back (Answer)

8 bits per character (ASCII) 16 bits per character (Unicode)

#7
Front (Question)

How many bits are needed to store an unsigned/signed integer?

Back (Answer)

16 bits (short integer) 64 bits (long integer)

#8
Front (Question)

How many bits are needed to store a boolean?

Back (Answer)

1 bit

#9
Front (Question)

What are the advantages of using standardized character sets?

Back (Answer)

• ensures all computers use the same character representation • Unicode allows storage of complex characters such as Chinese symbols • Unicode can represent a larger range of characters than ASCII