Answer:
1. What is gray cipher code for the value of 12?
Additional information:
With a Gray cipher each binary value in a sequence differs by just one bit. Take a value of i, and calculate i EX-OR (i >> 1), and where >> is a shift bit right. For example, if we have 4 (0100), we have: i 0100 EX-OR 0010 ---- 0110
Ans: 1010