CS 3343/3341 Analysis of Algorithms Spring 2012 |
Questions and Corrections,
with Responses |
The 3-bit stored value
< a , b , c >
represents the 2-bit value < a ⊕ b , a ⊕ c >, where ⊕ is exclusive-or. |
Info 1st burn 2nd burn 01 001 110 11 100 011 10 010 101 11 100 011 00 000 111 10 010 101Is this all you need? I got confused when you ask for: show the result: 10 01 00 11 10 10? What do you mean? I read the WOM article but got no explanation.... Answer: The numbers at the end, under "show the result: 10 01 00 11 10 10 ..." are not the result of the second burn. These are supposed to be the information that you use for the second burn. In your data above, your first burn is correct. Then you attempt to use the same information bits for the second burn. This is permitted (though not what the question asked for), and the result would be the same column of 3-bit values as in the 2nd column (the first burn). For burning new information "00" on top of "000", you can use either "111" or "000". Look at your second burn. You show "110" being burned on top of "001". This is not possible. You cannot "unburn" the third bit once it's burned. This is why we have to use the same code as in the first generation when we burn the same information a second time. The problem asks you to burn a new set of information for the second burn. After burning "001" to represent the information "01", you are asked to burn information "10" for a second burn. Then continue using 10 01 00 11 10 10 for your second burn. Don't forget to show that you can use the xor formula to get the original information back, whether first or second burn. (And be careful that my notation differs slightly from that of the article.)