Back to 课程

Computer Science GCES OCR

0% Complete
0/0 Steps
  1. Cpu Architecture Performance And Embedded Systems Ocr
    5 主题
  2. Primary And Secondary Storage Ocr
    6 主题
  3. Data Storage And Compression Ocr
    12 主题
  4. Networks And Topologies Ocr
    6 主题
  5. Wired And Wireless Networks Protocols And Layers Ocr
    6 主题
  6. Identifying And Preventing Threats To Computer Systems And Networks Ocr
    2 主题
  7. Operating Systems And Utility Software Ocr
    2 主题
  8. Ethical Legal Cultural And Environmental Impact Ocr
    2 主题
  9. Computational Thinking Searching And Sorting Algorithms Ocr
    3 主题
  10. Designing Creating And Refining Algorithms Ocr
    5 主题
  11. Programming Fundamentals And Data Types Ocr
    5 主题
  12. Additional Programming Techniques Ocr
    7 主题
  13. Defensive Design And Testing Ocr
    6 主题
  14. Boolean Logic Diagrams Ocr
    2 主题
  15. Programming Languages And Integrated Development Environments Ides Ocr
    3 主题
  16. The Exam Papers Ocr
    2 主题
  17. Structuring Your Responses Ocr
    3 主题
课 Progress
0% Complete

Exam code:J277

Character Sets

  • Computers represent all data in binary, including characters that are input using a keyboard

  • 1 binary digit (bit) would allow us to represent only two possible characters, for example 1=A and 0=B

  • Using more bits allows more characters to be represented, 2 bits or 22 = 4 and so on

What is a character set?

  • A character set is a defined list of characters that can be understood by a computer 

  • 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

-ascii-table
  • ASCII only represents basic characters needed for English, limiting its use for other languages

Extended ASCII

  • Extended ASCII uses 8 bits, 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 ©

Limitations of ASCII & extended ASCII

  • ASCII has a limited number of characters which means it can only represent the English alphabet, numbers and some special characters

    • A, B, C, ………, Z

    • a, b, c ,………….,z

    • 0, 1, 2,…….., 9

    • !, @, #, …..

  • ASCII cannot represent characters from languages other than English

  • ASCII does not include modern symbols or emojis common in today’s digital communication

Examiner Tips and Tricks

The binary representation of ASCII in the exam will be 8 bits (Extended ASCII)

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

Examiner Tips and Tricks

 Exam questions often ask you to compare ASCII & UNICODE, for example the number of bits, number of characters and what they store

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. 

Worked Example

The computer stores text using the ASCII character set.
 

Part of the ASCII character set is shown:

Character

ASCII Denary Code

E

69

F

70

G

71

H

72

Identify the character that will be represented by the ASCII denary code 76 [1]

L (must be a capital)

Identify a second character set [1]

UNICODE

Responses

您的邮箱地址不会被公开。 必填项已用 * 标注