Computer Science, asked by Troll2699, 10 months ago

Difference between weighted and unweighted binary code

Answers

Answered by edwardaa
2

Answer:Weighted Codes:-The weighted codes are those that obey the position weighting principle,which states that the position of each number represent a specific weight. In these codes each decimal digit is represented by a group of four bits.

In weighted codes, each digit is assigned a specific weight according to its position. For example, in 8421/BCD code, 1001 the weights of 1, 1, 0, 1 (from left to right) are 8, 4, 2 and 1 respectively.

There are millions of weighted code The most common one is 8421/BCD Code.

Examples:8421,2421,84-2-1 are all weighted codes.

Non-weighted codes: The non-weighted codes are not positionally weighted . In other words codes that are not assigned with any weight to each digit position.

Examples:Excess-3(XS-3) and Gray Codes.

Explanation:

Similar questions