Question: 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

 Use lecture notes to develop a plan to design and finally

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: l. Functions type void, or any data returning function 2. 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 error ...etc. DISPLAY Display the result ... etc

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!