<?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 1 Solution and Discussion]]></title><description><![CDATA[<pre><code>Assignment No.  1
</code></pre>
<p dir="auto">Semester: Fall 2019<br />
CS614 – Data Warehousing<br />
Total Marks: 15</p>
<p dir="auto">Due Date:<br />
November 14, 2019</p>
<p dir="auto">Objectives:<br />
After completing this assignment the students will be able to:<br />
•	Identify Database entities from a given scenario<br />
•	Understand the database table structure<br />
•	Normalize a database table up to 2nd normal form<br />
•	De-normalize relationships using collapsing table technique</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">o	Assignment is submitted after due date.<br />
o	Submitted assignment does not open or file is corrupt.<br />
o	Assignment is copied (From internet/ to from students).<br />
o	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 schema related to a Social Media website named as ‘userPosts’. You have to perform following tasks related to the provided schema:</p>
<p dir="auto">1-	Identify appropriate keys for following structure (Primary and/or foreign key(s))<br />
2-	Convert this schema into 2 NF<br />
userPosts (userID, userName, password, address, postId, postDate, postContent)</p>
<p dir="auto">Question No. 2</p>
<p dir="auto">Consider the following schemas relevant to a hotel booking website. You are required to De-Normalization the given schemas using Collapsing Tables Technique.</p>
<p dir="auto">roomVisitor (roomID, visitorCNIC, dateTime)</p>
<p dir="auto">roomCharges (roomID, spentDays, roomRent)</p>
<p dir="auto">Deadline:<br />
Your assignment must be uploaded on VULMS on or before November 14, 2019. While November 15, 2019 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/582/cs614-assignment-1-solution-and-discussion</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 19:04:54 GMT</lastBuildDate><atom:link href="https://community.secnto.com//topic/582.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Nov 2019 12:47:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to CS614 Assignment 1 Solution and Discussion on Sun, 26 Jan 2020 16:33:03 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/1573">CS614 Assignment 1 Solution and Discussion</a>:</p>
<blockquote>
<p dir="auto">Assignment No.  1<br />
Semester: Fall 2019<br />
CS614 – Data Warehousing<br />
Total Marks: 15</p>
<p dir="auto">Due Date:<br />
November 14, 2019</p>
<p dir="auto">Objectives:<br />
After completing this assignment the students will be able to:<br />
•	Identify Database entities from a given scenario<br />
•	Understand the database table structure<br />
•	Normalize a database table up to 2nd normal form<br />
•	De-normalize relationships using collapsing table technique</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">o	Assignment is submitted after due date.<br />
o	Submitted assignment does not open or file is corrupt.<br />
o	Assignment is copied (From internet/ to from students).<br />
o	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 schema related to a Social Media website named as ‘userPosts’. You have to perform following tasks related to the provided schema:</p>
<p dir="auto">1-	Identify appropriate keys for following structure (Primary and/or foreign key(s))<br />
2-	Convert this schema into 2 NF<br />
userPosts (userID, userName, password, address, postId, postDate, postContent)</p>
<p dir="auto">Question No. 2</p>
<p dir="auto">Consider the following schemas relevant to a hotel booking website. You are required to De-Normalization the given schemas using Collapsing Tables Technique.</p>
<p dir="auto">roomVisitor (roomID, visitorCNIC, dateTime)</p>
<p dir="auto">roomCharges (roomID, spentDays, roomRent)</p>
<p dir="auto">Deadline:<br />
Your assignment must be uploaded on VULMS on or before November 14, 2019. While November 15, 2019 will be a bonus day for assignment submission. After the bonus day, no assignment would be entertained via email.</p>
</blockquote>
<p dir="auto"><strong>Q.1 Answer:</strong></p>
<p dir="auto">userDetails (userID, userName, password, address)<br />
posts(postID, postDate, postContent)<br />
userPosts (userID, postID)</p>
<p dir="auto">•	userID and postID in schema / table ‘userPosts’ are foreign keys</p>
<p dir="auto"><strong>Q.2 Answer:</strong><br />
roomVisitorCharges (roomID, visitorCNIC, dateTime, spentDays, roomRent)</p>
]]></description><link>https://community.secnto.com//post/1575</link><guid isPermaLink="true">https://community.secnto.com//post/1575</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Sun, 26 Jan 2020 16:33:03 GMT</pubDate></item><item><title><![CDATA[Reply to CS614 Assignment 1 Solution and Discussion on Sun, 26 Jan 2020 16:33:15 GMT]]></title><description><![CDATA[<p dir="auto"><a href="https://youtu.be/yt8-bOdNALQ" target="_blank" rel="noopener noreferrer nofollow ugc">https://youtu.be/yt8-bOdNALQ</a><br />
<a href="/assets/uploads/files/1573735762006-cs614-assignment-1-solution-b7fosg.xlsx">CS614 Assignment 1 Solution Cyberian.pk.xlsx</a></p>
]]></description><link>https://community.secnto.com//post/1574</link><guid isPermaLink="true">https://community.secnto.com//post/1574</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Sun, 26 Jan 2020 16:33:15 GMT</pubDate></item></channel></rss>