Presentation is loading. Please wait.

Presentation is loading. Please wait.

Name(s): _______________________ Encoding LEGO Blocks Additional Practice You’ve already tried encoding instructions to build a LEGO tower into binary.

Similar presentations


Presentation on theme: "Name(s): _______________________ Encoding LEGO Blocks Additional Practice You’ve already tried encoding instructions to build a LEGO tower into binary."— Presentation transcript:

1 Name(s): _______________________ Encoding LEGO Blocks Additional Practice You’ve already tried encoding instructions to build a LEGO tower into binary and decoding binary instructions to build a LEGO tower. What are some advantages of encoding the instructions? What are some disadvantages of encoding the instructions into binary? How might you some some of those problems?

2 Color Red001 Yellow010 Black011 Brick Type 2 x 4010100 2 x 3010011 2 x 2010010 Orientation Horizontal00 Vertical01 Number 1001 2010 3011 4100 5101 6110 BlockColorSizeOrientationXY BlockColorSizeOrientationXY Can you make an instruction table for this tower? Hint: start with a normal instruction table, and then encode it into binary afterwards. You might need to add some colors and sizes to the legend on the left!

3 Color Red001 Yellow010 Black011 Blue100 White101 Brick Type 2 x 4010100 2 x 3010011 2 x 2010010 1 x 1001001 1 x 2001010 1 x 3001011 Orientation Horizontal00 Vertical01 Number 1001 2010 3011 4100 5101 6110 BlockColorSizeOrientationXY 00010001010000010001 10001010000001 01010001001001101001 011 00100101011010 10010100101100010 101 00101000011010 BlockColorSizeOrientationXY Here’s an encoded instruction table for a small LEGO tower. Can you figure out what this tower is supposed to look like? Hint: first, decode the instruction table using the legend on the left, and then follow the instructions to recreate the tower. Here’s an empty table you can fill with the decoded block attributes:


Download ppt "Name(s): _______________________ Encoding LEGO Blocks Additional Practice You’ve already tried encoding instructions to build a LEGO tower into binary."

Similar presentations


Ads by Google