Calculation of hamming code for the bit sequence

Asked By 7060 points N/A Posted on -

Calculate the Hamming code for the bit sequence of 10111100.

Difference between subnet and classless addressing. Please give the solution for the same.


Answered By 0 points N/A #82897

Calculation of hamming code for the bit sequence


Hi Anonymous,

It seems this is your assignment, have you solved this already? 10111100 is binary, and belongs to A class First byte is a network option and can have 3 host option.

There was a better known VLSM or Variable length subnet masking, because many classes were wasted. It can show the boundary of host and network address. Subnet mask sometimes called the extended network prefix. It identifies the two sections of IP addresses and host field, and can be written as dotted decimal or slash because lots of classes were wasted, subnet was the solution. It is divided network into smaller network called subnet in the classless production environment.

1 is the network and subnet portion of the address while 0 is the host portion of the address. You want me to convert that to dotted decimal notation? That's your assignment, just try to exercise your brain, and practice makes perfect. I will teach you hamming code- construction:

1. Begin with a 4 bit string. Recall that a bit is a digit which is either 1 or 0

2. Call the string a1a2a3a4

3. Three check digits c1 ,c2 ,c3 will be attached to the 4 bit string to produce a 7 bit string and sum of c1,c2 and c3 below

C1= 0 if a1 + a2 + a3 is even and c1= 1 if a1 + a2 + a3 is odd

C2= 0 if a1 + a3+ a4 is even and c2 = 1 if a1 + a3 +a4 is odd

C3= 0 if a2 +a3+a4 is even and c3 = 1 if a2 +a3 +a4 is odd

If you think that it is not a hamming code, you can compute the hamming distance and get the hamming code.

I will come back to you later on.

Login/Register to Answer

Related Questions