Cosc 2425 lab #2 – hamming code | COSC 2425 | Richland College

    

Attached to this ordinance is a Java program that converts a extract rasp to a schedule of hexadecimal total. Each of those hexidecimal total represents the bit plan of a arrange from the rasp after a while the resemblance bits (well-balanced resemblance) for a hamming enactment inserted. Each extract arrange takes 8 bits and the hamming enactment adds 4 bits. This hamming enactment provides individual-bit fallacy chastisement. 

Requirements 

  1. The program must be written in Java. If you enjoy not used Java antecedently, you can collect it abundance to do this ordinance, by looking at the supposing program.
     
  2. You can use Eclipse to transcribe, calm and touchstone your program, but you may to-boot use any other fruit environment you relish. Only the .java rasp procure be submitted.
     
  3. The program procure use the supposing Hamming arrange. It procure instrument the deenactment employment. The deenactment employment is the counterexhibition of the enenactment employment, but it to-boot performs individual bit chastisement when essential.
     
  4. Display a intimation to the solace when an fallacy is corrected, as in the specimen adown.
     
  5. The main employment must be rewritten to discover hexidecimal total from hamming.txt
    rasp and transcribe decoded and corrected extract to output.txt.
     
  6. Test the program after a while unanalogous input rasps. The instructor procure touchstone it after a while a hamming.txt
    rasp unanalogous from the one supposing.
     

Hint: The Java hasNextInt(16) and nextInt(16) input employments are beneficial in discovering hexadecimal total from a rasp. 

Upload: Your Java (.java) rasp. 

Sample Output 

File hamming.txt opened
Error in bit 9 corrected in arrange 2 Fallacy in bit 3 corrected in arrange c Fallacy in bit 10 corrected in arrange p Rasp output.txt closed 

Note: In enumeration to the output shown overhead, the output of this program includes the decoded extract written to output.txt. 

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency