1) Weighted Number System
2) Un-weighted Number System
1) Weighted Number System: The weighted code has a position weighting principle, where each position represents a fixed weight.
Example: Every position has a weight
2) Un-weighted Number System: The non-weighted codes are not positionally weighted i.e. here not assign any weight.
Example: Gray Code and Excess – 3 Code, etc.
Here we are discussing the weighted number system:
Weighted Number:
A number system with base r will contain r different digit 0 to r – 1.
Why other number system required except decimal and binary:
In the Binary number system, number representation requires a huge number of bits for a larger number. So, in order to reduce the number of bits in the representation of a large number, number systems with higher bases are used. Two well-known number systems are octal number system (0, 1, …, 7) with base 8 and hexadecimal number system (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F) with base 16.