Professional Documents
Culture Documents
HMP Kavya
HMP Kavya
PROJECT REPORT
ON
“HOTEL MANAGEMENT SYSTEM”
SUBMITTED BY
KAVYA N : 191NSB7008
CERTIFICATE
This is to certify that Kavya N
Register Number [191NSB7008] of V SEM BCA (Bachelor of Computer
Applications), GT Institute of Management Studies and Research, has submitted the Project
Report as per the syllabus prescribed by Bangalore University for Academic Year 2022-
2023under the guidance and supervision of “Prof.Shruthi G”.
Centre of Examination:
Internal Examiner
External Examiner
ACKNOWLEDGEMENT
It is not exaggeration to say that the emergence of this book was outcome
of observing project. It not only involved number of days of efforts but also
extensive consultation, case study, analysis, programming and much more. In
fact, this project work enjoyed the creation and innovative support from the
concerned guide.
I also like to thank our Principal, Lecturers, my parents and all our
classmates, who have contributed directly or indirectly in our efforts to complete
this project successfully.
With Gratitude
Kavya N [191NSB7008]
Table of Contents
Sl.No NAME OF THE CHAPTERS Page No
13 Conclusions
53
14 Bibliography 54
HOTEL MANAGEMENT SYSTEM | BCA V SEM 2022-2023
The hotel management project is an excellent software tool for the related industries
that can be used in hostels for booking rooms & and there is admin for verify and validate the
employees who are recruited. After validated by the admin the employees can start their
work.
The hotel management system tool is a complete set of software programs, along with
various integrated modules foe various aspects of hotel control. This software program
consists of all the necessary capabilities in an Inn control software. In which the admin can
know the activities or work done by employees.
This software is designed for luxury full-service lodge, beds and Hotels. It
emphasizes the best stage of services for character visitors through our full capabilities that
integrate rooms which are very clean, and the customer can get their generated bill as a pdf,
The generated bills are stored in local devices in which we can give the copy of bill for
customer again in case if they lost their bills.
❖ Sign up
❖ Employee Login
❖ Admin Login ❖ Admin Home
❖ Home Page
❖ Manage Rooms
❖ Customer Check-In
❖ Customer Check-Out ❖ Customer Details Bill
Our project on “Hotel Management System” gives idea about the management in hotels. The
package gives all the information regarding the check in or check out facilities of the
customer. The customer can get his or her room details. It gives details of the customer and
the time of arrival and departure of customer. It gives a detailed report of the customer and
the room occupied by him/her. It gives the information about the employees working in
hotels. This software is very useful to the departments for managing their activities. It can
generate bills as a pdf and give it to customer. Later if the customer lost their bill they can get
the copy of their bill.
Developing software on a topic like “Hotel Management System” has much scope. It
can be made more attractive and many more modules can be attached to provide various
services to customers. Our project provides various services to the customers like booking,
enquiring about any customer (by name/customer Id) or about room availability. The project
has Scope in hotels since the routine activities of managing departments become easy.
This Module contains the details of the Employee such as Name, Email, Password,
Security Question and Security Question Answer, Address. The above Details of Employee
are stored in this module.
This Module consist the details of the Employee Details like Employee email ID &
Employee Password. Before that the Admin should approve the employee details.
This Module consist the login details of Admin. Which is already stored in coding.
The admin login ID and Password can be change in coding.
This Module is used to change the password only for employee, it consist the details
of Email, Security Question & Security Question Answer, New Password
This Module is known as Admin Home page in which it consist of all Employee
Details, In order to approve or disapprove the new Employee in the form of True or False.
2.2.6 Home:
This Module is known as Home page in which it consist of Manage Room page, Customer
Check-In page, Customer Check-Out page, Customer Details Bill page, Logout and Exit
Button.
This Module is used to add or remove the room, which are in under maintenance and
Booked and Not Booked room are shown in this page.
This Module is used to fill the Customer Details before checking in to the hotel,
It contains the details like Name, Mobile Number, Nationality, Gender, Email, ID Proof,
Address, Check-In Date, Bed, Bed type, Room Number, Price.
This Module is used to show the registered Customer Details before Checking out the
Hotel, It Contains the details like Customer Name, check-In Date, Check-Out Date, Contact
Number, Price per day, Total Amount, Customer Email.
This Module is used to store the generated customer bill in the device storage in
which it can be accessed later by Employees and give the pdf to customers.
The increasing complexity of services and hence the large quantities of information necessary
to be maintained by modern technology has made the computerization of the front office
system a necessity, and this system is specially designed for the owner in mind as the end
user.
➢ Easy to use.
➢ Provides more functionality.
➢ Provides more information about cases.
➢ Quick access to information.
➢ More versatile.
The advantages of the proposed system as follows:
➢ To reduce the workload.
➢ To reduce the processing time.
➢ To view the bed arrangement to maintain reliable and update information.
➢ Easy accessibility to.
➢ Computerized quick report for every database.
➢ Correct
➢ Complete
➢ Consistent
➢ Unambiguous
➢ Functional
➢ Verifiable
➢ Traceable
➢ Easily changed
An incorrect or incomplete set of requirements can result in a software product that satisfies
but does not satisfy customer needs. SRS should be functional in nature; i.e., they should
describe what is required without implying how the system will need its requirements. The
purpose of this document is to prescribe the software requirements for "TV Channel Guide"
to be developed. In this software we analyse the essence of maintaining, modifying, and
removing the account and its data.
The software requirement specification is completely done by the following project modules.
Each and every module designed in Apache NetBeans IDE 12.6 Front end tool and Data base
records stored in MySQL 8.0.
Sign Up:
This Module contains the details of the Employee such as Name, Email, Password,
Security Question and Security Question Answer, Address. The above Details of Employee
are stored in this module.
Login Page:
This Module consist the details of the Employee Details like Employee email ID &
Employee Password. Before that the Admin should approve the employee details.
This Module consist the login details of Admin. Which is already stored in coding.
The admin login ID and Password can be change in coding.
Forgot Password:
This Module is used to change the password only for employee, it consist the details
of Email, Security Question & Security Question Answer, New Password.
Admin Home:
This Module is known as Admin Home page in which it consist of all Employee
Details, In order to approve or disapprove the new Employee in the form of True or False.
Home:
This Module is known as Home page in which it consist of Manage Room page, Customer
Check-In page, Customer Check-Out page, Customer Details Bill page, Logout and Exit
Button.
Manage Room:
This Module is used to add or remove the room, which are in under maintenance and
Booked and Not Booked room are shown in this page.
Customer Check-In:
This Module is used to fill the Customer Details before checking in to the hotel,
It contains the details like Name, Mobile Number, Nationality, Gender, Email, ID Proof,
Address, Check-In Date, Bed, Bed type, Room Number, Price.
Customer Check-Out:
This Module is used to show the registered Customer Details before Checking out the
Hotel, It Contains the details like Customer Name, check-In Date, Check-Out Date, Contact
Number, Price per day, Total Amount, Customer Email.
This Module is used to store the generated customer bill in the device storage in
which it can be accessed later by Employees and give the pdf to customers.
Java is one of the most popular programming languages out there. Released in
1995 and still widely used today, Java has many applications, including software
development, mobile applications, and large systems development. Knowing Java opens a lot
of possibilities for you as a developer.
JFrame Constructor. JFrame Constructor & its descriptions are given below. JFrame () –
JFrame () is a JFrame class. JFrame Methods. JFrame class provides some methods which
play an important role in working with JFrame. Examples of JFrame in Java. Here are the
following examples mentioned below. In the above-given example, the swing. Conclusion.
JFrame is the class of the swing package which mainly used to create the JFrame. We can
say that the JFrame.
5.3 Components Used In NetBeans IDE 12.6:
• User settings
• Windows (placement, appearance, etc.)
• NetBeans Visual Library
• Storage
•
• Framework wizard
You do not need to import this package because it contains the classes that are
fundamental to the design of the Java programming language.
This package contains important classes like String, String Builder, Math,
Integer, System, etc.
AWT is part of the Java Foundation Classes (JFC) from Sun Microsystems, the company that
originated Java.
➢ JPanel
8.0 code. To track or contribute to MySQL development, follow the instructions in Installing
MySQL Using a Development Source Tree. If you are interested in MySQL internals, you
should also join the MySQL Community Slack. Feel free to ask questions about the code and
to send patches that you would like to contribute to the MySQL project.
➢ Connection manager threads associate each client connection with a thread dedicated
to it that handles authentication and request processing for that connection. Manager
threads create a new thread when necessary but try to avoid doing so by consulting
the thread cache first to see whether it contains a thread that can be used for the
connection. When a connection ends, its thread is returned to the thread cache if the
cache is not full. For information about tuning the parameters that control thread
resources, see Connection Interfaces.
➢ On a source replication server, connections from replica servers are handled like
client connections: There is one thread per connected replica.
On a replica server, an I/O thread is started to connect to the source server and read
updates from it. An SQL thread is started to apply updates read from the source.
These two threads run independently and can be started and stopped independently.
➢ A signal thread handles all signals. This thread also normally handles alarms and calls
process alarm () to force timeouts on connections that have been idle too long.
➢ The test system that is included in UNIX source and binary distributions makes it
possible for users and developers to perform regression tests on the MySQL code.
These tests can be run on UNIX.
➢ You can also write your own test cases. For information, including system
requirements, see The MySQL Test Framework in the MySQL Server Dioxygen
documentation, available at https://dev.mysql.com/doc/index-other.html.
➢ The current set of test cases does not test everything in MySQL, but it should catch
most obvious bugs in the SQL processing code, operating system or library issues,
and is quite thorough in testing replication. Our goal is to have the tests cover 100%
of the code. We welcome contributions to our test suite. You may especially want to
contribute tests that examine the functionality critical to your system because this
ensures that all future MySQL releases work well with your applications.
➢ MySQL server plugins have access to server “plugin services.” The plugin services
interface exposes server functionality that plugins can call. It complements the plugin
API and has these characteristics:
➢ Services enable plugins to access code inside the server using ordinary function calls.
Services are also available to loadable functions.
➢ For information about plugins for testing plugin services, see the Plugins for Testing
Plugin Services section of the MySQL Server Dioxygen documentation, available at
https://dev.mysql.com/doc/index-other.html.
The plugin services interface differs from the plugin API as follows:
➢ The plugin API enables plugins to be used by the server. The calling initiative lies
with the server to invoke plugins. This enables plugins to extend server functionality
or register to receive notifications about server processing.
➢ The plugin services interface enables plugins to call code inside the server. The
calling initiative lies with plugins to invoke service functions. This enables
functionality already implemented in the server to be used by many plugins; they need
not individually implement it themselves.
➢ To determine what services exist and what functions they provide, look in the include
/MySQL directory of a MySQL source distribution. The relevant files are:
➢ Plugin.h includes services.h, which is the “umbrella” header that includes all available
service-specific header files.
➢ Each service-specific header should contain comments that provide full usage
documentation for a given service, including what service functions are available,
their calling sequences, and return values.
For developers who wish to modify the server to add a new service, see MySQL
Internals: MySQL Services for Plugins.
➢ mysql_keyring: A service for keyring storage, accessible at two levels: 1) At the SQL
level, as a set of loadable functions that each map onto calls to the service routines; 2)
As a C language interface, callable as a plugin service from server plugins or loadable
functions. For more information, see The Keyring Service.
➢ thd_wait: A service for plugins to report when they are going to sleep or stall
Porting MySQL
➢ Before attempting to port MySQL to other operating systems, check the list of
currently supported operating systems first.
See https://www.mysql.com/support/supportedplatforms/database.html.
➢ If you create a new port of MySQL, you are free to copy and distribute it under the
GPL license, but it does not make you a copyright holder of MySQL.
➢ To build MySQL from source, your system must satisfy the tool requirements listed at
Installing MySQL from Source.
➢ If you run into problems with a new port, you may have to do some debugging of
MySQL! See Debugging a MySQL Server.
➢ Before you start debugging MySQL, first get the test program mysys/thr_lock to
work. This ensures that your thread installation has even a remote chance to work.
The MySQL source code contains internal documentation written using Dioxygen.
This documentation is useful for understanding how MySQL works from a developer
perspective.
1. Customer Tab:
1. Users Tab:
2. Room Tab:
The data flow analysis is a study of how and what the data flows through the system.
It is done with the help of Data Flow Diagram (DFD), which depicts the entities involved in
the system, data input by the entities, processes the input data undergoes and data store where
the data is stored.
7.1.1 DFD1
Hotel
Admin Login To
Management
7.1.2 DFD2
Employee
Hotel
Sign-up Login To Management
7.1.3 DFD3
Accommodation Information
Hotel
Administrator
Hotel
Customers Customers
Management
Job Department Info
System
Bill information
List of Accommodation
The IDE provides comprehensive support for JDK 8 technologies and the most
recent Java enhancements. It is the first IDE that provides support for JDK 8, Java EE 7, and
JavaFX 2. The IDE fully supports Java EE using the latest standards for Java, XML, Web
services, and SQL and fully supports the Glassfish Server, the reference implementation of
Java EE.
The IDE enables you to configure options for its many areas of functionality as well as customize its
workspace. The primary tools you can use to configure and update the IDE include the following:
Options Window. The Options window enables you to set general IDE settings, edit any of the IDE's
configurable settings and set keyboard shortcuts.
• The Options window enables you to change any of the IDE's configurable
settings. You select a category at the top of the window to display its settings
in the lower pane. Depending on the category, you can click on the tabs in the
lower pane to access additional settings.
• The changes are applied when you click Apply. Options window by choosing
Tools > Options. (On Mac OS X, choose NetBeans > Preferences.)
• Plugins Manager. The Plugins manager enables you to enable and disable
installed plugins and add new or updated plugins to the IDE.
• You use the Options window to specify global settings for the IDE. Settings
that you specify at the project level override the settings that you specify in the
Options window.
1. Open the Options window by choosing Tools > Options from the main
menu. (If you are running on Mac OS X, choose NetBeans > Preferences.)
2. Select the category in the upper pane to display the configurable settings.
3. Modify the settings.
4. Click Apply.
• When you launch a new version of the IDE for the first time, you are prompted
with the option of importing settings from a previous version of the IDE. This
prompt occurs only if you have a user directory on your system from the
previous version of the IDE and the user directory is in the default location.
1. Keyboard shortcuts
2. Most Source Editor font and colour settings
3. Java Platform Manager contents
4. Library Manager contents
5. Database drivers
6. Servers
• You can recreate the conditions of the first launch at any time by deleting your
current userdir. When you restart the IDE you will be prompted with the
option of importing settings from a previous version of the IDE.
• If you do not import the settings at the first launch but later decide that you
would like to import the settings from a previous installation, you can choose
the settings that you would like to import in the Options window.
1. Extending the IDE - You can very easily generate skeleton code
for extending the IDE's functionality with new features. For
example, you can use the skeleton code to write modules that make
your favourite cutting-edge technologies available to the NetBeans
IDE. Or, if you miss some functionality in the IDE, you can add it
yourself, by using the skeleton code to write a module that
provides the desired functionality
provide the parts of your application that the NetBeans Platform doesn't already have. At
the end of the development cycle, you bundle your application with the NetBeans
Platform, saving you time and energy and resulting in a solid, reliable application.
➢ To work with JavaFX in NetBeans IDE, you must have the following:
➢ Installed JavaFX 2 SDK and Runtime
➢ A JavaFX-enabled Java Platform within the IDE
• JavaFX Preloaders:
➢ Edit JavaFX Java source code as you edit any other Java source code
in the IDE. For more information.
➢ Edit FXML files in one of two ways, depending on whether you have
Scene Builder installed
GT INSTITUTION OF MANAGEMENT STUDIES & RESEARCH 27
HOTEL MANAGEMENT SYSTEM | BCA V SEM 2022-2023
➢ If Scene Builder is not installed, edit the FXML file as you edit any
XML document in the IDE. If Scene Builder is installed,
➢ You can choose to use the IDE's XML editor instead by right-clicking
the FXML file's node and selecting Edit. For more information.
8.3 NetBeans Start Page:
• Section 1: Menus: The NetBeans IDE is like the menus under other IDE,
i.e. it provides quick options to explore the IDE. Add a new project with the
File menu, add sections to the IDE with the View menu, configure window
with the Windows menu, etc.
• Section 2: Toolbar:
Toolbar is a row(s) of boxes, which you can find on the top of the IDE, just after the
menus. You can add a new project, save the project, etc., without searching the sub-menus
under the menu. Also add more options under Toolbar to ease your work.
• Section 5: Options:
This section provides Learn & Discover menu to access resources,
My NetBeans option where you can set your start-up page options. Also
check the new features and news about NetBeans under what’s new section.
• Section 6: Resources:
Here, official NetBeans resources like sample project, demo tour, etc.
is provided here for NetBeans beginners.
• Section 9: Featured Demo: the featured demo i.e. a free course can be
seen here.
1) Right-click the Databases node in the Services window and choose Register MySQL
Server to open the MySQL Server Properties dialog box.
a) Confirm that the server host name and port are correct.
Notice that the IDE enters localhost as the default server host name and 3306 as the
default server port number.
d) Click the Admin Properties tab at the top of the dialog box.
• The Admin Properties tab is then displayed, allowing you to enter information for
controlling the MySQL Server.
• Before you can connect to a MySQL Database Server, you must first ensure that the
MySQL Database Server is running on your machine. If the database server is not
connected you will see (disconnected) next to the user name in the MySQL Server
node in the Service window and you will not be able to expand the node.
• To connect to the database server, confirm that the MySQL Database Server is
running on your machine, right-click the Databases > MySQL Server node in the
Services window and choose Connect. You might be prompted to supply a password
to connect to the server.
➢ In the IDE’s Services window, right-click the MySQL Server node and choose Create
Database.
➢ In the Create MySQL Database dialog box, type the name of the new database. We
will use MyNewDatabase for this tutorial. Leave the checkbox unselected at this time.
➢ Click OK.
The new database appears under the MySQL Server node in the Services window.
➢ Right-click the new database node and choose Connect in the popup menu to open the
connection to the database.
Database connections that are open are represented by a complete connection node ( ) in the
Services window.
Now that you have connected to MyNewDatabase, you can begin exploring how to create
tables, populate them with data, and modify data maintained in tables. This allows you to
take a closer look at the functionality offered by the Database Explorer, as well as NetBeans
IDE’s support for SQL files.
9.12.1:
9.12.2:
Import java.awt.event.KeyEvent;
Import javax.swing.JOptionPane;
Import java.sql.*;
Import project. Select;
Public class login extends javax.swing.JFrame {
Public login () {
InitComponents ();
}
Private void initComponents () { jLabel2 = new
javax.swing.JLabel (); jLabel3 = new
javax.swing.JLabel (); jTextField1 = new
javax.swing.JTextField (); jPasswordField1 = new
javax.swing.JPasswordField (); jButton1 = new
javax.swing.JButton (); jButton2 = new
javax.swing.JButton (); jButton3 = new
javax.swing.JButton (); jLabel1 = new
javax.swing.JLabel (); jButton4 = new
javax.swing.JButton (); jButton5 = new
javax.swing.JButton (); jPanel1 = new
javax.swing.JPanel (); jLabel4 = new
javax.swing.JLabel ();
SetDefaultCloseOperation (javax.swing.WindowConstants.EXIT_ON_CLOSE);
Set Undecorated (true);
GetContentPane ().set Layout (new org.netbeans.lib.awtextra.AbsoluteLayout ());
jLabel2.setBackground (new java.awt.Color (255, 255, 255)); jLabel2.setFont
(new java.awt.Font ("Tahoma", 1, 14)); // NOI18N jLabel2.setForeground (new
java.awt.Color (255, 255, 255)); jLabel2.setText ("Email");
GetContentPane ().add (jLabel2, new org.netbeans.lib.awtextra.AbsoluteConstraints (560, 350,
60, -1));
}
});
jTextField1.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
jTextField1KeyPressed(evt);
}
});
jButton1.addKeyListener(new java.awt.event.KeyAdapter() {
public void keyPressed(java.awt.event.KeyEvent evt) {
jButton1KeyPressed(evt);
}
});
} rs.close
();
}
Catch (Exception e)
{
JOptionPane.showMessageDialog (null, e);
}
}
Try { for
(javax.swing.UIManager.LookAndFeelInfo info :
javax.swing.UIManager.getInstalledLookAndFeels()) {
if ("Nimbus".equals(info.getName())) {
javax.swing.UIManager.setLookAndFeel(info.getClassName());
break;
}
}
} catch (ClassNotFoundException ex) {
java.util.logging.Logger.getLogger(manageRoom.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
} catch (InstantiationException ex) {
java.util.logging.Logger.getLogger(manageRoom.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
} catch (IllegalAccessException ex) {
java.util.logging.Logger.getLogger(manageRoom.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
} catch (javax.swing.UnsupportedLookAndFeelException ex) {
java.util.logging.Logger.getLogger(manageRoom.class.getName()).log(java.util.logging.Level.SEVE
RE, null, ex);
}
public void run() {
new manageRoom().setVisible(true);
}
});
}
private javax.swing.JButton jButton1; private
javax.swing.JButton jButton2; private
javax.swing.JButton jButton3; private
javax.swing.JComboBox<String> jComboBox1; private
javax.swing.JComboBox<String> jComboBox2;
private javax.swing.JLabel jLabel1; private
javax.swing.JLabel jLabel2; private
javax.swing.JLabel jLabel3; private
javax.swing.JLabel jLabel4; private
javax.swing.JLabel jLabel5; private
javax.swing.JLabel jLabel6; private
javax.swing.JScrollPane jScrollPane1; private
javax.swing.JTable jTable1; private
javax.swing.JTextField jTextField1; private
javax.swing.JTextField jTextField2;
}
import java.awt.event.KeyEvent;
import java.text.SimpleDateFormat;
import java.util.Calendar; import
javax.swing.JOptionPane;
import java.sql.*; import project.*;
initComponents();
jTextField7.setEditable(false);
jTextField8.setEditable(false);
SimpleDateFormat myFormat= new SimpleDateFormat("dd/MM/yyyy");
Calendar Cal=Calendar.getInstance();
jTextField7.setText(myFormat.format(Cal.getTime()));
}
String bed;
String roomType;
String roomNo; String
Price; public void
roomDetails() {
jComboBox4.removeAllItems();
jTextField8.setText("");
bed=(String)jComboBox2.getSelectedItem();
roomType=(String)jComboBox3.getSelectedItem();
try {
ResultSet rs=Select.getData("select *from room where bed='"+bed+"' and
roomType='"+roomType+"' and status='Not Booked'");
while(rs.next())
{
jComboBox4.addItem(rs.getString(1));
}
}
catch(Exception e)
{
JOptionPane.showMessageDialog(null, e);
}
}
private void initComponents() { jLabel1 = new
javax.swing.JLabel(); jButton1 = new
javax.swing.JButton(); jLabel2 = new
As the coding is completed according to the requirement, we have to test the quality of the
software. Software testing is a critical element of software quality assurance and represents the
ultimate review of specification, design and coding. Although testing is to uncover the errors
in the software but is also demonstrates that software functions appear to be working as per the
specification, those performance requirements appear to have been met, In addition, data
collected as testing is conducted provide a good indication of software reliability and some
indications of software quality as a whole.
11.2 MySQL CONNECTION TESTING:
MySQL 8.0 is a new generation of application is on the horizon for business and
consumers. The connection between the NetBeans and MySQL 8.0 database is Legit and
there was minor errors occurred before creation of database later on the errors cleared and the
project run very smoothly without any errors but with some minor warnings, Basically the
warnings are common it’s not harmful, But the project run without any errors. The MySQL is
used to store the data which are entered by the employee in the backend. This database is so
secured that the only admin can access the entire database, Even the employee cannot access.
The employee can only update or delete the contents of database. So that we can purely trust
this MySQL database.
Database creation in the MySQL 8.0 is very easy that any person can understand how
to create database. In our Hotel Management System there was no error detected while
creating database. Later the database has been enquired thoroughly after creating it there was
no error detected. The connection from NetBeans to MySQL database is legit. In this case
there was no errors detected and the database is performing as usual there is no worries.
System testing is designated to uncover weakness that was not detected in the earlier
beats. The total system is tested for recovery and feedback after various major failures to
ensure that no data are lost. An acceptance test is done to validity and reliability of the
system. The philosophy behind the testing is to find error in project, there are many test cases
designed with this in mind. The flow of testing is as follows.
11.6.1 CODE TESTING:
Specification testing is done to check if the program does with it should do and how it
should behave under various condition or combinations and submitted for processing in the
system and it is checked if any overlaps occur during the processing.
This strategy examines the logic of the program. Here only syntax of the code is tested. In
code testing syntax error are corrected, to ensure that the code is perfect.
11.6.2 UNIT TESTING:
The first level of testing is called unit testing. Here different modules are tested against the
specifications produced during the design of the modules. Unit testing is done to test the
working of individual modules with test oracles
➢ Integration testing.
➢ Acceptance testing.
The next level of testing is called the Integration Testing. In this many tested modules
are combined into subsystems, which were then tested.
Test case data is prepared to check the control flow of all the modules and to exhaust
all possible inputs to the program. Situations like treating the modules when there is no data
entered in the test box is also tested.
This testing strategy dictates the order in which modules must be available, and exerts
strong influence on the order in which the modules must be written. Debugged and unit
tested. In integration testing, all the modules units on which unit testing is performed are
integrated together and tested.
This testing is performed finally by user to demonstrate that the implemented system
satisfies its requirements. The user gives various inputs to get required outputs.
Specification testing is done to check if the program does what it should do and how it
should behave under various conditions or combination and submitted for processing in the
system and it is checked if any overlaps occur during the processing.
Performance time testing is done to determine how long it takes to accept and respond
i.e.. The total time for processing when it has to handle quite a large number of records. It is
essential to check the exception speed of the system, which runs well with only a handful of
test transactions. Such systems might be slow when fully loaded. So testing is done by
providing large number of data for processing. A system testing is designed to uncover
weaknesses that were not detected in the earlier tests.
The total system is tested for recovery and fall back after various major failures to
ensure that no data are lost during an emergency. An acceptance test is done to ensure the
user about the validity and reliability of the system.
Following are some of the important test cases are expected as per the testing
plan used for the Hotel Management System.
1. Test conducted in the activities of the Customer Details, Signup, Login are as follows:
Test Case No. 1
Module Signup, Login, Customer Details
Test Only characters for name column and numbers for mobile number
column
• The System can also be developed using JAVA with the help of NetBeans
Application software.
Chapter: 13 CONCLUSIONS
The system is designed in such an extendable fashion to incorporate the future changes to the
system easily. Any particular can be added easily and get connected to the menu. The various
user-friendly features are introduced in this project. There are several future ideas to develop
this application, still in mind. All the links to other forms are generated and are tested with
the actual system.
The database connectivity is tested with the user requirements and verified for the
validity. The software requirements have been met. Needed documents are generated and
adequate documentation has been provided for maintenance and further enhancements. The
operation required by the user to operate the system is basic computer knowledge only.
Finally, this is Well graphics project and all the forms are very easy to understand for
every computer operator, so that the transactions of the databases for completely recorded in
a report in the form of SQL data report. No confusions for the required Final printing reports
for all modules in well append project such as channel details, programme details,
programmer details, sponsor details, programme schedule, sample programme table,
registered channel, advertisement details, sample adds on programme, programme ratings,
sponsors, list of allotted programmes, programme schedule list, list of adds, programme
schedule report, programmer details report, sponsor details report, programme rating report
and about us. These modules are completely validated and 100% verifications done in the
frontend tool visual studio and inserted well graphics design
Chapter: 14 Bibilography
WEBSITES:
• http://www.google.com
• http://www.microsoft.com
• Welcome to Apache NetBeans
• http://www.wikipedia.org
• http://www.mysql.com
REFERENCES:
• YouTube tutorials.
• MySQL Query’s.
• How to use NetBeans.
• How to use MySQL.
• Connecting database to MySQL through NetBeans.