Question: C++ Assignment: The last assignment was to create a Hamming Receiver which could receive a binary input, calculate if and where an incorrect bit was
C++ Assignment: The last assignment was to create a Hamming Receiver which could receive a binary input, calculate if and where an incorrect bit was to be found, and then return the corrected for of that. This assignment will involve the other half of the Hamming Code, with the creation of a Transmitter, as well as a scrambler, and will make use of the Receiver from last week.
Given a decimal number and a single identifier number, your code must convert the decimal number into binary, and insert the three necessary check bits that validate it as being correctly assembled and received. The single identifier number, between 1 and 7, will indicate if an errors going to occur in transmission.
FOR YOUR ASSIGNMENT: Please display the following results:
-1 The Original Decimal Number
-2 The Correct Form of the resulting Hamming Code
-3 The Received Hamming Code with any error that has occurred
-4 The Corrected Form of the Hamming Code
-5 The Decimal Number as Interpreted by your Hamming Receiver
Keep in mind that youve already built a Hamming Receiver, and you may feed your results from the Hamming Transmitter into it to get parts 4 and 5. PLEASE DO NOT simply reprint the original decimal number, make sure what youre printing is the decimal number as calculated by your Hamming Receiver. I will be looking to make sure your code does this. Please use the following numbers for transmission and error location.
1: 15 (error at 4)
2: 7 (error at 1)
3: 12 (no error)
4: 2 (error at 6)
5: 6 (error at 2)
Please dont forget that your original Hamming Receiver should cut the work on this assignment in half, and youll also be able to use it to test that your Hamming Transmitter is correctly encoding the check bits.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
