Question

In: Computer Science

Let us consider applications of parity checks in error correction codes. (a) A Mind at Play:...

Let us consider applications of parity checks in error correction codes. (a) A Mind at Play: How Claude Shannon Invented the Information Age is a biography of Shannon, who is generally considered the architect of the information age. The ISBN-10 code for the book can be obtained by removing the prefix 978 from its ISBN13 code and then recalculating the check digit (the last digit). Recall that the 10 digits for the ISBN-10 code satisfy X 10 i=1 ixi = 0 mod 11, whereas the 13 digits for the ISBN-13 code satisfy x1 + 3x2 + x3 + 3x4 + ... = 0 mod 10 You are given 978-147676?690 as the ISBN-13 code. Please find the missing digit, and then derive the corresponding ISBN-10 version. (b) Please explain that if a (15,11)-Hamming code is used but the channel makes 2 or more errors, the decoder, using minimum distance decoding, is always wrong. (c) Consider a (15,11)-Hamming code you just designed in the practice exam, with syndromes designed to indicate bit error positions. Say we now extend each 15-bit codeword by one more parity check, x16, such that x16 = P15 i=1 xi mod 2. (c1) Please explain whether it is still useful to use the four syndromes defined for the original (15,11) code to check for single bit errors. (Hint: Consider which bit error positions the four syndromes can detect. You care most about the data bits.) (c2) Write down any additional syndrome(s) you would add. If not, please briefly explain why. (c3) What is the rate of this new 16-bit code? (1 point only here. Don’t overthink!) (c4) How many errors can we correct now with the 16-bit code? Briefly explain whether adding this 16th bit is worthwhile. (d) If we were to design a Hamming code with 5 check bits per codeword, how many data bits can we have per codeword? Please briefly explain why. What is the minimum distance of this code? Can we now correct 2 errors?

Solutions

Expert Solution


Related Solutions

Prejudice is responsible for racism and discrimination. With that in mind, let us explore the Theories...
Prejudice is responsible for racism and discrimination. With that in mind, let us explore the Theories of Prejudice,;  four Theories of Prejudice; scapegoating, authoritarian personality, exploitation, and normative theory.. Please identify, compare, and contrast the four theories of prejudice. Do you think one theory is more prevalent than another theory in our lives today?
Consider an open economy with flexible exchange rates. Let UIP stand for the uncovered interest parity...
Consider an open economy with flexible exchange rates. Let UIP stand for the uncovered interest parity condition. a. In an IS-LM-UIP diagram, show the effect of an increase in foreign output, Y*, on domestic output (Y) and the exchange rate (E), when the domestic central bank leaves the policy interest rate unchanged. Explain in words. b. In an IS-LM-UIP diagram, show the effect of an increase in the foreign interest rate, i*, on domestic output (Y) and the exchange rate...
Consider an open economy with flexible exchange rates. Let UIP stand for the uncovered interest parity...
Consider an open economy with flexible exchange rates. Let UIP stand for the uncovered interest parity condition. a.In an IS-LM-UIP diagram, show the effect of an increase in foreign output, Y*, on domestic output (Y) and the exchange rate (E), when the domestic central bank leaves the policy interest rate unchanged. Explain in words. b. In an IS-LM-UIP diagram, show the effect of an increase in the foreign interest rate, i*, on domestic output (Y) and the exchange rate (E),...
Let us consider that there is a circular tray on a table that can rotate in...
Let us consider that there is a circular tray on a table that can rotate in a horizontal plane. Let the wagon start moving in straight direction with an acceleration of 0.5 m / s^2 relative to the ground. Let the tray on the table start rotating at the same time with the angular speed of ω = 2πt. Here, t is in seconds and ω is in radians per second. At this moment, an insect with a mass of...
Let us consider a situation exist in a market with no barriers to enter or to...
Let us consider a situation exist in a market with no barriers to enter or to exit. The Firms in the market suffering crises and losses - you and you competitors as well. You decided to not shot down the business and stay in the market .. Based on that .. answer the following questions 1. what type of markets you are operating in ? 2. what the economic rule for a decision not to shut-down? 3. A how you...
Let us consider the case of John, an entrepreneur and the CEO of a startup, named...
Let us consider the case of John, an entrepreneur and the CEO of a startup, named “Home Service”. The company started a small scale service where a couple of signed-up workers of the company were giving various services to the dweller of Ballarat, a city in Victoria. The services include plumbing, electric works, gas appliances’ works, and car wash. The people are Ballarat dwellers (roughly 20k in total) needed to download the software from App Store/Google Store and try to...
Consider the following preferences and election problem. Let us assume that a president has to be...
Consider the following preferences and election problem. Let us assume that a president has to be elected. 4 candidates want to become a president, who are representing different political ideologies: A is a left-wing candidate, B is a social-democrat, C is a right-liberal candidate and D is a right-wing candidate. 20% of the voters (group left) preference A≻B≻C≻D, 30% of the voters (group social democrats) have the preference B≻A≻C≻D, 10% of the voters (group right-liberal) preference C≻B≻A≻D, 40% of the...
Let us consider a random variable X is the element of U(0, a) so that a...
Let us consider a random variable X is the element of U(0, a) so that a has been obtained as a sample from a random variable A which follows a uniform distribution A is the element of U(0, l) with known parameter value l. Estimates of a based on 1) the method of moments, 2) the method of maximum likelihood and 3) the Bayesian-based methods, respectively in R. Read a data sample of r.v. X from the file sample_x.csv. Estimate...
let us consider the case of a bonding electron in a diatomic molecule using molecular orbital...
let us consider the case of a bonding electron in a diatomic molecule using molecular orbital theory. Given that the probabilities of finding the electron in atomic orbitals ?A and ?B are 1/3 and 2/3, respectively, what is the LCAO-MO wavefunction for the electron? (Neglect the overlap integral as a simplifying approximation)
let us consider the following validation data set confusion matrix is the result of a logistic...
let us consider the following validation data set confusion matrix is the result of a logistic regression model which includes if the patient will have a heart attack as a dependent variable which is connected to the range of independent variables. In this model y=1 indicates heart attack and y=0 indicates not having a heart attack. Cutoff value is considered 50 per cent. Calculate sensitivity, specificity and overall error of the model. Considering this confusion matrix do you think shall...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT