Lesson 2 8-Bit Binary Code Student Extension

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Binary Code

Task 1: Convert these denary numbers to binary:

Denary Number 128 64 32 16 8 4 2 1 Binary Number

5 0 0 0 0 0 1 0 1 101

3 0 0 0 0 0 0 1 1 011

2 0 0 0 0 0 0 1 0 010

0 0 0 0 0 0 0 0 0 000

6 0 0 0 0 0 1 1 0 110

10 0 0 0 0 1 0 1 0 1010

17 0 0 0 1 0 0 0 1 10001

20 0 0 0 1 0 1 0 0 10100

42 0 0 1 0 1 0 1 0 101010

47 0 0 1 0 1 1 1 1 101111

71 0 1 0 0 0 1 1 1 1000111

146 1 0 0 1 0 0 1 0 10010010

255 1 1 1 1 1 1 1 1 11111111

Task 2: Work with a friend, give them a number under 255 and see if they can
convert it into binary.

Denary Number 128 64 32 16 8 4 2 1 Binary Number

199 1 1 0 0 0 1 1 1 11000111
95 0 1 0 1 1 1 1 1 01011111

218 1 1 1 1 1 0 1 0 11111010

69 0 1 0 0 0 1 0 1 01000101
Binary Code

Task 3: Convert these binary numbers into denary

Denary Number 128 64 32 16 8 4 2 1 Binary Number

24 0 0 0 1 1 0 0 0 00011000
5 0 0 0 0 0 1 0 1 00000101

22 0 0 0 1 0 1 1 0 00010110

107 0 1 1 0 1 0 1 1 01101011

104 0 1 1 1 1 0 0 0 01111000

164 1 0 1 0 0 1 0 0 10100100

165 1 0 1 0 0 1 0 1 10100101

188 1 0 1 1 1 1 0 0 10111100

215 1 1 0 1 0 1 1 1 11010111

230 1 1 1 0 0 1 1 0 11100110

250 1 1 1 1 1 0 1 0 11111010

You might also like