







































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








































Each time you submit an assignment you must attach this statement as the cover page for both the hard copy and the electronic version. If the statement is missing, your work will not be marked. STUDENT DECLARATION I have read and understood Pearson Edexcel Policy on Academic dishonesty and Plagiarism. I can confirm the following details: Program / Qualification Name: BTEC HND in Computing Student ID / Registration Number: Name: Badal Gurung Centre Name: ISMT Module Name: Database Module Leader: I confirm that this is my own work and that I have not plagiarized any part of it. I have also noted the assessment criteria and pass mark for assignments. Student Signature: Submitted date: Badal Gurung (BTEC HND in Computing/ First Semester)
User requirements: It depends on the requirements of the clients. We must take better steps and investigation to identify what a user needs. Admin Admin is the one who have the authority whether to add, delete or update any functions on the application. Employee As an employee your function is restricted to viewing and updating the function when required. Guests As a guest you are an important agenda. You have the right to fill your own information such as your preference on the types of the room, price of the room and so on. System Requirements System specifications are the features and activities of a system that are intended to carry out organizational expectations that contain elements that describe the intentional functionality needed to accommodate users. System requirements for online Hotel Reservation Information about customers such as their id numbers, first and last name, contacts, emails and addresses should be stored. Details about the price must be placed along with room types. Updating payment along with invoice bill. Payment details must be stored properly. Admin should be able to update any users as per need. System accuracy. Software Requirements • OS: Windows 7 with SP1; Recommended Windows 10 • CPU: Intel or AMD processor with 64-bit support; Recommended: 2.8Ghz or faster processor • GPU: nVidia GeForce GTX 1050 or equivalent; Recommended: nVidia GeForce GTX 1660 or higher • Disk Storage: 8 GB free disk space • Software: Ms SQL(SSMS), Visual studio (.net framework) User Requirement of My System • Login id and password are used for identification of user to enter into the application. • Only the System Requirement of My System • Processor: I-5 or Basic Badal Gurung (BTEC HND in Computing/ First Semester)
Core 3 Duo or equivalent. • Windows Requirements: Windows 7/8/10/ Linux OS. • RAM: 2 GB or more. • Software: Net Frame. • Hard Disk: 16 GB Hard drive. Relational database management system: If a stored data in tables is used in combination with other data sets then such type of database is relational database management system (RDBMS). It manages to easily handle multiple queries at a time so RDMS is used in IT fields most frequently by the users. Relations are the tables that are further divided into rows and columns in RDMS.[ CITATION sis21 \l 1033 ] Tools used for relational database system
Advantages of ER-diagram: Quite simple to work by using ER-diagram. Better visual illustration of the layout. Effective verbal exchange tool Highly integrated with relation version Easy conversion to any information model ERD’s Notation Crow’s foot notation: Entity and attributes. Entities are represented by a rectangle with its name in capital letters. While entities are also written in rectangle just below entities. Relationships Relationships are represented by an active or passive verb that connects the related entities. Connectivity Connectivity’s are indicated by symbols next to entities.2 vertical lines for 1. Chen’s Notation It is a common entity-relationship modeling standard that uses rectangles to describe relationships for first class objects by representing entity sets and diamonds. They will have their own characteristics. Badal Gurung (BTEC HND in Computing/ First Semester)
ER Diagram (Chen’s Notation) For the online hotel reservation, we need details about the hotel, rooms, reservations, employees and guests as shown in the above ER-diagram. So, we must make five tables as shown and these tables stores the relative information in their respective column. By the help of ER- diagram, it is quite easy to show the relation between tables. Like as between guests and rooms there is many-to-many Badal Gurung (BTEC HND in Computing/ First Semester)
AC l 2 nd^ Normal Form Table Table should be in 1st^ NF All attributes on the table must be dependent to a key Room Table Room_id Guest_name Type Price 100 Badal With AC 5000 102 Ram Without AC 2500 103 Hari With AC 5000 Guest Table Guest_id Name Address 1 Badal KTM 2 Ram Dang 3 Hari Pokhara There are some values repeated so there are two tables. But we need a dependent table for those two tables as per 2nd^ NF form. So here it is the reservation table; Reservation Table Reserve_id Guest_id Room_id Check_in_date Check_out_dat e 1 1 100 2021-1-1 2021-1- 1 1 101 2021-1-1 2021-1- 2 2 102 2021-1-5 2021-1- 3 3 103 2021-1-8 2021-1- 3 rd^ Normal Form Table Conditions Table must be in 2nd^ NF No Functional dependency Guest_id Name Address 1 Badal KTM 2 Ram Dang 3 Hari Pokhara Room Table Room_id Guest_id Type Price 1 1 With AC 5000 5 1 With AC 5000 Badal Gurung (BTEC HND in Computing/ First Semester)
2 2 Without AC 2500 3 3 Without AC 2500 Only guest table is to be change in order to alter any information on the guests as it will update on its own by guest_id. In some databases, there may need of tons of tables with contains tons of columns and attributes so at that time there may occur some problem while working on it. That’s why, normalizing is necessary to keep proper tracks of all the information. Also, it prevents from data loss and data repetition thus improving the whole performance of the system. Badal Gurung (BTEC HND in Computing/ First Semester)
For Hotel Table For Reservation Table For Room Table Badal Gurung (BTEC HND in Computing/ First Semester)
For Employee Table For Login Table Advantages of normalizations: Badal Gurung (BTEC HND in Computing/ First Semester)
Part 2 Report on Development Process of Database Submitted By: Badal Gurung Badal Gurung (BTEC HND in Computing/ First Semester)
Executive Summary In this report, I have prepared databases of the tables in MS sql server management studio. Tests are being made and kept in this report for easier understanding of the development process. I have managed to kept the source code of the form used in designing the online hotel registration system. I used MS visual studio in preparing the form. Database development and Implementation SQL server and Visual studio are being used here for the purpose of storing data and coding and developing of user interface respectively. Following are the process: Login Info I have created a database Hotel and a table name login_info where login_id is the primary key of the table and I have used varchar data type for the rest of the columns for storing the string variables in the database. Badal Gurung (BTEC HND in Computing/ First Semester)