Question: C++ with comments THETHE HA MMING CODEMMING CODEMMING CODE MMING CODE MMING CODE Transmitting from one location to another, there is always the possibility that
C++ with comments
THETHE HA MMING CODEMMING CODEMMING CODE MMING CODE MMING CODE Transmitting from one location to another, there is always the possibility that an error may occur. There are a number of reliable codes used to encode data so that the error detected and corrected. In this lab, you will explore and implement a simple error detection-correction technique called a Hamming Code. A Hamming Code used to detect and correct one-bit change in an encoded code word. This approach can be useful as a change in a single bit is more probable than a change in two bits or more bits. PHASE #1 Description: Use lecture notes to develop a plan to design and finally implement a set of functions using C++ that would implement the HAMMING CODE. Phase 1 will include the literature write up, description of the HAMMING CODE and a complete description of the functions implemented including: 1.Functions type void, or any data returning function2.Type of data passed in to the functions (function parameters or arguments)3.Type of function parameters (value or reference). 4.Global variables if needed.5.HAMMING CODE layout and its individual parts (data, check bits) details.6.Work out a full example from A to Z.SUGGESTED FUNCTIONS PLAN: MENU To display the user options RAW DATA GENERATER To generate a random data using C++ rand()etc. HAMMING PACKAGER Prepare the hamming package using data collected etc. PARITY DECIMAL COLLECTOR Function to collect the addresses of the parity bits (check bits) etc. PARITY BINARY CONVERTER Function to convert the parity addresses from decimal to binary etc. CHANNEL FUNCTION Function to create noise and flips on of the bits in the hamming package etc. DETECTOR FUNCTION Function that detects the bit that arrived in erroretc. DISPLAY Display the result etc.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
