Weighted and Unweighted Code in Digital Number System

Weighted Code

=>In Weighted Codes  each digit of a code have its positional weight.
=> Weighted codes contains three parts in each code. The positional digit,Base or Radix(r), Exponents i.e. the positional weightage.
=> With base or radix r, there contains 0 to (r-1) different digits.
=>Some Examples of Weighted codes are Binary Code, Octal Code, Decimal Code, Hexadecimal code, Binary Coded Decimal (BCD) Code etc.
=> With 2 Base system there exist two digits(0,1), with 8 Base system(i.e. Octal) there exist (0,1,2,3,4,5,6,7) digits and similarly for other systems
=>with 6 Base/Radix system there exist 0,1,2,3,4,5 digits.
=> A binary Code 110010, here the last digit i.e.0 having positional weightage of zero and 1st digit i.e. 1 is having positional weightage of 6.

Unweighted Code

=>In Unweighted  Code each digit of the code do not  have any positional weight.
=>Some Examples of Weighted codes are Excess3 code, Gray code etc.
=>Gray Codes is minimun error code since its two nearer Codes are differ by 1 bit only.
=> Gray of  2 is 0011 and 3 is 0010 and so on.
=> Excess 3 of 2 i.e 0010 is 5 i.e. 0101.  

No comments:

Post a Comment

RECENT UPDATES

Linked Topics

Related Posts Plugin for WordPress, Blogger...