Here is a question I included during the final examination of the Search Engines Architecture course. I am modifying the question. It might serve as a little quiz for non IR readers:
A collection consists of 500 documents. Some documents mention k1 and/or k2 keywords. If 100 mention k1, 200 mention k2, 70 mention k1 and k2, and 25 mention the k1 k2 terms sequence. Calculate the number of results for the following queries first, assuming terms independence and second assuming terms dependence. If the calculation is not possible from the provided data, write NC, ‘Not Computable’.
1. k1 NOT k2
2. k2 NOT k1
3. k1 OR k2 (unconditional OR)
4. k1 OR k2 (conditional OR)
5. NOT k1
6. NOT k2
7. NOT (k1 AND k2)
8. k1 AND k2 NOT (k1 k2)
9. EF-Ratio of the k1 k2 terms sequence
10. c12-index of the k1 k2 terms sequence
11. c12-index of k1 AND k2
12. IDF of k1
13. IDF of k2
14. IDF of k1 AND k2
15. IDF of k1 k2 terms sequence
Total Possible Scores: 15 points for terms independence and 15 points for terms dependence correct results.
Grading Yourself: A (100 – 90), B (89 – 80), C (79 – 70), D (69 -60), F(59 – 0)
Correct answers will be given during the week.