Professional Documents
Culture Documents
UNIT 1 Lecture 1
UNIT 1 Lecture 1
A code is said to be reflective when the code for 9 is complement for the
code for 0, 8 for 1, 7 for 2, 6 for 3, and 5 for 4.
• In cyclic codes, only one bit in the code changes at a time while
moving from one number to the next.
• It is a non-weighted code, which means that the position of bit does
not contain any weight.
• Example: Grey Codes
Classification of Numeric Codes Contd..
Q. What is parity?
Alphanumeric Codes
• These are codes that consist of both numbers and alphabets.
• The most commonly used alphanumeric codes are ASCII and EBCDIC.
• ASCII: American Standard Code for Information Interchange
• EBCDIC : Extended Binary Coded Decimal Interchange
ASCII Codes
• It is a 7-bit code that represents 128 different characters.
• These 128 characters include
- 52 alphabets, which include A to Z and a to z, numbers from 0
to 9 (that is, 10 numbers), 33 special characters and symbols, and
33 control characters.
EBCDIC
• EBCDIC (Extended Binary Coded Decimal Interchange) is mainly used
with large computer systems like mainframe computers.
• It is an 8-bit code that accommodates up to 256 characters.