Question

In: Computer Science

For Networks -> Please show me how to do the following: a.)   Calculate the parity of...

For Networks -> Please show me how to do the following:

a.)   Calculate the parity of a signal.

b.) Calculate the parity of a signal using interleaving.

Solutions

Expert Solution

A parity bit is a single bit that can be appended to a binary string.It is either set to 1 or 0 to make the total number of 1 bits either even or odd.The purpose for doing this is to provide a simple way for detecting and correcting errors in the received signal.All bit positions that are power of 2 are marked as parity bits in a signal.For example bit positions at(1,2,4,8etc) are marked as parity bits.The value of this parity bits is calculated by alternative check and skip concept.For example for calculating the value of parity bit at position 1 it checks one data bit and skips one then checks another one and then skips one and so on.For calculating the parity bit at position 2 we check first two data bits and skip next two data bits then we again check another two data bits and then skip next two and so on.

Question: A 7 bit hamming code is received as 1011011.Assume even parity and state whether the received code is correct or wrong?Assume even parity.

Answer: d7 d6 d5 d4 d3 d2 d1=1 0 1 1 0 1 1.

  In a 7 bit signal there can be only 3 parity bits i.e p1,p2 and p4.

value of p1 =1 as d1 d3 d5 d7= 1 0 1 1 ( odd no of 1’s)

value of p2 =0 as d2 d3 d6 d7= 1 0 0 1 (even no of 1’s)

value of p4=1 as d4 d5 d6 d7= 1 1 0 1 ( odd no of 1’s)

So there is an error in the signal

and error position is decimal value of p1 p2 p4=1 0 1 which is 5.So error is in the 5 th bit position of the signal.


Related Solutions

For Networks -> Please show me how to do the following: a.)   Calculate the CRC of...
For Networks -> Please show me how to do the following: a.)   Calculate the CRC of a signal given a generating function and a # of bits to add. b.)   Calculate the checksum of a signal.
Please show me how to do the following: a.)   Given a binary signal calculate the hamming...
Please show me how to do the following: a.)   Given a binary signal calculate the hamming code. b.)   Given a hamming code with an error, show how to find where the error is and correct it.
Please show me how to do the following in excel. An additional "show formulas" would also...
Please show me how to do the following in excel. An additional "show formulas" would also be helpful. NOK Plastics is considering the acquisition of a new plastic injection-molding machine to make a line of plastic fittings. The cost of the machine and dies is $125,000. Shipping and installation is another $8,000. NOK estimates that new project will require $7,500 in inventory, and result in a $7,500 increase in accounts receivable and a $5,000 increase in accounts payable. The latter...
Can someone please show me how to do the work on this please. Question The transactions...
Can someone please show me how to do the work on this please. Question The transactions of the Fury Delivery Service are recorded in the general journal below. Instructions: 1. Post the journal entries to the attached general ledger “T” accounts. 2. Prepare a trial balance on the form provided after the “T” accounts. General Journal Date Account Titles and Explanation Debit Credit 2017 Sept. 1 Cash Common Stock (Stockholders invested cash in business) 25,000 25,000 4 Equipment Cash Notes...
Please show me how to calculate (a) to (c) The RTO model for smartphones would work...
Please show me how to calculate (a) to (c) The RTO model for smartphones would work as follwos; Customers could lease a high-end smartphone such as the Apple iPhone with retail price of $649 for a monthly fee of $30 with a minimum term of 12 months. After the minimum term, customers would have three options: (1) buy the leased phone for $499 or (2) continue leasing the phone for 30/ moth or (3) return the leased phone to BB...
Could you please show me how to calculate the probability density function (pdf) e.g. the scaled...
Could you please show me how to calculate the probability density function (pdf) e.g. the scaled frequency. You will need to give the absolute frequency, relative frequency and the scaled frequency of the values below. Please show all working out. Please only answer if you are 100% sure you can solve it accurately and provide all of the correct working out. Thank you force (kN)                                                   Distance (m)       2.11                                                                    2.33 2.33                                                                   3.42 3.02                                                                  3.13 3.02                                                            ...
Could you please show me how to calculate the probability density function (pdf) e.g. the scaled...
Could you please show me how to calculate the probability density function (pdf) e.g. the scaled frequency. You will need to give the absolute frequency, relative frequency and the scaled frequency of the values below. Please show all working out. Please only answer if you are 100% sure you can solve it accurately and provide all of the correct working out. Thank you force (kN)                                                   Distance (m)       2.11                                                                    2.33 2.33                                                                   3.42 3.02                                                                  3.13 3.02                                                            ...
Can someone show me how to do a test for lack of fit for the following...
Can someone show me how to do a test for lack of fit for the following data? Please show all work for an up vote. Thanks. y x4 x7 x9 29.5 1.5 4 0 27.9 1.175 3 0 25.9 1.232 3 0 29.9 1.121 3 0 29.9 0.988 3 0 30.9 1.24 3 1 28.9 1.501 3 0 35.9 1.225 3 0 31.5 1.552 3 0 31 0.975 2 0 30.9 1.121 3 0 30 1.02 2 1 36.9 1.664...
please show me how to do this using excel and its functions A proposed overseas expansion...
please show me how to do this using excel and its functions A proposed overseas expansion has the following cash flows:             Year                                                    Cash Flow                 0                                                           -$200         1 50     2    60           3 70                    4                                                    200 Calculate the payback, the internal rate of return, the NPV, the profitability index, and the modified IRR at a cost of capital of 10%.
Please show me how to do this by using excel and its functions Mrs. Dawn Chorus,...
Please show me how to do this by using excel and its functions Mrs. Dawn Chorus, founder and president of United Bird Seed, is wondering whether the company should make its first public sale of common stock and, if so, at what price. The company’s financial plan suggests rapid growth over the next three years but only moderate growth afterwards. Forecasted dividends per share are as follows: Year                1                      2                      3                      4                      5                        $1.00            $1.20             $1.44  ...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT