submit your programs by email the program should


Submit your programs by email. The program should have as many comments as necessary. The top comments should explain how to run and test the program. If any two assignments have the same code, zero marks will be assigned to the assignments.

Questions 1: Write a procedure hamming(ascii, encoded) that converts the low-order 7 bits of ascii into an 11-bit integer codeword stored in encoded.

Questions 2: Write a function distonce(code, n, k) that takes an array code of n characters of is bits each as input and returns the distance of the character set as output.

Question 3: An extended ASCII character is represented by an 8-bit quantity. The associated Hamming encoding of each character can than be represented by a string of three hex digits. Encode the following extended five-character ASCII text using an even-parity Hamming code: Earth. Show your answer as a string of hex digits.

Request for Solution File

Ask an Expert for Answer!!
Data Structure & Algorithms: submit your programs by email the program should
Reference No:- TGS0501429

Expected delivery within 24 Hours