Here are the steps to solve this homework problem:
1. Draw the snowflake schema diagram with dimensions for students, modules, semesters, and lecturers connected to fact tables with measures of count and avg_grade.
2. To list the average grade of CS modules for each student, perform the following OLAP operations on the base cuboid:
- Roll-up the semester dimension to the year level
- Roll-up the module dimension to the CS level
This would aggregate the avg_grade measure to the student-year-CS level.
3. If each dimension has 5 levels, including an overall "all" level, and there are 4 dimensions, then by the power set formula,
Related topics: