You are on page 1of 10

CONFIDENTIAL CS/APR 2010/ITS232/250

UNIVERSITI TEKNOLOGI MARA


FINAL EXAMINATION

COURSE INTRODUCTION TO DATABASE MANAGEMENT


SYSTEM
COURSE CODE ITS232/250
EXAMINATION APRIL 2010
TIME 3 HOURS

INSTRUCTIONS TO CANDIDATES

1. This question paper consists of three (3) parts : PART A (20 Questions)
PART B (5 Questions)
PART C (1 Question)

2. Answer ALL questions from all three (3) parts :

i) Answer PART A in the Objective Answer Sheet.


ii) Answer PART B and PART C in the Answer Booklet. Start each answer on a new
page.

3. Do not bring any material into the examination room unless permission is given by the
invigilator.

4. Please check to make sure that this examination pack consists of:

i) the Question Paper


ii) an Answer Booklet - provided by the Faculty
iii) an Objective Answer Sheet - provided by the Faculty

DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO DO SO


This examination paper consists of 10 printed pages
© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL
CONFIDENTIAL 2 CS/APR 2010/ITS232/250

ANSWER ALL QUESTIONS

PART A (20 MARKS)

1. provide(s) a description of the data characteristics and the set of


relationships that link the data found within the database.

A. Queries
B. Data
C. Metadata
D. Information

2. exists when different versions of the same data appear in different


places.

A. Data inconsistency
B. Data consistency
C. Data integration
D. Data normalization

3. The term refers to a collection of programs that manage the collection,


storage, retrieval and use of data within a database environment

A. database system
B. management system
C. database management
D. database management system

4. Which of the following is TRUE of business rules?

A. They allow the designer to set company policies with regard to data
B. They allow the designer to develop business processes
C. They enable communication between the users and designers
D. They provide a framework for the company's self actualization

5. In the model, the user perceives the database as a collection of


records in 1:M relationships, where each record can have more than one parent.

A. hierarchical
B. network
C. relational
D. entity relationship

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL CS/APR 2010/ITS232/250

Which of the model represents a global view of the database as viewed by the entire
organization?

A. External
B. Conceptual
C. Internal
D. Physical

7. is a key that is used


i by the designer to identify the link between related tables.

A. Surrogate key
B. Secondary key
C. Foreign key
D. Primary key

8. Which of the integrity rule requires that the foreign key contains a value and that
value refers to an existing valid tuple in another relation?

A. Referential
B. Entity
C. Uniqueness
D. Secondary

9. In a database context, a(n) indicates the use of different names to describe


the same attribute.

A. entity
B. duplicate
C. synonym
D. homonym

10. The is actually a system-created database whose tables store the


user/designer-created database characteristics and contents.

A. meta dictionary
B. data schema
C. data dictionary
D. system catalog

11. attribute can be further subdivided to yield additional attributes.

A. composite
B. simple
C. multi-valued
D. single-valued
© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL
CONFIDENTIAL 4 CS/APR 2010/ITS232/250

12. An example of attribute that might be represented a multi-valued attribute.

A. Person's name
B. Household phone numbers
C. Bank account balance
D. Book title

13. Which command is used to change the table structure?

A. ALTER T A B L E < t a b l e name>


ADD (<column name> new column characteristic;-) ;

B. ALTER TABLE<table name>


MODIFY (<column name> new column characteristic^;

C. UPDATE<table name>
SET<attribute name> = <attribute value>
WHERE<condition> ,-

D. DROP TABLE <table name>;

14. The following are the overall purpose of the database initial study. Arrange in the
correct order.

I. Define problem and constraint


II. Define scope and boundaries
III. Analyze the company situation
IV. Define objectives

A. III, II, I, IV
B. III, I, IV, II
C. IV, III, II, I
D. III, IV, I, II

15. A entity has a primary key that is partially derived from the parent entity in
the relationship.

A. strong
B. independent
C. composite
D. weak

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 5 CS/APR 2010/ITS232/250

16. What is Database Life Cycle (DBLC) ?

A. Describe the history of the database within the information system.


B. Trace the history of an information system within the database.
C. Describe the life cycle of an application within the database.
D. Trace the life cycle of database within an application.

17. The following steps are required in design.

I. Data analysis and requirement


II. Entity Relationship modeling and normalization
III. Data model verification
IV. Distributed database design

A. Database
B. Conceptual
C. Logical
D. Physical

18. Which of the following statements described the term Cardinality?

A. Describe the relationship classification (1:1, 1:M, M:N).


B. Express the specific number of entity occurrences associated with an
occurrence of related entity.
C. Describe the usual relationship based on business rule.
D. Express the valid relationship at the conceptual level.

19. is productive when the data component is composed of relatively small


number of objects and procedures.

A. Centralized design
B. Decentralized design
C. Up - down design
D. Bottom - up design

20. Testing and evaluation phase occurs in with application.

A. diverse
B. parallel
C. separate
D. distinct

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 6 CS/APR 2010/ITS232/250

PART B (60 MARKS)

QUESTION 1

a) Briefly explain TWO (2) advantages of having Database Management System


(DBMS) between the end user's applications and the database?
(4 marks)

b) Describe any THREE (3) types of users identified in a database system.

(6 marks)

QUESTION 2

a) Define a key and why is it important in the relational model?


(4 marks)

b) Briefly explain the hierarchical and network database model, and what is the
difference between those two database models?
(6 marks)

QUESTION 3

a) Explain and provide ONE (1) example for the following types of relationship:

i) Unary

ii) Ternary
(6 marks)

b) Discuss TWO (2) activities of maintenance that can be carried out in the
maintenance phase in Database Life Cycle (DBLC).
(4 marks)

c) List down any TWO (2) different levels involved in database backups.
(2 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 7 CS/APR 2010/ITS232/250

QUESTION 4

The following question will base on the given report.

SEK . RENDAH KEBANGSAAN ALOR GAJAH, MELAKA


MID-TERM EXAM REPORT
Date :19 Mei 2009

Teacher Code : TE0021


Teacher Name : Zawawi Awang
Subject Code : ENG05
Subject Name : English Standard Five

Birth Student Name ClassCode Class Marks


Certificate No
AKllll Ahmad Ali 5B 5 Budi 80
AJ1212 Suraya Abdul 5C 5 Cemerlang 75
AV4343 Faridah Abu 5B 5 Budi 45
AK5555 Rahmah Abdullah 5C 5 Cemerlang 97
AB2323 Tengku Zahid 5J 5 Jaya 65
AV3333 Suriati Salleh 5J 5 Jaya 86
AJ5151 Mariam Sufian 5B 5 Budi 80
AK4545 Wahid Abas 5C 5 Cemerlang 60
AJ6677 Jamilah Osman 5B 5 Budi 55

a) What normal form is the report in? Give reason.


(2 marks)

b) Identify the primary key(s) for the above report.


(3 marks)

c) Normalize into 3NF. Show all your work.


(7 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 8 CS/APR 2010/ITS232/250

QUESTION 5

Given below are the relational schemas for Twinkle Florist database. Use SQL statements
to answer all questions.

FLOWER (FLOWER_CODE, FLOWER_TYPE, FLOWER_PRICE,


SUPPLIER_ID*)
SUPPLIER (SUPPLIER_ID, SUPPLIER_NAME, SUPPLIER ADDRESS,
SUPPLIER_TELEPHONE)
PURCHASE (CUST_NO, FLOWER_CODE, BUY_DATE, BUY_QUANTITY,
BUY_TOTAL_AMOUNT)
CUSTOMER (CUST_NO, CUST_NAME, CUST_ADDRESS, CUST^GENDER)

a) Create table Flower.


(3 marks)

b) List down the price of red roses.


(2 marks)

c) Daisy flowers are given 20% discount during promotion period. Modify the price.
(2 marks)

d) Show all the customer's name and address who bought more than 50 flowers.
(4 marks)

e) List down how many purchases being made at Twinkle Florist in January 2009.
(3 marks)

f) Calculate how many different suppliers this florist has.


(2 marks)

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 9 CS/APR 2010/ITS232/250

PART C (20 MARKS)

QUESTION 1

The following questions are based on the given tables below.

JW^^
The Fi r s t
Global C r u i s e Line
• * ,r?l>8HWOwmwr«»iiff;
STAR CRUISES
Superstar series Star Cruises fleet offers three classes of
(Economy) cruising - the Superstar Series, the Star
Series and the Megastar Series.
Super Star Leo Accommodating to your individual needs of
Super Star Gemini lifestyles and budget. Our fleet of ships are
designed to provide comfort and are fully Star series
Super Star Aries equipped with facilities which is recognized (Supersaver)
Super Star Taurus by its facility code and facility name such as Star Pieces
restaurants, pools, gymnasium, recreation
Super Star Virgo
Star Sagittarius
areas, spas, lounges, karaoke rooms,
entertainment and karaoke, library, Star Capricorn
Destination
mahjong, card and games room, cinema Star Aquarius
Vietnam
and shopping. You can exhaust yourself j u s t
China by going through the list! Do everything. Or Meaastar series
Hong Kong nothing.
(Luxurv^
Sure you are longing for a break... Select
Japan
from the choice of destination each of the MegaStar Libra
Malaysia cruise have in the offering - Singapore,
Singapore Malaysia, Hong Kong, Bangkok and there is MegaStar
South Korea a lot more. You can make as many Scorpio
reservations as you like.
Taiwan MegaStar Cancer
Thailand

Reservation ID: Rl 17893


Date: 18-Sept-2009
RESERVATION SLIP

Customer Name : M. Ghazali Mailing Address : Jitra, Kedah.


Customer ID : 887755 Phone Number : 013-2244556
C r u i s e ID C r u i s e Name Cruise Class Destination
AQ112 Aquarius € Superstar Japan
€ Megastar
S Star

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL


CONFIDENTIAL 10 CS/APR 2010/ITS232/250

a) Draw the E-R diagram; identify all entities, the relationships between them and
assign attributes that you think are relevant.
(12 marks)

b) Prepare the relational database structure in 3NF for the E-R diagram you have
developed in (a). Underline all primary keys and understrike(*) all the foreign keys.
(8 marks)

END OF QUESTION PAPER

© Hak Cipta Universiti Teknologi MARA CONFIDENTIAL

You might also like