We have been working very hard since 2009 to facilitate in learning Read More. We can't keep up without your support. Donate.


+ Link For Assignments, GDBs & Online Quizzes Solution


+ Link For Past Papers, Solved MCQs, Short Notes & More

Assignment No, 2 is uploaded on VULMS. You May download the Assignment file from VULMS CS614 Assignments link. You are directed to submit your Assignment No, 2 in Microsoft Word “.doc” file format til

Assignment No. 2


Semester Fall 2015
Data Warehousing– CS614


The assignment has been designed to develop your ability to design star schema and to estimate the rows in fact table. 


Please read the following instructions carefully before solving & submitting assignment:


  1. 1.      The assignment will not be accepted after due date.
  2. 2.      Zero marks will be awarded to the assignment that does not open or the file is corrupt.
  3. 3.      The assignment file must be an MS Word (.doc) file format; Assignment will not be accepted in any other format.
  4. 4.      Zero marks will be awarded to the assignment if copied (from other student or copied from handouts or internet).
  5. 5.      Zero marks will be awarded to the assignment if the Student ID is not mentioned in the assignment file.


For any query about the assignment, contact only at CS614@vu.edu.pk

Do not post queries related to assignment on MDB.




Question 1                                                                                                                                         [15 Marks]


The Future Tech College has to design a star schema related to the grades for courses completed by the students. The tables with the attributes are as given below.

Table Name


Other Details


Course_ID, Sec_No, Course_Name, Units, Room_ID, Room_Capacity.

During a given semester total sections of courses are 500.


Prof_ID, Prof_Name, Title, Department_ID, Department_Name.



Student_ID, Student_Name, Major.

Each course section comprises of not more than 30 students.


Semester_ID, Year.

The data of 10 years is maintained with each having 30 periods in total

You have to;

  • Design the star schema to record the grades for the courses completed by the students and the date of completion. 
  • Estimate the number of rows in fact table by using the details given in the above table.


You may use the MS Vision or any other similar tool to draw the Star Schema.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Views: 9330


Replies to This Discussion


Q2 ke solution bata de koi.plllllzzzzzzzzzzzzzzzz

koi proper solution dy do yaaar

plz some one give solution of q no 2

kya javed iqbal wala solution correct hai plz tell

Question # 2 answer rembr me in ur prayer :)

  • Estimate the number of rows in fact table by using the details given in the above table.

=semester total sections of courses* course section comprises* The data maintained

=500*30*10(30)=450000......rows in table 

M ne b 4500000 he solve kia tha

Complete Solution Enjoy & Remember me in your prayers.......


General thanks for sharing 

General and humalya thanks for sharing 

CS614 Assignment idea Solution

Estimating the Size of Dimension of Fact Tables
Categorise dimension tables into small, medium, and large, based on how many rows in the dimension. Up to 1000 rows is small, 1000 to 100k is medium, and > 100k rows is large dimension. For example:
Country dimension: small
Customer dimension: large
Currency dimension: small
Date dimension: small
Salesperson dimension: small
Product dimension: large
Industry Sector dimension: small
Store dimension: medium
We can roughly estimate the size of a small/medium/large dimension based on the KB per row, like this:
Small: 1 KB/row x 1000 rows = 1 MB
Medium: 5 KB/row x 100k rows = 500 MB
Large: 10 KB/row x 1m rows = 10 GB
Then we multiply with the number of dimensions for each of the Small/Medium/Large category, like this:
Small: 11 tables x 1 MB = 11 MB
Medium: 6 tables x 500 MB = 3 GB
Large: 4 tables x 10 GB = 40 GB
Total: 44 GB


Yeh File Check Karo.....Correct hai?



Looking For Something? Search Below

© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service