COSC2737 IT Infrastructure and Security Assignment 1 (20%)
Question 1 (5 marks)
The modulo operation finds the remainder. If dividing a by b, and there was a
remainder of n, then the formula can be expressed as: a mod b = n.
Describe the 7-digit of your student ID using an array S(i), while i =0, 1, 2, …, 6. Run mod 2 operation to get the reminder corresponding to each digit of S(i). Represent the 7-bit output as D =
D6 D5 D4 D3 D2 D1 D0
1. Give the corresponding decimal number of D and explain the effect of D6 (leftmost bit) and D0 (rightmost bit) while converting the binary D into a decimal number. (2 marks)
2. DrawaflowcharttoshowtheconversionfromS(i)toD=[D6,D5,D4,D3,D2,D1, D0]. (3 marks)
Question 2 (5 marks)
1. Create the even parity Hamming Code based on D = [D6, …, D0]. Show the detailed calculation about how you get the even parity bits r8, r4, r2, and r1, then fill in following Table. (2 marks)
D6 D5 D4 r8 D3 D2 D1 r4 D0 r2 r1
2. Suppose at the receiving end, there is an error in position 11: D6 (the opposite binary, e.g., D6 is “0” in the Table, then the received bit D6 is “1” in error). Other bits are correct. What is the codeword received at the receiving end? (1 mark)
3. Based on Hamming simulator, write a user manual (maximum 6-step) on how to identify the error in position 11. (May reference to the file in Readings/week 3/Canvas for writing a user manual). (2 marks)
Code Help, Add WeChat: cstutorcs
Question 3 (10 marks)
Video conferencing provides service for capturing audio/video and transferring digital packets over the Internet. Figure 1 shows 5 identical networked PCs, each has 99.9% availability. A5 is used as a load-balancer to distribute the incoming video conferencing traffic across backend servers A1 — A4 for further processing. Answer the following questions with maximum 600 words.
1. How the quantization error level affects the quality of digital audio/video, e.g., fidelity of transmitted video streams. Provide a step-by-step explanation to
compare the quality using 3 bit-depth and 8 bit-depth per sampling.
(4 marks) (2 marks)
Provide a strategy for improving the availability of the system. What would be the potential consequence of your strategy. Provide a step-by-step explanation
and detailed calculation to support your argument.
While both Windows and macOS can be used for applications such as video
conferencing, list 3-4 points to show how they are different
Figure 1 Web server set-up for distributing incoming packets.
Programming Help