Resources: • The Department's Programming Style Guide (you should have got this in Programming classes) • Class notes Cl

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Resources: • The Department's Programming Style Guide (you should have got this in Programming classes) • Class notes Cl

Post by answerhappygod »

Resources The Department S Programming Style Guide You Should Have Got This In Programming Classes Class Notes Cl 1
Resources The Department S Programming Style Guide You Should Have Got This In Programming Classes Class Notes Cl 1 (44.13 KiB) Viewed 21 times
Write a C++ program to find the codeword for a given message using Hamming Error Detection code andvice versa using the input requirements and outputting the sample provided below. Please follow everything required in the screenshots below. Thank you so much!!
Resources The Department S Programming Style Guide You Should Have Got This In Programming Classes Class Notes Cl 2
Resources The Department S Programming Style Guide You Should Have Got This In Programming Classes Class Notes Cl 2 (44.13 KiB) Viewed 21 times
Resources The Department S Programming Style Guide You Should Have Got This In Programming Classes Class Notes Cl 3
Resources The Department S Programming Style Guide You Should Have Got This In Programming Classes Class Notes Cl 3 (32.91 KiB) Viewed 21 times
Resources: • The Department's Programming Style Guide (you should have got this in Programming classes) • Class notes Clean Code: https://garwoodfine.com/what-is-clean-code/ Assignment: Write a C++ program to find the codeword for a given message using Hamming Error Detection code and vice versa. Input: • The program takes 2 inputs: the party type and the series of bits • You may assume the number of data bits will always be 4 and redundant bits will be 3. • The User enters the MSB first and LSB last, e.g., MSB of 1111000 is 1 and LSB is 0. Output: Output the codeword with each bit labeled as discussed in class. 10 bonus points (out of 40): The program should be able to handle the data bits and messages of any length (up to 10 data bits + the appropriate redundant bits). Thus, the number of bits will be another user input to the program. Sample output: Pick the option you would like this program to perform? A: Find the codeword 8: Find the data bits A Please enter 4-digit bit series separated by spaces 0111 What is the type of parity? @even 1 - odd e even The codeword is D7 D6 D5 R4 D3 R2 R1 @ 1 1 1 1 1 1 Do you want to run again (y/n)? y Pick the option you would like this program to perform? A: Find the codeword B; Find the data bits
В Please enter 7-digit bit series separated by spaces 0110101 What is the type of parity? = even 1 - odd 1 G2 and G3 violate parity. The bit 7 was flipped. The original message is: 1111 Do you want to run again (y/n)? Other (non-functional) requirements: write and use functions; write "Clean Code,"; follow the style guide. Grading Rubric: 0-10 points: The program does not compile; it does not read inputs, process, or generate useful information 10-20 points: The program compiles and runs. The program can read inputs and outputs the results in the correct format, but the resulted bits may not be accurate. 20-30 points: If only the data storing part is implemented, i.e., 4 bits to 7-bits conversion works. 30-40 points: If both data storing and retrieving are implemented and work. 40-50 points: If the bonus part is implemented and working, in addition to the standard requirement.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply