Study of Binary to Gray code converter

1.A code converter is a logic circuit that:
2.The primary use for Gray code is
3.Why is the Gray code more practical to use when coding the position of a rotating shaft?