Assignment#2- Marking guide CSI2131 Winter 2001 Question 1: (by Yong) (1) Mistakes in Huffman tree: -3 (2) Mistakes in Decoded Message: -3 (3) Mistakes in Encoded Message: -3 (4) Mistakes in total # of bits (224): -3 Calulate Average bits using 224/6: -2 Mistakes in Average (2.24): -1 Question 2: (by Yong) (1) Mistakes in Parsing: -3 Mistakes in Tree: -2 Mistakes in dealing with the last index: -1 (2) Mistakes in Original Message Bits (208): -1 Mistakes in Encoded Message Bits (129): -3 Forget to calculate the last index in Encoded Message: -1 (3) Considering only last character of previous index's string: -4 Question 3: (by Yong) "&" outputed: -2 No Comments: -2 Only a Few Comments: -1 Code lack efficiency: -2 Question 4: (by Jeff) Discounts applied: -4 Never find the student -4 never accepts the old password -4 infinite loop -4 error during execution -1 Files or printouts missing -2 No printouts -3 Comments missing (few comments) -3 does not compile -4 does not run -3 does not read student correctly -2 BSearch wrong execution -3 positioning problem -3 does not verify the old password -1 do not confirm the new password -4 no password update +2 correct password update