1. Build an error correcting code for a set of 50 codes. The code should be able
ID: 3834669 • Letter: 1
Question
1. Build an error correcting code for a set of 50 codes. The code should be able to fix one error. Submit a file called ERROR_CORRECTING_CODE.txt containing the description of the steps employed to build the code similarly to the steps described in the slides, i.e., correspondence between elements of a (input values) and and elements of b (coded values).
For example, the line:
a_0 -> b_0 (tells that input/output element 0 is translated into coded element 0)
If an error happens on the 2nd least significant bit when sending the input 13, show in a file called ERRORS.txt what is the erroneous code and show the computation that helps correct the error.
Explanation / Answer
The error correcting code mainly relates with the steady communication and storage of information.
So, Let me explain you about how the error correcting codes occurs with an example.
Example:
The error correcting code mainly relates with the steady communication and storage of information.
So, Let me explain you about how the error correcting codes occurs with an example.
Example:
Let us assign the information of values 0's and 1's to the set of symbols { A,B,C,D }.
Next step is to apply the channel encoding,
Finally, We need to make use of redundancy technique is calculated by the formuale:- R = K/n
At last, The rate for the code is 2/5.
Algorithm:-
// Created an for-loop for checking the text message
for (x = 1; x<=txtMessage; x++)
{
set all bits in the Message to 0
change the x' th bit to 1
calculate the checksum (value)
EC_table[value] = x
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.