0% found this document useful (0 votes)
55 views7 pages

Assignment1 CSIT882

Assignment1_CSIT882

Uploaded by

bhmriaz.cse520
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)
55 views7 pages

Assignment1 CSIT882

Assignment1_CSIT882

Uploaded by

bhmriaz.cse520
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/ 7

School of Computing and Information Technology

University of Wollongong

CSIT882 Data Management Systems


Assignment 1
Due: Friday 18 Aug 2023, 5:00 pm

Scope
This assignment is related to the interpretation of a conceptual schema, conceptual
modelling of the sample database domain and extensions of a given conceptual schema.

Please read very carefully the information listed below.


This assignment contributes to either "satisfactory" or "unsatisfactory" evaluation of
student's contribution and to 0% of the total evaluation in the subject CSIT882.

The outcomes of the assignment work are due by Friday 18 Aug 2023, 5:00 pm
(sharp).

A submission procedure is explained at the end of the specification.

This assignment consists of 3 tasks and the specification of each task starts from a new
page.

It is recommended to solve the problems before attending the laboratory classes in order to
efficiently use supervised laboratory time.

A submission marked by Moodle as Late is treated as a late submission no matter how


many seconds it is late.

A policy regarding late submissions is included in the subject outline.

A submission of compressed files (zipped, gzipped, rared, tared, 7-zipped, lhzed, … etc) is
not allowed. The compressed files will not be evaluated.

An implementation that does not compile due to one or more syntactical or processing
errors scores no marks.

It is expected that all tasks included in Assignment 1 will be solved individually without
any cooperation from the other students. If you have any doubts, questions, etc. please
consult your lecturer or tutor during lab classes or office hours. Plagiarism will result in a
FAIL grade being recorded for the assessment task.

1
Tasks
Task 1

It is recommended to complete this task by the end of week 2.

Given a conceptual schema below.

Your task is to write in plain English a specification of the database domain represented
by the conceptual schema given above. If you would like to see a sample specification of
the database domain, then please look at the specification included in Task 2 below.

Please clearly specify the objects, attributes of objects, associations, identifiers, etc.

Deliverables
A file solution1.pdf with a specification of the database domain of the conceptual
schema given above. Submission of a file with a different name and/or different
extension and/or different type scores no marks.

2
Task 2
It is recommended to complete this task by the end of week 3.

Read and analyse the following specification of a sample database domain.

The buildings owned by a hospital have unique numbers and


unique names. A building has offices, examination rooms,
operating rooms, and utility rooms such as toilets, storage
rooms, meeting rooms, kitchens, etc. Offices, examination
rooms, and operating rooms are identified within a building
by a room number. Utility rooms do not have room numbers,
and their identification consists of the building number,
floor number, and type of utility room (toilet, storage
room, meeting room, kitchen, etc). There is no more than one
utility room of a given type on the same floor in one
building. (e.g. there is only one storage room on the same
floor in one building). The offices, examination rooms, and
operating rooms are described by a size, number of
entries/exits, and type of floor cover. The utility rooms
are described by number of windows.

The offices have various facilities and equipment installed.


The facilities include network connections and air
conditioning. The equipment includes desks, chairs,
computers, etc. An office may have more than one facility
and multiple equipment. We want to record in the database
the names and numbers of the facility and equipment units
installed in each office.

The hospital employees use the offices. An office is


typically occupied by a medical staff member, and some
offices may be shared by multiple support staff members. An
office can also be empty for a certain period of time.
Employees are described by the first and last name, the
unique employee number, and the department name they belong
to.

All examination rooms and operating rooms have a maximum


capacity. The examination rooms and operating rooms are
booked for medical procedures. The database should contain
information about all bookings, including the date and time,
i.e. when the rooms are booked for what medical procedure.
The medical procedures are described by a procedure code
that uniquely identifies a procedure, description, category,
and duration.

An objective of this task is to construct a conceptual schema for a specification of the


database domain listed above.

3
It is not allowed to add any attributes to the specification of the database domain
listed above.

Use the UMLet tool to create a drawing of a conceptual schema in a notation of UML
simplified class diagrams explained to you during the lecture classes in CSIT882. No other
notation will be accepted!

To create a conceptual schema, use a methodology explained to you in the presentation


04 Conceptual Modeling. First, read through the specification listed above and find all
classes of objects. Next, read through the specification again and find all attributes. Next,
read through the specification again and find all associations, link attributes, and
association classes. Next, read through the specification again and find identifiers and
qualifications. Finally, read through the specification and find generalizations. The entire
process described above must be included in the outcomes of the implementation of this
task.

To create the fragments of conceptual schema obtained after each iteration, use the
diagram drawing tool UMLet.

Remember to use CSIT882 palette!

Technically, following a design methodology explained to you in presentation 04


Conceptual Modeling can include the fragments of database specification listed above into
a Word document and then insert into the document the fragments of diagrams and the
final diagram as bmp file obtained from File->Export as … option of UMLet. The structure
of the file should include the specification of a sample database domain with the fragments
of text with the UML simplified class diagrams representing a solution expanded step by
step. When ready convert the Word document into pdf format and save it as a file
solution2.pdf.

If you still do not understand how the problem should be solved, please check the sample
solution of similar tasks available on Moodle in a file sample-solution.pdf.

Deliverables
A file solution2.pdf with a description of a process of conceptual modelling together
with the final design of a conceptual schema. Submission of a file with a different name
and/or different extension and/or different type scores no marks.

4
Task 3

It is recommended to complete this task by the end of week 4.

(1) Create a conceptual schema for the following database domain. To make it completely
clear, only one (the final) conceptual schema is expected.

A bank has BSB (Bank-State-Branch) number, name, phone number


and address. The BSB number can uniquely identify a bank.
The bank name is also unique. Employees work at a bank. An
employee is described by an employee number, first name,
last name, date of birth, address, gender and salary. The
employee number is unique within a bank. Employees include
bank manager, bank teller, and consultant. A customer is
described by a customer number, first name, last name, date
of birth, gender, address, and optional phone number. A bank
has many customers. The customer number is unique within a
bank. Customers open accounts in different banks. An account
is described by account number, type and balance. A BSB and
account number can uniquely identify an account.

(2) Create a conceptual schema for the following database domain. To make it completely
clear, only one (the final) conceptual schema is expected.

A house is described by the address, an optional name, and


the year when built. The address is unique for all the
houses. A house has several rooms. A room has a room type
and size. A room consists of some home appliances. The home
appliance has a serial number and the year made. The serial
number is unique.

(3) Create a conceptual schema for the following database domain. To make it completely
clear, only one (the final) conceptual schema is expected.

A book is described by ISBN and a title. ISBN uniquely


identifies each book. A book consists of many chapters. A
chapter is described by a chapter number, title and topic.
Each chapter has a unique number within a book. A chapter
belongs to one book only. A book is written by one or more
authors. An author can write one or more books. An author is
described by the first name, last name, date of birth, and
country the author comes from. A triple of values: (first
name, last name and date of birth) uniquely identifies each
author. We have three types of books: textbooks, fiction
books and biographies. A textbook is additionally described
by the titles of course it has been applied to. A textbook
can be applied to none or more courses.

(4) Consider the conceptual schema given below and the list of extensions to the database
5
domain. Modify the conceptual schema to make it consistent with the required extensions.
To make it completely clear, only one (the final) conceptual schema is expected.

We would like to extend the database domain in the


following ways.
(a) A software system is also described by the total amount
of free persistent storage required, price, release
number and release date. The price is optional.
(b) A computer BIOS signature identifies a computer.
(c) A capacity of a room must be recorded.
(d) A laboratory room is also described by a security level
and all visual equipment asset numbers in a laboratory.
(e) An office room hosts computers.

Use the UMLet tool to draw (or extend) the conceptual schemas, according to the
specifications given above in a notation of UML simplified class diagrams explained to
you during the lecture classes in CSIT882. No other notation will be accepted!

Remember to use CSIT882 palette!

Use the option File->Export as… to export a conceptual schema diagram into a file in BMP
format. Do not delete an exported file. You will use it as one of the four solutions for your
Task 3.

Insert the four BMP files into a Word file, such as solution3.docx. Clearly mark the
question numbers. When ready convert the Word file into a pdf file solution3.pdf.

In this task, there is NO NEED to provide a detailed analysis of a conceptual schema. The
final conceptual schema expressed in a notation of UML simplified class is completely
sufficient.

Deliverables
A file solution3.pdf with the four conceptual schemas. Submission of a file with a
different name and/or different extension and/or different type scores no marks.

6
Submission
Note, that you have only one submission. So, make it absolutely sure that you submit the
correct files with the correct contents and correct types. No other submission is possible!

Submit the files solution1.pdf, solution2.pdf, solution3.pdf


through Moodle in the following way:
(1) Access Moodle at http://moodle.uowplatform.edu.au/
(2) To login use a Login link located in the right upper corner the Web page or in the
middle of the bottom of the Web page
(3) When logged select a site CSIT882 (S223) Data Management
Systems
(4) Scroll down to a section Submissions
(5) Click on a link In this place you can submit the outcomes of
Assignment 1
(6) Click on a button Add Submission
(7) Move a file solution1.pdf into an area You can drag and drop files
here to add them. You can also use a link Add…
(8) Repeat step (7) for the files solution2.pdf, solution3.pdf
(9) Click on the checkbox with a text attached: By checking this box, I
confirm that this submission is my own work, … in order to
confirm the authorship of your submission
(10) Click on the button Save changes

End of specification

You might also like