0% found this document useful (0 votes)
48 views

Tutorial#6 SA - Oct2021

The document describes two database design scenarios. The first involves a book rental database for a bookstore called "Books for Hire" with entities for authors, books, genres, and customers. The second involves designing a sales database for a bakery called "Duchess of Cookies" with outlets in several Malaysian states.

Uploaded by

Raudah Yamna
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views

Tutorial#6 SA - Oct2021

The document describes two database design scenarios. The first involves a book rental database for a bookstore called "Books for Hire" with entities for authors, books, genres, and customers. The second involves designing a sales database for a bakery called "Duchess of Cookies" with outlets in several Malaysian states.

Uploaded by

Raudah Yamna
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

QUESTION 1

a) Ahmad owns a mini bookstore, “Books for hire”. He maintains a database of the
authors by their Nick Name ID which are unique, their birth places, age and gender.
Each book is uniquely identified by its ISBN number where each number only
belongs to one author. He has also stored each book’s title and publication date. For
data analysis purposes, each book is classified based on its genre. Each genre
consists of many books, but each book only belongs to one genre. Genre ID is kept
as a unique identifier with detail definition of the genre. The database also stored
customer information. A rental record is also maintained where each customer can
rent a maximum of two books at a time.

Using the following format, based on the above paragraph, identify the attributes,
primary key and the foreign key(s) of each entity.

Entity Attributes Primary Key Foreign Key

(20 marks)

b) Documentation is essential for successful system operation and maintenance.


Documentation is used to support system’s user and enables the IT staff to modify
the system, add features or perform maintenance. Discuss two (2) types of
documentation.

(5 marks)

QUESTION 2

Duchess of Cookies is a bakery shop located at Bandar Malacca. The shop produces a
variety of commercial cookies based products. It owns 8 retail outlets located in Selangor
(3), Perak (2) and Johor (3). Besides a readymade stock, the customer also may order their
cookies 3 days in advance.

a) You are required to construct the data design for Duchess of Cookies sales database.
Using the following format, based on the above paragraph, Identify four (4) tables(files)
and Identify four (4) fields(attributes) for each table that are needed for the Duchess of
Cookies sales database. Give example of one record for each table.

Table 1
field 1 field 2 field 3 field 4
Record 1

(20 marks)
b) During the construction and implementation phase of new Sales System for Duchess of
Cookies, the implementation phase delay approximately by two months due to the
training problem. Discuss other two (2) factors that need to consider by Duchess of
Cookies in implementing the new Sales System.
(5 marks)

You might also like