Fall 2023 - CS614 - 1
Fall 2023 - CS614 - 1
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.
• 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.
Fig. 1 given below reflects the relationship of some specific scenario related to the Department-
Course.
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.
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.
Question 1:
Question 2:
= 852/(1000)2
= 852MB
= 852/(1000)3
=0.852 GB
= 852/(1000)4
=0.000852 GB