Presentation is loading. Please wait.

Presentation is loading. Please wait.

Working with 8-bit bytes and hexadecimal

Similar presentations


Presentation on theme: "Working with 8-bit bytes and hexadecimal"— Presentation transcript:

1 Working with 8-bit bytes and hexadecimal
Lesson Objective: Understand 8-bit bytes and Hexadecimal Lesson Outcome: Convert between 8 bit binary and decimal numbers, convert to/from hexadecimal. Key words: 8 bit byte, decimal, hexadecimal

2 First ... A summary of last lesson

3 1010 What is this in denary? What is 9 in binary? What is the time on this digital clock?

4 A = 01000001 How is data stored? Book Vs Computer
A book stores data with ink and paper A computer stores data as electronic 0’s and 1’s A =

5 Each place is called a BIT (Binary digIT)
Bits and Bytes 128 64 32 16 8 4 2 1 8 Bits make one BYTE Each place is called a BIT (Binary digIT)

6 Rounded off numbers in binary
Examples of ‘rounded off’ numbers in decimal: 10 100 1000 Rounded off numbers in Binary: 2 4 8 16 32 64 128 256 512 1024

7 Kilobyte, Megabytes, Gigabytes
8 bits = 1 byte 1024 Bytes in a Kilobyte 1024 Kilobytes in a Megabyte 1024 Megabytes in a Gigabyte

8 Question What is a BIT?

9 Question How many bits are there in this byte? Answer = 4

10 Question How many bytes are there in a kilobyte? Answer = 1024

11 Converting between denary and binary
10000s 1000s 100s 10s 1s 05565 128 64 32 16 8 4 2 1 = = 65

12 Converting from binary to denary
8 4 2 1 =1 =9 =10 =3 =5 =7

13 Converting between denary and binary
128 64 32 16 8 4 2 1 = = 69 128 64 32 16 8 4 2 1 = = 18

14 Converting between denary and binary
128 64 32 16 8 4 2 1 = = 69 = = 18 = = 35

15 From Denary to Binary 128 64 32 16 8 4 2 1 18 = 21 = 71 =

16 Complete the worksheets
Eight-bit bytes and decimal

17 Binary and Hex digits ... = 0 = 8 = 1 = 9 = A = 2 = 3 = B = 4 = C = 5 = D = 6 = E = F = 7

18 Another binary to hex conversion
= 51 3 3 Assign a number to each of the nibbles ...

19 What are the following binary numbers in denary?
What are the following binary numbers in Hexadecimal? 10 = A 11 = B 12 = C 13 = D 14 = E 15 = F 8 128 4 64 2 32 1 16 8 8 4 4 2 2 1 1 = 67 = 43 = 77 = 4D

20 What are the following binary numbers in Hexadecimal?
8 4 2 1 8 4 2 1 = EB = 5A

21 Using hexadecimal digits

22 Making graphics with Hex
11 = B 12 = C 13 = D 14 = E 15 = F 10 38 7C FE 7C 38 10 00


Download ppt "Working with 8-bit bytes and hexadecimal"

Similar presentations


Ads by Google