Explain the following: (i) Gray Code (ii) ASCII (iii) EBCDIC.
Explain
the
Answers
Answer:
Explanation:
ASCII (American Standard Code Information Interchange) code :
It is 7-bit or 8-bit alphanumeric code.
7-bit code is standard ASCII supports 127 characters.
Standard ASCII series starts from 00h to 7Fh, where 00h-1Fh are used as control characters and 20h-7Fh as graphics symbols.
8-bit code is extended ASCII supports 256 symbols where special graphics and math's symbols are added.
Extended ASCII series starts from 80h to FFh. EBCDIC (Extended Binary Coded Decimal Interchange Code) code
8-bit alphanumeric code developed by IBM, supports 256 symbols.
It was mainly used in IBM mainframe computers. Gray code
Differs from leading and following number by a single bit.
Gray code for 2 is 0011 and for 3 is 0010.
No weights are assigned to the bit positions.
Extensively used in shaft encoders