DDA Assingment
DDA Assingment
Assignment
Introduction
This assignment is a partial fulfilment of requirements leading to Diploma in Science for students taking
the course in AACS3013 Database Development and Applications / AMCS3014 Database
Development and Applications. Students are required to form teams of 4-5 members, based on the
assignment groupings in AACS1304 System Analysis and Design. Every member in a group is expected
to participate and contribute actively in the completion of the assignment.
Students are required to refer to the selected business system done in AACS1304 System Analysis and
Design assignment and fulfil the assignment requirements below. Oracle database is to be used to
develop the database.
Assignment Objectives
The purpose of this assignment is to assess a student’s ability to:
1. Apply the basic concepts or theories learnt in the course.
2. Write business rules for a chosen organization’s environment.
3. Implement the appropriate techniques and methodologies applicable to the database
development life cycle.
4. Critically analyse the requirements for a good database design and design a good database
pertaining to the selected organization’s environment.
5. Develop the designed database using Structured Query Language (SQL) in the Oracle database.
6. Present the complete assignment report in a well organised, clear and interesting manner.
Assessment
The learning outcome assessed are:
CLO2: Produce database solutions according to the requirements and business scenarios. (P4,
PLO3)
CLO3: Demonstrate the ability to solve problem and complete tasks in a given business scenario
using a database management software. (C3, PLO6)
Assignment requirements:
Task 1: Organisation Background (5 marks)
Provide an overview of the organisation background and the information system you have
selected in AACS1304 System Analysis and Design assignment.
You can create tables in MS Access and use the Database Tools →Relationships to check
that your design is correct.
Your design should have between 5 to 10 entities.
Furthermore, you should create sample data that has different date/month/year to simulate a
real-world environment.
Award of Marks
Marks awarded to a particular group will normally be applied to every member of the same group. This
is assumed that the members of the group have contributed equally towards completion of the
assignment. However, in cases where this is not so, then marks may be awarded to each member based
on the amount of contributory efforts invested by each member. Students in group assignments are
required to conduct group/peer appraisal before indicating the quantum of individual contribution which
must be indicated and agreed upon by all members as indicated below. No marks will be awarded to
absentees.
Student Names Student ID Contribution Signature Marks
(%)
Total 100%
Report Content
The following is a list of the minimum requirements that must be included in the assignment report:
• Front cover sheet
• Assignment Assessment Form
• Acknowledgement
• Content page
• References to be listed using Harvard referencing system including any web sites accessed.
Presentation of Assignment
In submitting of assignment the following guidelines must be strictly adhered to.
Presentation Requirements
Students must strictly comply with the following requirements. Non- or partial compliance would lead
to precious marks being deducted.
Line Spacing. Typed material should be single-line spaced.
• Font Size. A body text of font size 12 is required while for headings and subheadings a larger
font size must be used.
• Type Style. Use Times New Romans for body text. Main headings and sub-headings should be
clearly explained using suitable styles (eg. Arial).
• Headers and Footers. Appropriate footers and headers should be used to enhance clarity and
presentation.
• Margin. All pages of the assignment should have a margin of an adequate width of 3 cm (1 inch)
all around.
• Page numbering. Ensure that all pages (except cover page) are numbered.
• Paper Size. Use A4 paper.
• Binding. All pages should be stapled or properly bind.
• Assignment Covers. Use a transparency sheet as the front cover and a manilla card or transparency
sheet as the back cover of the report.
Well-Structured
It is recommended that your assignment be well structured and logically arranged. Your report will
be evaluated on the basis of content and style. Students should make every attempt to use the headings
and sub-headings features wherever possible and appropriate.
Submission of Assignments
Late Submissions
All assignments should be submitted by the stated due date unless as revised and approved by the
lecturer. Marks will be deducted for late submissions of the written paper unless valid reasons or
application for extension and approval is given before the due date of the assignment. Therefore the
responsibility is upon you to ensure that an assignment is substantially prepared prior to the submission
date.
Penalty for late submission of coursework after submission deadline / extended submission deadline:
Late submission within 1 – 3 days: total marks to be deducted is 10 marks.
Late submission within 4 – 7 days: total marks to be deducted is 20 marks.
Late submission after 7 days: reject coursework and zero mark shall be awarded.
As a general rule, no extension of time will be granted. The assignments and its due dates are normally
given in advance to students in order that they will be able to organise their study program.
Assignment Policy
All work presented for assessment is expected to be the student’s own and original work. The lecturer
expects of all students, honest and meticulous acknowledgement of all sources of materials used.
Plagiarism
All work submitted must be original and not previously submitted for assessment at this College or
elsewhere. All information from other sources must be duly acknowledged. In particular, you need to
cite sources discovered on the Internet as you would any other publication. Plagiarism is a breach of
the College regulations and may result in a mark of zero being given for the work containing plagiarism.
Plagiarism includes copying from another source without acknowledging that source, whether it is the
work of another student, an author or of your own assignment for another unit. Students found to have
plagiarised other works will record a failure in the subject.
Given the explosion of electronic publications in recent years, students need to be careful that their
assignments do not become an exercise in cutting and pasting existing abstracts or portions of World
Wide Web pages. Rarely will such an approach produce acceptable results.
Collusion
A less well-defined issue is that of group work. As this assignment is considered as a group assignment,
the forming of a group to share ideas and assist in the development of assignments or projects is an
accepted and encouraged practice. However, it is NOT acceptable for members of one group to submit
identical answers to assignments, by simply copying the work done from another group and
cosmetically disguised it with some modifications.
All assignments must be submitted individually as a group and the lecturer is entitled to consider
identical layout, identical mistakes, identical argument and identical presentation to be prima facie
evidence of collusion.
Cheating
There is no excuse for or sympathy given to students who cheat. A student found guilty of cheating in
assignment, eg. Copying from another student’s assignment or from an assignment submitted in a
previous year either in part or in total, or let another student copy his or her assignment, will be dealt
with seriously. In less serious cases, students’ marks might be reduced or required to resubmit another
assignment while in most serious cases, they might fail the coursework, with no chance for any make
good.
Page |7
2 Develop Business 10% • Include the required and relevant pairs • Excellent (9-10)
rules of business rules
• Good (7-8)
• All business rules must be clearly
defined, precise, and reflect the • Moderate (4-6)
policies and procedures of the
organization’s operational environment • Poor (0-3)
Name
S1. Chua Yuan Hao
S2. Yap Jia Feng
S3. Lam Yu Quan
S4. Tan Wen Zhang
Note:
• Minimum pass grade for this assignment is C
• The students must see the tutor if the overall assignment grade obtained is D
General Comments:
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
______________________________________________________________________________
Grading Scheme:
GRADE A+ A A- B+ B B- C+ C D
MARKS 90-100 80-89 75-79 70-74 65-69 60-64 55-59 50-54 0-49
(100%)
P a g e | 10
Acknowledgement
P a g e | 11
Table Of Content
Chapter 1: The Organisation Background (Chua Yuan Hao) 13
1.1 Background of the system 13
1.2 Organisation hierarchy chart 14
1.3 System structure chart 14
Chapter 2: Business Rules ( Tan Wen Zhang & Yap Jia Feng) 15
2.1 The business rules
Policies
Procedures (calculations, formulas, etc)
Rules and Regulations
Harvard References
P a g e | 13
Organisation Background
Information Systems
The HRIS is a data collection and storage system for an organization's personnel. It is a system that
handles everything from hiring to performance management to learning and development. Besides that,
there are many HRIS functions used by Family Mart.
For examples, the first example is payroll. Payroll is a software programme that automates the process
of paying employees.
The second example is time and attendance. Employee time and attendance data is collected using this
function. Workers nowadays frequently check into work using their fingerprints or a card that is linked
with an HRIS system. This gives an effective entry and exit time. Any concerns with time and
attendance are quickly identified.
P a g e | 14
Business Rule
1) An employee is allowed to arrive at the company latest for 10 minutes after the start of the
working hour otherwise, will be counted as late attendance.
2) Employees are not allowed to use their handphones during working hours or play social
media apps while working.
6) Every employee should be present by 9am and work 9 hours per day.
ERD
DBDL
EMPLOYEE
(EMPLOYEE_ID,EMPLOYEE_NAME,BIRTH_DATE,EMAIL,GENDER,PHONE_NUMBER)
TRAINING
(TRAINING_ID, EMPLOYEE_ID*,TRAINING_COMPANY)
TRAININGCOURSE
(TRAINING_COURSE,TRAINING_ID*,START_DATE,END_DATE)
DEPARTMENT
(DEPARTMENT_ID,DEPERTMENT_NAME,EMPLOYEE_ID*, TRAINING_COIURSE*)
JOB
(JOB_ID, JOB_TITLE, DEPERTMENT_ID*,EMPLOYEE_ID*, SALARY)
P a g e | 17
Table 1 – Employee
create table employee (
emp_id number(7) not null,
emp_name varchar(25) not null,
birth_date date,
email varchar(35),
phone varchar(14),
gender char(1),
primary key(emp_id),
constraint chk_email check (REGEXP_LIKE(email,'^[a-zA-
Z]\w+@(\S+)$')),
constraint chk_gender check (UPPER(gender) in ('M','F'))
);
Table 2 - Training
create table training (
train_id number(7) not null,
emp_id number(7),
train_comp varchar(25) not null,
primary key(train_id),
foreign key(emp_id) references employee(emp_id)
);
Table 4 – Department
create table department (
depart_id number(7),
depart_name varchar(15),
emp_id number(7),
train_course varchar(15),
primary key(depart_id),
foreign key(emp_id) references employee(emp_id),
foreign key(train_course) references trainingcourse(train_course)
);
Table 5 -Job
create table job (
job_id number(7),
job_title varchar(10),
depart_id number(7),
emp_id number(7),
salary number(7),
primary key(job_id),
foreign key(depart_id) references department(depart_id),
foreign key(emp_id) references employee(emp_id)
);
P a g e | 19
select e.emp_id,e.emp_name,e.gender,j.job_title,j.salary
from employee e,job j
where j.job_title = 'MANAGER' AND e.gender = 'M' AND e.emp_id =
j.emp_id;
Sample output:
Query 2
Purpose of this query is to find out the employee that have more than 2000 of salary and also a female
select e.emp_id,e.emp_name,d.depart_id,j.job_title,j.salary,e.gender
from employee e,department d,job j
where j.salary > 2000 AND e.emp_id = j.emp_id AND d.depart_id =
j.depart_id AND e.gender = 'F';
Sample output:
P a g e | 25
Query 3
Purpose of this query is to find out the total amount of the salary of the employee with the job title of
manager
select sum(SALARY)
from job j,employee e
where j.emp_id = e.emp_id AND j.job_title = 'MANAGER';
Sample output:
P a g e | 26