MODD / Mr. Hansen

Name: ___________________________

9/21/2015

 

Hexercise (In-Class Worksheet)

Objectives:

            (1)        Develop proficiency in translating from hex to binary and vice versa.

            (2)        Explore one way in which a monochrome bitmap can be encoded and decoded.

 

Instructions:

(1)                Each of you has been assigned 135 bytes of data, as follows:

 

Mark:

FF

FE

DF

EF

FB

EF

6B

FF

F0

FF

FF

3B

F3

FF

BF

50

1F

F0

FF

FC

AF

6F

EF

FF

C0

0F

F0

FF

FE

B6

01

3F

D7

C0

03

F0

FF

FF

5F

82

7F

D7

C0

01

F0

FF

FF

AC

1F

FB

FF

E0

00

F0

FF

FF

FF

80

B3

FF

E0

00

70

FF

FF

F8

00

57

FF

C0

00

70

FF

FF

F8

00

E3

FE

00

00

70

FF

FF

F0

00

00

18

00

00

70

7F

FF

F8

40

00

00

00

00

10

7F

FF

F0

00

00

00

00

00

10

7E

FD

E0

00

00

00

00

00

10

3D

FB

80

00

00

00

00

00

10

31

FC

00

00

00

00

00

00

10

 

Will:

23

C0

00

00

00

00

00

00

10

00

00

00

00

00

00

00

00

10

04

00

00

00

00

00

00

00

00

00

00

00

00

08

00

00

00

00

09

00

00

00

04

10

00

00

00

02

00

00

00

04

00

00

00

00

00

00

00

00

06

00

00

00

00

10

00

00

00

0A

00

00

00

00

20

00

00

00

0A

00

00

00

00

00

00

00

00

06

00

00

00

00

40

01

40

00

00

00

00

00

00

40

01

00

00

00

00

00

00

00

00

01

C0

00

00

00

00

00

20

A0

00

20

00

00

00

00

00

70

80

00

00

00

00

00

00

00

30

Danny:

00

02

00

00

00

00

00

00

A0

40

00

00

00

00

00

00

00

40

00

00

00

00

00

00

00

00

40

40

00

00

00

00

00

00

00

00

40

00

00

00

00

00

00

00

40

C0

02

00

00

00

00

00

00

C0

E0

02

08

00

00

00

00

00

40

E0

06

08

00

00

00

00

01

C0

E0

01

24

00

00

00

00

00

C0

70

03

40

00

00

00

00

00

C0

78

02

50

00

00

00

00

00

C0

38

00

00

00

00

00

00

00

C0

3C

00

00

00

04

00

00

00

C0

1E

00

00

00

0C

00

00

00

80

2E

00

00

00

08

00

00

00

00

 

Peter:

D7

00

00

00

0C

00

00

01

E0

EF

C0

00

00

0C

00

00

01

B0

77

E0

00

00

04

00

00

03

F0

FE

F8

00

00

08

20

00

01

F0

87

F8

00

00

08

00

00

06

F0

83

FF

00

00

00

80

00

0D

F0

01

FF

00

00

04

40

00

03

F0

00

FF

E0

00

03

80

00

07

F0

01

FF

F7

F0

07

F0

00

1F

F0

0F

FF

FC

FE

17

F8

00

3F

F0

1F

FF

FE

07

FF

FE

40

3F

F0

1F

FE

E7

F0

FF

FF

F8

7F

F0

1F

FF

BB

C6

7F

FF

F8

FF

F0

3F

FF

BB

A5

DF

FF

FF

FF

F0

3F

FF

C7

68

FC

81

FF

FF

F0

 

(2)                Using the chart in your textbook (0 = 0000, D = 1101, F = 1111, etc.), decode your bytes into binary only (1’s and 0’s). Write some of these down (several dozen, at least, to get started), but for heaven’s sake, don’t write them all down.

(3)                Translate the 1’s and 0’s into FILLED BLOCKS and BLANK BLOCKS on your grid (provided). Important: Make sure that you fill in the blocks in the correct direction. Turn your grid sideways so that you have 15 rows of 72 columns each. Your 9 bytes in each row should become 72 pixels, since each bytes represents 8 pixels. Byte boundaries are provided on the grid to help keep you properly aligned.

(4)                Double-check another student’s work to make sure you are both correct.

(5)                Fold on the short dotted lines, and see if you can assemble all 4 bitmaps into a coherent picture.


(fold on dotted lines)