what is a weighted code?
In a weighed code the value of a digit in a 4-bit depends on its position such as in BCD code.
what is non-weighted code?
In a non-weighted code, no definite weights are assigned to the four digit position such as in BCD code.