Question 1 Hamming code can not only detect an error but also correct an error. Figure 1 shows the relationship of parity bits and codeword in Hamming Code. You are required to identify a single error using even parity check. (12 marks) Figure 1. Parity bits \( \boldsymbol{r}_{1}, \boldsymbol{r}_{2}, \boldsymbol{r}_{4} \), and \( \boldsymbol{r}_{8} \) vs. codeword. Tasks 1. Represent your student number in binary following the instructions in step 1 and step 2 ; Step 1: write your student number: e.g., Step 2: use "1" to represent the odd numbers, and "0" for the even numbers. (1 mark) 2. Starting from a high voltage, draw the output voltage signal using NRZ-I encoding method. (2 marks) 3. Create the even parity Hamming Code based on the data corresponding to your student number \( \mathrm{D}_{7}, \ldots, \mathrm{D}_{1} \). Show the detailed calculation about how you get the parity bits \( \boldsymbol{r}_{8}, \boldsymbol{r}_{4}, \boldsymbol{r}_{2} \), and \( \boldsymbol{r}_{1} \), then fill in following Table. (3 marks)
4. Suppose at the receiving end, there is an error in \( \mathrm{D}_{7} \) (the opposite binary, e.g., \( \mathrm{D}_{7} \) is "1" in the Table, then the received bit \( \mathrm{D}_{7} \) is " 0 " in error). Other bits are correct. What is the codeword received at the receiving end? Give detailed explanation on how you identify the error? (3 marks) 5. Based on Hamming simulator, draw a simple flow chart (less than 5 steps) on how to identify the error in position \( 11 . \) (3 marks) Question 2 Investigate voice over IP (VoIP). (8 marks) Figure 2 shows the digitizing of Alice's voice signal with Pulse Code Modulation (PCM). Figure 2. Pulse Code Modulation. Tasks 1. Discuss how the quantization error affects the quality of PCM by comparing 3 bit-depth and 8 bit-depth of sampling. (4 marks) 2. Further investigate the sampling theory, and explain how the \( \mathrm{A} / \mathrm{D} \) conversion quality relates to the resources consumed. (4 marks) Note: You need to give specific examples with numerical calculations to backup your answer. You need to provide your own example and not allowed to reuse the examples already shown in lectures/tutes and previous assessments. You may start from watching the Youtube: https://www.youtube.com/watch?v=zC5KFnSUPNo Then search references via Google and RMIT library website.