0% found this document useful (0 votes)
25 views6 pages

MST IS222 S22022 Print

MST_IS222_S22022_Print

Uploaded by

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

MST IS222 S22022 Print

MST_IS222_S22022_Print

Uploaded by

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

Student Name: _____________________________

Student Id:_____________________________
Campus:_____________________________
Mode:_____________________________

IS222 – Database Management Systems


Semester I, 2022
Mode: Face to Face & Remote Students

Mid-Semester Test
Date: Thursday 19th May 2022; Time: 3.00 –4.00 PM (FJ Time)
Weight: 25%
You have 5 minutes to read this paper,
Followed by 55 minutes to complete this paper.
All Questions Are Compulsory

This MST will focus on the following learning outcomes for this course:

CLO1. Explain the fundamental concepts of various database management systems.


CLO3. Construct a data model for a relational database management system.

Time allowed: 60 mins

Total Marks: 40

Total Pages: 6

Weight: 25%

INSTRUCTIONS:

1. This exam is worth 25% of your coursework.

2. Answer ALL questions in this paper.

3. Write your ID # on all sheets in this booklet.

4. Zero for any Plagiarism case.

IS222 –SHORT TEST 1– SEMESTER 1, 2022 PAGE 1 OF 6


SECTION A – [10 Marks]

Question 1:
i. Explain three major steps of the database design process. [3 Marks]

____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
___________________________________________________________________________________________________
ii. Explain the concepts of a Primary key and Foreign key with significant examples. [2
Marks]
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
iii. Why is the use of DBMS recommended? Explain by listing three of its major advantages.
[3 Marks]
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
_________________________________________________________________________________________________

iv. What are the fundamentals of database management system? State two [2 marks]

____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________

IS222 –SHORT TEST 1– SEMESTER 1, 2022 PAGE 2 OF 6


SECTION B – [30 Marks]

Question 2:

Use the following description to answer parts (A) to (D) of this question

The data given below is a sample employee timesheet for employees at the Laucala ENI Section
at the University of the South Pacific. This section is specifically responsible for construction
and building works. It also has several sub-departments identified as Finance, Electrical,
Plumbing, and Carpentry. Each department has many employees but each employee works for
exactly one department. All employees of the Electrical, Plumbing, and Carpentry departments
are required to submit a timesheet showing the jobs they have done at the end of each week. A
sample timesheet for employee Sunia Ravono, who works for the Electrical department, is
given in Figure 1.

Laucala ENI Section C/O The University of the South Pacific: Time Sheet
Employee No: Name: Title (Mr, Mrs, Miss, Ms):
124298 Sunia Ravono Mr
Department: Electrical
Telephone Extension: 5850
Bank Account No: 1231-456783-58
Date Job No Operation Charge Rate Time Time Finish Time (Hrs
($) Start Worked)
31/07/06 3421 45 - Cabling 10 8.00 12.00 4
01/08/06 3421 45 - Cabling 10 8.00 12.00 4
01/08/06 3421 45 - Cabling 10 12.30 16.30 4
02/08/06 2310 21 – Faulty 16 8.00 10.00 2
Wiring
02/08/06 3421 98 - Insulation 12 10.30 12.30 2
02/08/06 4812 21 – Faulty 16 13.00 16.30 3.5
Wiring
Total Hours 19.5
Worked:

An employee can be involved in many jobs and each job can contain one or many operations.
Each job has a unique number, description, and manager. Each operation has a unique ID
number, description, and hourly charge. An operation can be performed by at least one
employee but each employee specializes in exactly one job. We would like to design an MS
Access database to be able to store the timesheets of all employees in the three departments
(Electrical, Plumbing, and Carpentry). This database will then be used by the Finance
department to make the payment of the employees in these three departments.

IS222 –SHORT TEST 1– SEMESTER 1, 2022 PAGE 3 OF 6


i. Identify all possible business rules for the above case study. [4 Marks]
Each department has many employees but each employee works for exactly one department.
___________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
An employee can be involved in many jobs and each job can contain one or many operations.

____________________________________________________________________________________________________
____________________________________________________________________________________________________
___________________________________________________________________________________________________
An operation can be performed by at least one employee but each employee specializes in
exactly one job.
____________________________________________________________________________________________________
____________________________________________________________________________________________________

ii. Create a simple ERD showing a possible database design. Show the entities, and the
relationship between the entities (show the connectivity, cardinality, and strength of
the relationship. [4 Marks]

IS222 –SHORT TEST 1– SEMESTER 1, 2022 PAGE 4 OF 6


The dependency diagram in the figure below indicates that authors are paid royalties for each
book that they write for a publisher. The amount of the royalty can vary by author, book, and
by the edition of the book.

i. Based on the dependency diagram, create a database whose tables are at least in 2NF,
showing the dependency diagram for each table. [5 Marks]

ii. Create a database whose tables are at least in 3NF, showing the dependency diagram
for each table. [5 marks]

iii. When is the normalization process used? [2 marks]

____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________

IS222 –SHORT TEST 1– SEMESTER 1, 2022 PAGE 5 OF 6


iv. The current database has two tables [Project and Employee]. Redesign, that is
normalize, the database so that all the tables are in 3NF and create the dependency
diagrams for all the tables in your re-designed database. A database designer has
identified the following primary keys for the above two tables:

Table Primary Key


Project Project Num, Emp Num , Work Date
Employee Emp Num

Use these primary keys for the normalization process. [7marks]

v. Briefly explain when 4NF is violated. [3 marks]

____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________
____________________________________________________________________________________________________

The End

IS222 –SHORT TEST 1– SEMESTER 1, 2022 PAGE 6 OF 6

You might also like