What is unweighted code?
In weighted codes, for each position(or bit),there is specific
weight attached.For example,in binary number,each bit is assigned a
particular weight 2n where n is the bit(or position) number for
n=0,1,2,3,4 and the weights are 1,2,4,8,16 respectively.