Question: JAVA please help! Develop a Single Error Correcting (SEC) Code in the Java programming language, which receives two (binary) files and computes if a transmission
JAVA please help! Develop a Single Error Correcting (SEC) Code in the Java programming language, which receives two (binary) files and computes if a transmission error has occurred, and if detected, the bit location of the error. (I have mutliple recievebin files, below are receivebin1 and transmitbin file)

The input of the program is the following: Transmit file a binary file containing the transmitted bits (data and check bits) Receive file a binary file containing the received bits (data and check bits). Four different received files are provided with different data and scenarios. The program should do the following: Retrieve the binary data from the transmitted file and calculate its size (in bytes). Compute the data () and check () bits in the file Calculate and display the bit location of the check bits. Extract and display the check bits. Retrieve the binary data from the received file and calculate its size (in bytes). Compare the file sizes, and if they are different, display error message and exit program. If file sizes are the same then: o Compute the data () and check () bits in the file o Calculate and display the bit location of the check bits. o Extract and display the check bits. Compute the syndrome word, by doing the XOR between the two check bits of the transmitted and received files. o If the syndrome contains all 0s, no error has been detected. o If the syndrome contains one and only one bit set to 1, then an error has occurred in one of the check bits. No correction is needed. o If the syndrome contains more than one bit set to 1, then the numerical value of the syndrome indicates the position of the data bit in error.

receivefile1,bin x Plugins supporting *.bin files found. 1 | 111011101011001000111 transmitfile.bin Plugins supporting * .bin files found. 1111011001011011001100 The following is the total program convocation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
