CS601 Assignment 2 Solution Fall 2024
CS601 Assignment 2 Solution Fall 2024
VUAnswer.pk
Question No. 1
Find Hamming Distance among each pair of words as given in the following table and fill the
“Hamming Distance” column:
SOLUTION
Serial No. Pair of Words Hamming Distance (d)
A (10001, 11110) 4
B (11100, 11011) 3
C (10101, 11010) 4
D (01101, 10111) 4
Question No. 2
MORE SOLUTIONS, CURRENT AND PAST PAPERS FREELY VISIT
VUAnswer.pk
To ensure reliable exchange of messages, a sender and receiver have agreed to use the “Even Parity
Check.” The sender will append a parity bit to each message, which can then be verified by the
receiver. Considering the data bits of each message given in the following table, calculate the
parity bit for each message and write it in the Parity Bit column:
SOLUTION
VUAnswer.pk
REGARD - SARIM
WHATSAPP +923162965677
PLEASE NOTE:
Don't copy-paste the same answer.
Make sure you can make some changes to your solution file before
submitting copy paste solution will be marked zero.
If you found any mistake then correct yourself and inform me.
Before submitting an assignment must check your assignment requirement
file.
If you need some help or question about file and solutions feel free to ask.
VUAnswer.pk