Computer-science_A-level_Cie
-
computers-and-components6 主题
-
logic-gates-and-logic-circuits2 主题
-
central-processing-unit-cpu-architecture6 主题
-
assembly-language-4 主题
-
bit-manipulation1 主题
-
operating-systems3 主题
-
language-translators2 主题
-
data-security3 主题
-
data-integrity1 主题
-
ethics-and-ownership3 主题
-
database-concepts3 主题
-
database-management-systems-dbms-1 主题
-
data-definition-language-ddl-and-data-manipulation-language-dml1 主题
-
computational-thinking-skills1 主题
-
algorithms14 主题
-
data-types-and-records2 主题
-
arrays2 主题
-
files1 主题
-
introduction-to-abstract-data-types-adt1 主题
-
programming-basics1 主题
-
constructs2 主题
-
structured-programming1 主题
-
program-development-life-cycle2 主题
-
program-design-2 主题
-
program-testing-and-maintenance3 主题
-
user-defined-data-types1 主题
-
file-organisation-and-access-3 主题
-
floating-point-numbers-representation-and-manipulation3 主题
-
protocols2 主题
-
circuit-switching-packet-switching1 主题
-
processors-parallel-processing-and-virtual-machines5 主题
-
boolean-algebra-and-logic-circuits4 主题
-
purposes-of-an-operating-system-os3 主题
-
translation-software3 主题
-
encryption-encryption-protocols-and-digital-certificates3 主题
-
artificial-intelligence-ai4 主题
-
recursion1 主题
-
programming-paradigms4 主题
-
object-oriented-programming7 主题
-
file-processing-and-exception-handling2 主题
-
data-representation5 主题
-
multimedia3 主题
-
compression2 主题
-
networks-and-the-internet11 主题
character-encoding
Character sets
What is a character set?
-
A character set is all the characters and symbols that can be represented by a computer system
-
Each character is given a unique binary code
-
Character sets are ordered logically, the code for ‘B’ is one more than the code for ‘A’
-
A character set provides a standard for computers to communicate and send/receive information
-
Without a character set, one system might interpret 01000001 differently from another
-
The number of characters that can be represented is determined by the number of bits used by the character set
-
Two common character sets are:
-
American Standard Code for Information Interchange (ASCII)
-
Universal Character Encoding (UNICODE)
-
ASCII
What is ASCII?
-
ASCII is a character set and was an accepted standard for information interchange
-
ASCII uses 7 bits, providing 27 unique codes (128) or a maximum of 128 characters it can represent
-
This is enough to represent the letters, numbers, and symbols from a standard keyboard
-
The sixth bit changes from 1 to 0 when comparing uppercase and lowercase characters
-
a 0110 0001
-
A 0100 0001
-
b 0110 0010
-
B 0100 0010
-
-
This made conversion between the two much easier
-
This speeds up the overall usability of the character set

-
ASCII only represents basic characters needed for English, limiting its use for other languages
Extended ASCII
What is extended ASCII?
-
Extended ASCII uses an 8th bit, providing 256 unique codes (28 = 256) or a maximum of 256 characters it can represent
-
Extended ASCII provides essential characters such as mathematical operators and more recent symbols such as ©
-
This allows for non-English characters and for drawing characters to be included
UNICODE
What is UNICODE?
-
UNICODE is a character set and was created as a solution to the limitations of ASCII
-
UNICODE uses a minimum of 16 bits, providing 216 unique codes (65,536) or a minimum of 65,536 characters it can represent
-
UNICODE can represent characters from all the major languages around the world
-
UNICODE was designed to create a universal standard that covered all languages and all writing systems
-
The first 128 characters in the UNICODE character set are the same as ASCII
ASCII vs UNICODE
|
|
ASCII |
UNICODE |
|---|---|---|
|
Number of bits |
7-bits |
16-bits |
|
Number of characters |
128 characters |
65,536 characters |
|
Uses |
Used to represent characters in the English language. |
Used to represent characters across the world. |
|
Benefits |
It uses a lot less storage space than UNICODE. |
It can represent more characters than ASCII. It can support all common characters across the world. It can represent special characters such as emoji’s. |
|
Drawbacks |
It can only represent 128 characters. It cannot store special characters such as emoji’s. |
It uses a lot more storage space than ASCII. |
Responses