How does a computer represent TEXT The History





























- Slides: 29

How does a computer represent TEXT ? The History of Computing © London Grid for Learning

a Binary Data HELLO

8 Bit Binary Numbers 128 64 0 1 32 1 16 0 8 0 4 0 1 32 + 64 97 The History of Computing © London Grid for Learning www. HOC. lgfl. net 2 0 U 1

ASCII Code Each alphabet character is given a unique 8 bit code

How many letters can be represented in 8 bits? 128 64 1 1 32 1 16 1 8 1 4 1 Smallest = 0000 = 0 Largest = 1111 = 255 256 2 1 U 1 1 2 4 8 16 32 64 +128 possible letters 8 bits = 1 byte The History of Computing © London Grid for Learning www. HOC. lgfl. net 255

ASCII Code Each alphabet character is given a unique 8 bit code


Explaining Program 1 Op Code 0000 0001 0010 0011 01 00 00 01 Operand 000000010 00010011 00000001 50 +2 - 19 = 33 50 in binary 0110010

Hexadecimal a shorthand for binary 8 4 2 1 0 0 0 U 1 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 2 0 0 1 U 0 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 3 0 0 1 U 1 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 4 0 1 0 U 0 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 5 0 1 0 U 1 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 6 0 1 1 U 0 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 7 0 1 1 U 1 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 8 1 0 0 U 0 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 9 1 0 0 U 1 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 U A 1 0 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 U B 1 0 1 1 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 C 1 1 0 U 0 Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 4 2 U D 1 1 0 1 Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 1 4 2 E 1 1 U 0 Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

Hexadecimal a shorthand for binary 8 1 4 2 F 1 1 U 1 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 A 11 B 12 C 13 D 14 E 15 F

ASCII Code Each alphabet character is given a unique 8 bit code

a Hexadecimal 8 4 0 1 2 U 8 4 2 U 1 0 0 1 61 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 -9 10 A 11 B 12 C 13 D 14 E 15 F

ASCII Code Each alphabet character is given a unique 8 bit code

Hexadecimal 8 M 4 2 U 8 4 2 U 1 0 0 1 1 0 1 4 D 0 The History of Computing © London Grid for Learning www. HOC. lgfl. net Decimal Hexadecimal 0 -9 10 A 11 B 12 C 13 D 14 E 15 F

8 4 2 U 8 4 2 U 8 4 2 U H E L L O 48 45 4 C 4 C 4 F Decimal Hexadecimal 0 -9 10 A 11 B 12 C 13 D 14 E 15 F H 0100 1000 E 4 8 0100 0101 4 L 5 0100 1100 L 4 C 0100 1100 O 4 C 0100 1111 4 F

8 Bit ASCII Code 01001000101 01001100 01001111 Hexadecimal H E L L O 48 45 4 C 4 C 4 F