1.4.1 Data Types Flashcards
Define character
Single symbol used by a computer
Define string
Collection of characters
What denary numbers do A, B, C, D, E, F in hex represent?
10, 11, 12, 13, 14, 15
What does ASCII stand for?
American Standard Code for Information Interchange
How does ASCII represent characters?
Using 7 bits to represent 2^7=128 different characters.
Define the character set of a computer.
A published collection of codes and corresponding characters which can be understood and used by computers for representing text.
How are codes used to represent a character set?
Each character has a unique binary code.
Each character uses 1 byte.
ASCII is an example.
How does Unicode solve ASCII’s problem of limited characters?
It uses a varying number of bits allowing for over 1 million different characters, many of which have yet to be allocated.
What else can we afford to represent with Unicode’s vast capacity?
Different languages, symbols, emojis