<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[CS614 Assignment No.2 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Re: <a href="/topic/74/cs614-assignment-no-2-solution-and-discussion">CS614 Assignment No.2 Solution and Discussion</a></p>
<pre><code>Assignment No.  2
</code></pre>
<p dir="auto">Semester: Spring 2020<br />
CS614 – Data Warehousing<br />
Total Marks: 15</p>
<p dir="auto">Due Date:<br />
June 17, 2020</p>
<p dir="auto">Objectives:<br />
After completing this assignment, the students will be able to:<br />
•	De-Normalize the given table using horizontal splitting technique<br />
•	Calculate the Total space used with normalization.<br />
•	Calculate the Total space used after de-normalization.</p>
<p dir="auto">Instructions<br />
Please read the following instructions carefully before submitting assignment:<br />
It should be clear that your assignment will not get any credit if:</p>
<p dir="auto">•	Assignment is submitted after due date.<br />
•	Submitted assignment does not open or file is corrupt.<br />
•	Assignment is copied (From internet/ to from students).<br />
•	Assignment is submitted other than word format (.doc, .docx).</p>
<p dir="auto">Assignment</p>
<p dir="auto">Question No. 1</p>
<p dir="auto">Consider the following table having the information of students of a university:</p>
<pre><code>Student ID	Student Name	Campus ID	Student Age	Degree Program
1	Ali	VLHR01	27	MS
2	Kamran	VISB01	24	BS
3	Akmal	VRWP01	24	BS
4	Ahmad	VLHR01	26	MS
5	Rehan	VISB01	23	BS
6	Rizwan	VRWP01	29	MS
7	Umer	VISB01	25	BS
8	Javed	VLHR01	26	MS
</code></pre>
<p dir="auto">You are required to completely de-normalize the above table using “horizontal splitting” on the basis of Degree Program.</p>
<p dir="auto">Question No. 2<br />
Consider the following normalized tables for a telecommunication company showing the daily call record details of customers:</p>
<pre><code class="language-Customer">Customer_ID	Customer Phone No.	Balance
1	                033XXXXX	300
2	                033YYYYY	250
3	                033ZZZZZZ	300
4	                033AAAAA	1000
5	                033BBBBB	80
6	                033CCCCC	554
…
…	…
</code></pre>
<pre><code class="language-Call">Call_ID	Customer_ID	Dialed Phone Number	Duration	Call Charges
1	1	032ABCVD	1 minute	2 RS
2	1	032ABCVG	2 minutes	4 RS
3	1	032ABCVD	1 minute	2 RS
4	2	032ANNNN	3 minutes	6 RS
5	2	032AMMM	        4 minutes	8 RS
6	3	033RRRRR	1 minute	2 RS
…	…	…	..	…
</code></pre>
<p dir="auto">Due to certain performance factors company wants to de-normalize the tables using pre-joining technique.</p>
<p dir="auto">Table Information is given below:</p>
<p dir="auto">•	Assume 1:4 record count ratio between customer Info (master) and Call record detail (detail).<br />
•	Assume 15 million customers.<br />
•	Assume 10 byte Customer_ID.<br />
•	Assume 50 byte header for customer Info (master) and 80 byte header for Call record detail (detail) tables.<br />
You are required to perform the following tasks:</p>
<p dir="auto">•	Calculate the Total space in GBs used with normalization.<br />
•	Calculate the Total space in GBs used after de-normalization.</p>
<p dir="auto">Deadline:<br />
Your assignment must be uploaded on VULMS on or before June 17, 2020. While June 18, 2020 will be a bonus day for assignment submission. After the bonus day, no assignment would be entertained via email.</p>
]]></description><link>https://community.secnto.com//topic/2005/cs614-assignment-no-2-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:10:54 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/2005.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 21 Jul 2020 13:39:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS614 Assignment No.2 Solution and Discussion on Tue, 21 Jul 2020 13:48:30 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zareen" aria-label="Profile: zareen">@<bdi>zareen</bdi></a> said in <a href="/post/5769">CS614 Assignment No.2 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">Question No. 2<br />
Consider the following normalized tables for a telecommunication company showing the daily call record details of customers:<br />
Customer_ID	Customer Phone No.	Balance<br />
1	                033XXXXX	300<br />
2	                033YYYYY	250<br />
3	                033ZZZZZZ	300<br />
4	                033AAAAA	1000<br />
5	                033BBBBB	80<br />
6	                033CCCCC	554<br />
…<br />
…	…</p>
<p dir="auto">Call_ID	Customer_ID	Dialed Phone Number	Duration	Call Charges<br />
1	1	032ABCVD	1 minute	2 RS<br />
2	1	032ABCVG	2 minutes	4 RS<br />
3	1	032ABCVD	1 minute	2 RS<br />
4	2	032ANNNN	3 minutes	6 RS<br />
5	2	032AMMM	        4 minutes	8 RS<br />
6	3	033RRRRR	1 minute	2 RS<br />
…	…	…	…	…</p>
<p dir="auto">Due to certain performance factors company wants to de-normalize the tables using pre-joining technique.<br />
Table Information is given below:<br />
•	Assume 1:4 record count ratio between customer Info (master) and Call record detail (detail).<br />
•	Assume 15 million customers.<br />
•	Assume 10 byte Customer_ID.<br />
•	Assume 50 byte header for customer Info (master) and 80 byte header for Call record detail (detail) tables.<br />
You are required to perform the following tasks:<br />
•	Calculate the Total space in GBs used with normalization.<br />
•	Calculate the Total space in GBs used after de-normalization.</p>
</blockquote>
<p dir="auto"><strong>Solution:</strong><br />
With normalization:<br />
Total space used = 15 x 50 + 60 x 80 = 5.55 GB</p>
<p dir="auto">After de-normalization:<br />
Total space used = (80 + 50 – 10) x 60 = 7.2 GB</p>
]]></description><link>https://community.secnto.com//post/5772</link><guid isPermaLink="true">https://community.secnto.com//post/5772</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Tue, 21 Jul 2020 13:48:30 GMT</pubDate></item><item><title><![CDATA[Reply to CS614 Assignment No.2 Solution and Discussion on Tue, 21 Jul 2020 13:47:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/zareen" aria-label="Profile: zareen">@<bdi>zareen</bdi></a> said in <a href="/post/5769">CS614 Assignment No.2 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">Question No. 1<br />
Consider the following table having the information of students of a university:</p>
</blockquote>
<p dir="auto"><strong>Solution:</strong></p>
<table class="table table-bordered table-striped">
<tbody>
<tr>
<td>Student ID</td>
<td>Student Name</td>
<td>Campus ID</td>
<td>Student Age</td>
<td>Degree Program</td>
</tr>
<tr>
<td>2</td>
<td>Kamran</td>
<td>VISB01</td>
<td>24</td>
<td>BS</td>
</tr>
<tr>
<td>3</td>
<td>Akmal</td>
<td>VRWP01</td>
<td>24</td>
<td>BS</td>
</tr>
<tr>
<td>5</td>
<td>Rehan</td>
<td>VISB01</td>
<td>23</td>
<td>BS</td>
</tr>
<tr>
<td>7</td>
<td>Umer</td>
<td>VISB01</td>
<td>25</td>
<td>BS</td>
</tr>
</tbody>
</table>
<table class="table table-bordered table-striped">
<tbody>
<tr>
<td>Student ID</td>
<td>Student Name</td>
<td>Campus ID</td>
<td>Student Age</td>
<td>Degree Program</td>
</tr>
<tr>
<td>1</td>
<td>Ali</td>
<td>VLHR01</td>
<td>27</td>
<td>MS</td>
</tr>
<tr>
<td>4</td>
<td>Ahmad</td>
<td>VLHR01</td>
<td>26</td>
<td>MS</td>
</tr>
<tr>
<td>6</td>
<td>Rizwan</td>
<td>VRWP01</td>
<td>29</td>
<td>MS</td>
</tr>
<tr>
<td>8</td>
<td>Javed</td>
<td>VLHR01</td>
<td>26</td>
<td>MS</td>
</tr>
</tbody>
</table>
]]></description><link>https://community.secnto.com//post/5771</link><guid isPermaLink="true">https://community.secnto.com//post/5771</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Tue, 21 Jul 2020 13:47:46 GMT</pubDate></item><item><title><![CDATA[Reply to CS614 Assignment No.2 Solution and Discussion on Tue, 21 Jul 2020 13:40:49 GMT]]></title><description><![CDATA[<p dir="auto">Please share idea</p>
]]></description><link>https://community.secnto.com//post/5770</link><guid isPermaLink="true">https://community.secnto.com//post/5770</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Tue, 21 Jul 2020 13:40:49 GMT</pubDate></item></channel></rss>