Você está na página 1de 22

UNIVERSITI TENAGA NASIONAL ACADEMIC YEAR 2013/2014 DATABASE 1 CISB214 Section 04A & 04B Project

Group Members: Jesmin a/p Rajesh Karthik a/l Shanmugam Kishok a/l Seeredaren Nirosha a/p Savaria Xavier Thinagaran a/l Karuppiah SN088895 SN088897 SN088899 IS088037 SW087654

TABLE OF CONTENTS

1. Analysis..................................................................................................................1 1.1. Business Detail.........................................1 1.2. Mission Statement and Mission Objective..................2 1.3. Scope and Boundaries..................3 1.4. Major User Views............4 1.5. Resources.........................................................................................................6 1.5.1. Techniques Used To Collect Information...............6 1.5.2. Transaction Performed on the Data............8 1.5.3. Identification of Entities, Relationships and Attributes in System.........9 1.6. Query Transactions...................................................................................11 2. Database Design...................................................................................................12 2.1. Entity Relationship Diagram..........................................................................12 2.2. Data Dictionary..............................................................................................13 2.3. Tables.............................................................................................................14 2.3.1. Table 1: Staff........................................................................................14 2.3.2. Table 2: Reservation.............................................................................15 2.3.3. Table 3: Student....................................................................................16 2.3.4. Table 4: Venue......................................................................................17 2.4. Normalization Procedure...............................................................................18 3. References............................................................................................................20

ANALYSIS
Business Details The system we proposed is the UNITEN Hall Reservation System. The halls available in UNITEN are the DSS, BV Theatre, BM Theatre, Auditorium and the Admin Gallery. The procedure in order to book the halls are currently is an offline system where the administration staff handles all the bookings of the hall without a computerize system. With the implementation of the UNITEN Hall Reservation system, it eases the booking of the halls in UNITEN, and helps the administration staff to record the reservations in an efficient and effective manner. They will also get to see which halls and dates are available for reservation. It will be easier to update details and it reduces the workload of staff (user) that are responsible of handling the hall reservation.

Mission Statement The purpose of the UNITEN Hall Reservation System is to maintain the students records that have been collected and also to generate a clear view of reservations that have been made according to students desire.

Mission Objective The main objective of the UNITEN Hall Reservation System is to provide ease of use to the staffs UNITEN in placing the students desired hall reservations and also allow them to update the details when necessary.

The primary objectives used to develop this system are as follows:-

To manage hall reservation efficiently. To provide an efficient data storing system. Make a user friendly system for the students and staffs of Uniten. Reduce the use of paper and also paper work for the staffs of Uniten. View overall students reservation list. Insert, delete and update student details. To find students details by using students ID.

Scope All the information needed has to be filled up in order to make a successful reservation. System should automatically save student detail once reservation is made so that they do not have to go through the process of filling up the information again for the next reservation. An option is given to change the reservation date or time if in case the students has to reconsider them. Only admin staff is allowed to view the full description of reservations, in another word the security must be really effective and satisfying. Students are allowed to make reservation only upon a valid ID number. Students are allowed to view their reservation on their UNITEN student info system.

Boundaries Only admin staff is allowed to view the full description of reservations, in another word the security must be really effective and satisfying. Admin staffs are the ones who could approve the reservation of a student and they can discard it if the reservation made is not convincing. Students are allowed to view their reservation on their UNITEN student info system. Students are not allowed to view others students reservations.

Major User Views For the UNITEN Hall Reservation System, the administration staffs are the only users that are involved in handling this system. Students first have to fill up a form manually, here they are required to write all their particular details and also the information regarding the events to be held as well as choosing their desire venue listed in the form itself. Once the form has been submitted to the administration staff, the staff will first register the details of the student and followed by entering the reservation made by the respective students.

Table Name

Attribute

Staff

Student

StaffId Staff_Name Staff Staff_Position Staff_Address Staff_ Contact_No Staff_Email Reservation_ID Student_ID Staff_ID TypeOfEvent Reservation Event_Description Event_Date Start_Time End_Time Student_ID Student Student_Name Club_Society Student_Contact_No Student_Email Venue Venue_code Venue Capacity Venue_description Venue_PersonIncharge means user can view the specific attribute. Staffs are authorised to view all the above, while students are only allowed to view their personal details and also some of the informations regarding the hall reservation.
5

Resources
Data Used to Gather Technique: Questionnaire Technique

To gather information, we prepared a set of questionnaires with 10 questions in it to know if the system that we are implementing would be something that students are expecting to have and would the system be helpful. Other than that, we have also been observing how the manual hall reservation procedure has been and how tedious the process is. The questions in our questionnaire are as follows: 1) You are a: UNITEN student UNITEN non - academic staff UNITEN academic staff

2) Do you think we should implement the online reservation system for booking UNITEN Hall? Yes No

3) Do you think by having the reservation system, it would make the procedure of booking the hall easier? Yes No

4) Do you think this system would be a user-friendly system for the intended user? Yes No

5) Would the system reduce problems people face when booking the hall manually (without having a system)? Yes No

6) Do you think this system will reduce workload? Yes No

7) Do you think this system will benefit everyone? Yes No

8) How often do you think the hall will be in use in a week? (Tick one) 2 times 4 times 5 times

9) Have you ever come across a hall booking reservation system before? Yes No 10) If your answer to the previous question was No, then you may ignore this question, otherwise please answer this question : How would you rate the level of difficulty of having a system rather than booking a hall manually? Easy Medium Difficult

Transaction to be Performed on the Data 1) Check for empty reservation date 2) List of reservations 3) Key in student details if theres empty slot 4) Key in venue details 5) Reservation is done

Entities, Relationship and Attributes in the System Entities Staff Reservation Student Event

Attributes a) Staff: StaffId Staff_Name Staff_Position Staff_Address Staff_Contact_No Staff_Email

b) Reservation: Reservation_ID Student_ID TypeOfEvent Event_Description Event_Date Start_Time End_time

c) Student: Student_ID Student_Name Club_Society Student_Contact_No Student_Email

d) Event: Relationship Submits form Key in details Includes Reserves Venue_code Venue Capacity Venue_description Venue_PersonIncharge

10

Query Transaction 1. Display the student ID, name for the entire student in the month of January. 2. Display the event type and event date for the entire student in ascending order. 3. Update the student name, id that reserved for Auditorium. 4. Display all the staff id, name, position in the same department. 5. Display the start time and end time of the event at the admin gallery in ascending order. 6. Display the venue of the reservation in the month of April until November. 7. Display the student contact number and email that reserved for the current month. 8. Display the reservation made in month of January until Jun. 9. Display the order ID in ascending order and the name of all students that reserved the venue in BV Theatre. 10. Delete the entire student name, ID, email, contact number for reservations made in year 2010. 11. Update students name, id, and email address for new hall reservation.

11

DATABASE DESIGN

Entity Relationship Diagram (ERD)

Student Student_ID Student_Name Club_Society Student_Contact_No Student_Email 1..* Reserves 0..* Reservation Reservation_ID Student_ID Staff_ID TypeOfEvent Event_Description Event_Date Start_Time End_Time 1..1 1..1 Includes Venue Venue_code Venue Capacity Venue_description Venue_PersonIncharge 1..* Key in details Key in details 1..* 1..* 1..* StaffId Staff_Name Staff_Position Staff_Address Staff_Phone Staff_Email Staff

12

Data Dictionary Table Name Attribute Name Attribute Type

StaffId Staff_Name Staff Staff_Position Staff_Address Staff_ Contact_No Staff_Email

Numeric(6) Varchar (20) Char (10) Varchar (50) Numeric (10) Varchar (20)

Reservation_ID Student_ID Staff_ID TypeOfEvent Reservation Event_Description Event_Date Start_Time End_Time

Numeric(10) Numeric (6) Numeric (6) Varchar (20) Varchar (60) Varchar (10) DateTime(6) DateTime(6)

Student_ID Student Student_Name Student_Address Club_Society Student_Contact_No Student_Email

Numeric(6) Varchar (30) Varchar (50) Varchar(20) Numeric(10) Varchar(20)

Venue

Venue_code Venue Capacity Venue_description Venue_PersonIncharge

Numeric(6) Varchar (15) Numeric(2) Varchar (50) Varchar (30)

13

Tables Table 1: Staff StaffId Staff_Name Staff_Position Staff_Address Staff_Contact_ No 123456 HAZRUL MANAGER NO.15,JALAN EMAS, TAMAN EMAS, SELANGOR 123557 AIMAN NABILA ADMIN STAFF NO.9, TAMAN IKAN JELAWAT 5,AMPANG,SELA NGOR 128262 PRIYA ADMIN CLERK NO.323, SYMPONY 6/4, SELANGOR 1237992 CALVIN NG 123344 MOHANA ADMIN SUPERVISER ADMIN STAFF NO.1, TAMAN TELUK, IPOH NO.33, JALAN KAMPUNG3/3, JOHOR 0138495032 Mohana_28@hotmail.c om 0128752197 NG_calvin@gmail.com 010458123 Priya3@hotmail.com 0198382530 AIMAN@yahoo.com 01294759343 Harrul_m@yahoo.com Staff_Email

14

Table 2: Reservation
Reservation _ID Student_ID Staff_ID

TypeOfEvent Charity show

Event_Description

Event_Date

Start_Time 18:30

End_Time 23:00

0124

087127

123557

Held to raise funs

12/08/10

0128

087208

123557

Convocation reunion

Reunion

for

all 11/11/12

19:00

23:00

Uniten graduates Gathering day for all international students, games, and cultural shows. 01/12/12 09:00 15:00

0128

086126

123344

International students day

0127

086449

123456

General meeting

To elect students representatives for the new semester Talk on how to write a good resume

14/05/13

18:30

20:00

01239

086388

123456

Self-help

05/06/13

14:00

16:00

15

Table 3: Student Student_ID Student_Name 087127 087208 086126 Elise Yasim Mohammad Omar 086449 086388 Andrew Chan Ranjan Club_Society Techflow MPP International society Chess Club SEAL Club 0129872345 0109724643 Andrew_chan91@yahoo.com r.jan@gmailcom Student_Contact_No 0166324469 0179920739 0183982224 Student_Email elise@yahoo.com Prema90@hotmail.com m_1990@ygmail.com

16

Table 4: Venue Venue_code 01 Venue DSS Capacity 500 Venue_description Air condition available, Chairs are available, Has stage, Tables available, Indoor. 02 LIBRARY AUDITORIUM 200 Air condition available, Cushion seat available, Has stage, Indoor. 01 DSS 500 Air condition available, Chairs are available, Has stage, Tables available Indoor. 03 BV Theater 200 Air condition availabel, Cushion seat available, Has stage, Indoor. 03 BV Theater 200 Air condition availabel, Cushion seat available, Has stage, Indoor. EN.RAJA EN.RAJA EN.KAAMAL PN.RASIDAH Venue_PersonIncharge EN.KAAMAL

17

Normalization Procedure Table 1 - 1NF Staff_ID Staff_Name Staff_ Position Staff_ Address Staff_ Staff_ Contact_No Email

Functional Dependencies FD 1 = Staff_ID Staff_Name, , Staff_Position,Staff_Address, Staff_Contact_No, Staff_Email

Table 2 - 1NF Reservatio_ Student_ Staff_ TypeOfEvent Event_ Event_ ID ID ID Description Date Start_ Time End_Time

Functional Dependencies FD 1 = Reservation_ID Student_ID, Staff_ID FD 2 = Reservation_ID, Student_ID TypeOfEvent, Event_Description, Event_Date,Start_Time, End_Time 1NF 2NF Thus, in 2NF, we will be having these tables: Reservation Reservation_ID Student_ID Staff_ID

18

Reservation_Details Reservation_ ID Student_ TypeOfEvent Event_Description ID Event_Date Start_Time End_Time

Table 3 - 1NF Student_ID Student_Name Club_Society Student_Contact_No Student_Email

Functional Dependencies FD 1 = Student_ID Student_Name, Club_Society, Student_Contact_No, Student_Email

Table 4 - 1NF Venue_code Venue Capacity Venue_description Venue_PersonIncharge

Functional Dependencies FD 1 = Venue_code Venue, Capacity, Venue_description, Venue_PersonInCharge

19

References

Halls Booking. (n.d.). Retrieved August 1, 2013, from http://http://www.netmedia.co.uk/pages/halls-booking.php

Online Hall Booking System. (n.d.). Retrieved August 1, 2013, from http://www.netmedia.co.uk/pages/halls-booking.php

Retrieved August 1, 2013, from http://www.artsatlas.com.au/wp-content/uploads/2013/06/HallsBooking-System.pdf

Tutorial - How to Draw Entity Relationship Diagram (ERD). (n.d.). Retrieved from http://www.visual-paradigm.com/product/vpuml/tutorials/erd.jsp

20

Você também pode gostar