Homeβ€ΊStudy Resourcesβ€ΊComputer Scienceβ€Ί
What is extended ASCII?
Computer Science
National 5

What is extended ASCII?

Extended ASCII is a character set that uses 8 bits to store each character, so it can represent 256 different characters. It is more than the 128 that 7 bits allow. In National 5 Computing Science, you use it to explain how a computer stores text as binary. Example: How many bits store the text HELLO? 5 characters Γ— 8 bits = 40 bits. Answer: 40 bits (5 bytes).

Quick answer: What is extended ASCII? Extended ASCII is a character set that stores each character in 8 bits, giving 28 = 256 possible characters. This page covers National 5 Computing Science, SQA (C816 75).

Key rule

  • Number of characters = 2bits, so 8 bits give 28 = 256 (7 bits give 27 = 128).
  • Size in bits = number of characters Γ— 8.
  • Size in bytes = bits Γ· 8.

Extra example

How many bits and bytes store the word HELLO?

  1. HELLO has 5 characters.
  2. Each uses 8 bits.
  3. 5 Γ— 8 = 40 bits.
  4. 40 Γ· 8 = 5 bytes.

Answer: 40 bits, which is 5 bytes.

Extra example

The extended ASCII code for A is 65. Write it as 8-bit binary.

  1. 65 = 64 + 1.
  2. Place 1s in the 64 and 1 columns and 0s elsewhere.
  3. 8-bit pattern: 0 1 0 0 0 0 0 1.

Answer: 01000001

Extra example

How many more characters does 8-bit give than 7-bit?

  1. 7 bits give 27 = 128 characters.
  2. 8 bits give 28 = 256 characters.
  3. 256 βˆ’ 128 = 128.

Answer: 128 more characters, double the amount.

Want one-to-one help? Find an online Computer Science tutor with ExpertTutor.

Reviewed by

Want one-to-one support?

One-to-one online tuition can help you build confidence in your subject. Find a tutor who teaches your course.

Find a Tutor

Learn face to face in Glasgow

Prefer in-person lessons? Visit the ExpertTutor Glasgow Southside centre.

See the centre