CS403 Assignment 3 Solution Spring 2017

Assignment No. 03
Semester: Spring 2017

CS403 – Database Management Systems

 

Total Marks: 20

Due Date: 21/07/2017

Uploading instructions:

  • Your assignment should be in .doc /.docx format.
  • Save your assignment with your ID (e.g. bc000000000.doc).
  • No assignment will be accepted through email.

Rules for Marking:

It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open, execute or file is corrupted.
  • Your assignment is copied from internet, handouts or from any other student

(Strict disciplinary action will be taken in this case).

Assignment

 

 Question:     (20 Marks)

 Analyze the given ER diagram very carefully and perform the following tasks.

a) Convert the given ERD in relational data model by identifying all possible relations along with relevant attributes from the given diagram.

  • Normalize the relations up to 3rd normal form.

b) Install SQL Server (Any version) on your system and open Query Analyzer. In Query Analyzer, perform the following tasks using SQL queries.

  • Create a database in SQL Server by using Create query. The name of database must be your VU ID i.e. BC123456789 (You have to write your VU ID here. In case of any other database name, zero marks will be awarded).
  • Create all tables identified in part a in the database (BC123456789) using SQL queries. Associate proper data type to each attribute of all the tables.
  • Add 2 dummy records in each table by using the Insert query.

You are required to write the queries in MS Word. After that, execute each of the queries in SQL Server and take screen shot of every query along with its result and then paste it to MS Word file (As given in next page).

NOTE: You are required to submit the MS Word file containing the solution of both parts. Do not put any query on MDB about this assignment, if you have any query then email at cs403@vu.edu.pk. Furthermore, if any student found cheating from any other student or from online forums then he/she will be awarded ZERO right away and strict disciplinary action will be taken against the student.

  • Leo
  • Corporate Finances
  • Corporate Financing
  • Database
  • Date Due
  • Due Date
  • Estimate due date
  • Finances
  • Financial Account
  • Financial Accounting
  • Leo
 

Deadline: Your assignment must be uploaded/submitted on or before 21st July 2017.

 

DOWNLOAD SOLUTION HERE
loading...