0% found this document useful (0 votes)
40 views4 pages

Fall 2023 - CS614 - 1

The document provides instructions for a data warehousing assignment with two questions. Question 1 asks students to provide the de-normalized form of a given department-course relationship diagram. Question 2 asks students to calculate the size of a de-normalized table resulting from joining department and course tables in megabytes, gigabytes, and terabytes.

Uploaded by

Aseel & Birds
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views4 pages

Fall 2023 - CS614 - 1

The document provides instructions for a data warehousing assignment with two questions. Question 1 asks students to provide the de-normalized form of a given department-course relationship diagram. Question 2 asks students to calculate the size of a de-normalized table resulting from joining department and course tables in megabytes, gigabytes, and terabytes.

Uploaded by

Aseel & Birds
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Virtual University of Pakistan SEMESTER Fall 2023

CS614 – Data Warehousing


Assignment No.1 (Graded)

Maximum Marks: 20
Instructions Due Date: 13 November 2023

The purpose of this assignment is to give your hands-on practice. It is expected that
students will solve the assignment themselves. The following rules will apply during the
evaluation of the assignment.

● Cheating from any source will result in zero marks in the assignment.

● The submitted assignment does NOT open or the file is corrupted.


● No assignment after the due date will be accepted
 Students can submit HTML, Images and Plain text only in this inline Mode. The
table can also be drawn in the interface.
● DOC/pdf File uploading option will not be available in inline assignment
submission.
Uploading Assignment Instruction

Follow the given instructions to submit the inline assignments.


• Images of the following formats can be inserted in the inline assignment interface.

• Images and tables can be inserted using the following highlighted options in the
interface.
Virtual University of Pakistan SEMESTER Fall 2023
Objective & Learning Outcome
After completing the assignment, the student will be able to apply De-Normalization
techniques on database relations.

Question No. 1 (10 Marks)

Fig. 1 given below reflects the relationship of some specific scenario related to the Department-
Course.

Fig. 1: Department-Course relationship

What would be the De-Normalized form of the scenario given above?

Question No. 2 (10 Marks)

Consider the following information about Department and Course tables (given in Q no 1).
Table1 (Master):
Header Size of the Department table: = 70 Bytes
Number of records stored in Department table: = 80000

Table2 (Detail):
Header size Course table: = 80 Bytes
Number of records stored in Course table: = 6000000

Suppose you have applied the pre-joining De-Normalization technique on ‘Department’ and
‘Course’ tables. Calculate the size of resultant table in Megabytes (MB), Gigabytes (GB) and
Terabytes (TB). The reference column in these two tables is of 8 bytes.

Hint: There would be 6000000 records in De-normalized table.

Note: Plagiarism will be checked for each question. Please answer the questions in your
own words and marks will be awarded based on your answer and plagiarism report.

For any query about the assignment, contact at email [email protected]

Question 1:

This is de-Normalized table of above tables:

deptCo deptNa deptLo deptPho ChairNa course Titl Descript creditHo


de me cn ne me No e on ur

Question 2:

The Header of Resultant de-Normalization = 70 + 80 - 8 = 142 bytes

The Number of Records in De-Normalized table= 6000000

Size of the De-Normalized table = 142*6000000 = 852,000,000

to Convert byte into MB, we need to divide by (1000)2

= 852/(1000)2

= 852MB

to Convert byte into GB, we need to divide by (1000) 3

= 852/(1000)3

=0.852 GB

to Convert byte into TB, we need to divide by (1000) 4

= 852/(1000)4

=0.000852 GB

You might also like