Chris Pollett >
Old Classes >
CS267 |
HW2 Solutions PageThe in class graded problems for this homework were Exercise 2.8 and Exercise 3.1. For the coding part, I used the same document test file as in Hw1. The queries I tested with were: parent site cosine site parent SquareTrade cosine * site parent boolean + * site parent SquareTrade boolean + * site parent - SquareTrade boolean I picked one of the better students' homeworks to be used as the homework solution. Each student that had their homework chosen will receive 1 bonus point after curving for having their homework selected. If you were chosen and would rather your homework not be used as the solution let me know and I will choose someone else homework and they will receive the bonus point instead. The only changes I made to the code were (1) modify the output from the code to conform more closely to the spec, (2) switch tab characters to 3 spaces, (3) change student names to SJSU Students. |