| Questions | Yes / No and Notes | Current Grade | Maximum Grade |
|---|---|---|---|
| 1. cd into submit directory. Type make clean and make. Does it build correctly? (webcrawl and gethttp) | 20 | ||
| 2.
Run webcrawl -u 40 http://www.cs.purdue.edu/ Does it create url.txt and word.txt? |
10 | ||
|
3. If answer is "Yes" to above question, is the format of word.txt and url.txt correct? url.txt should have full links. Please note whether words in word.txt have punctuation or not. |
10 | ||
|
4. Does url.txt have duplicate links? |
10 | ||
|
5. Does word.txt have duplicate words? |
10 | ||
| 6. Does url.txt have about 40 links? (half a point per link, round up) | 20 | ||
| 7. Does word.txt contain all of the words on each page? There should be thousands, not hundreds. | 10 | ||
| 8. Pick a url index (e.g. 16) and a word from its description (e.g. judgement). See whether that word has that url index in its list. | 10 | ||
| 9.
If the answer is "no" to the 2nd question, run: ./webcrawl -u 32 http://www.cs.purdue.edu/ |
|||
|
10. Does it create url.txt and word.txt? |
|||
| 11. If answer is "Yes" to the above question, is the format of word.txt and url.txt correct? url.txt should have full links. Please note whether words in word.txt have punctuation or not. | |||
|
12. Does url.txt have duplicate links? |
|||
| 13. Does word.txt have duplicate words? | |||
| 14. Does url.txt have 32 links? | |||
| 15. Are the links in the right order? | |||
| 16. Pick a url index and a word from its description. See whether that word has that url index in its list. | |||
| Total: | 100 |
| Questions | Yes / No and Notes | Current Points | Max Points |
|---|---|---|---|
| 1. cd into submit directory. Type make clean and make. Does it build correctly? | 20 | ||
| 2. Copy the /u/u3/251/Spring2010/lab5-search-engine/lab5-testcases/test1/url.txt and word.txt here. | |||
| 3. Run ./search-engine 8888 array Search for "noah" (result is 6th, 7th, and 45th urls) |
16 | ||
| 4. Search for "sikes with" (result is 20th and 28th urls) | 8 | ||
| 5. Run ./search-engine 8888 bsearch
Search for "commission" (result is 3rd url) |
6 | ||
| 6. Search for "been at" (result is 16th, 33rd, and 38th urls) | 6 | ||
| 7. Copy test2/url.txt and test2/word.txt here. | |||
| 8. Run ./search-engine 8888 avl Search for "consoled" (result is 6th, 8th, and 305th urls) |
6 | ||
| 9. Search for "cat food" (result is 94th, 143rd, and 255th urls) | 6 | ||
| 10. Run ./search-engine 8888 hash Search for "screech" (result is 261st and 343rd urls) |
6 | ||
| 11. Search for "it comes in the night and eats" (result is 102nd and 363rd urls) | 6 | ||
| 12. Run testall | 20 | ||
| Total: | 100 |