Вы находитесь на странице: 1из 38

Downloaded from Studynama.com.

Click to download unlimited free college projects »

Project Report on
Hotel Management System

BTech Computer Science Project Report

Downloaded from Studynama.com. Click to download unlimited free college projects » 1


Studynama.com - #1 destination for free notes, eBooks, papers & projects.
Choose your course below and start downloading!

CBSE/STATE BOARD SCHOOL STUDENTS – NOTES, EBOOK, PROJECTS, REPORTS

» CBSE/State Boards Class 9 & 10 - Notes, eBooks


» Class 9 & 10 Lecture/class notes, eBooks PDF
» Class 9 & 10 previous year/sample Papers PDF
» CBSE/State Boards Class 11 & 12 Notes, eBooks
» Class 11 & 12 Science & Medical Notes, eBooks
» Class 11/12 science & medical notes, eBooks PDF
» Class 11/12 science & medical board exam papers
» Class 11 & 12 Commerce Notes, eBooks
» Class 11/12 commerce notes, eBooks PDF
» Class 11 & 12 Arts Notes, eBooks PDF

ENTRANCE EXAMINATIONS – PAPERS, CUTOFFS, COUNSELLING, SEAT AVAILABILITY

» Engineering entrance exam papers, notes, cutoffs


» BE/BTECH Engineering colleges ranking
» IIT-JEE Mains (AIEEE) 2018 Papers, Notes
» IIT JEE Advanced 2018 Papers, Notes
» MBBS Pre-Medical Entrance Papers, Notes
» AIIMS 2018 Papers, Notes, Cutoffs
» BBA Entrance Papers, Notes, Cutoffs
» LLB LAW Entrance Papers, Notes, Cutoffs
» LSAT 2018 Papers, Notes, Cutoffs
» CLAT 2018 Papers, Notes, Cutoffs PDF
» GATE 2019 exam notes, eBooks, cutoffs
» MBA/PGDM Entrance Notes, eBooks, Cutoffs
» MCA Entrance Exam Notes, eBooks, Cutoffs

STUDY ABROAD & INTERNATIONAL EXAM PREPARATION STUDY MATERIAL

» Study Abroad & International Studies Exams


» IELTS Exam Question Papers & Solutions
» IELTS Listening Solutions, Strategy, Experiences
» IELTS Reading Solutions, Strategy, Experiences
» IELTS Writing Solutions, Strategy, Experiences
» IELTS Speaking Solutions, Strategy, Experiences
ENGINEERING – NOTES, EBOOKS, PROJECTS, REPORTS PDF DOWNLOAD

» Engineering Lecture Notes, eBooks, Projects


» First Year Engineering Lecture Notes, eBooks, Papers
» Computer (CSE/IT) Engineering Lecture Notes, eBooks
» Computer (CSE/IT) Project, Summer Training Report
» Electronics (ECE) Engg. Lecture Notes, eBooks
» Electronics (ECE) Engg. Projects, Summer Training Reports
» Electrical/EEE Engineering Lecture Notes, eBooks
» Electrical/EE Engineering Projects, Summer Training Reports
» Mechanical Engineering Lecture Notes, eBooks
» Mechanical Engg. Projects, Summer Training Reports
» Civil Engg. Lecture Notes, eBooks
» Civil Engg. Projects, Summer Training Reports

MEDICAL – NOTES, EBOOKS, CASES, PROJECTS, REPORTS PDF DOWNLOAD

» MBBS Lecture Notes, eBooks, Cases


» BDS Lecture Notes, eBooks, Cases
» BHMS Lecture Notes, eBooks, Cases

LAW – NOTES, EBOOKS, PROJECTS, CASES & REPORTS PDF DOWNLOAD

» LLB/LLM Lecture Notes, eBooks, Cases


» LLB/LLM Lecture Notes, eBooks, Cases

MBA - NOTES, EBOOKS, PROJECTS, CASES & REPORTS PDF DOWNLOAD

» MBA/PGDM Notes, eBooks, Papers


» MBA/PGDM Marketing Notes, eBooks, Projects, Cases & Reports FREE PDF Download
» MBA/PGDM Finance Notes, eBooks, Projects, Cases & Reports FREE PDF Download
» MBA/PGDM HR Notes, eBooks, Projects, Cases & Reports FREE PDF Download
» MBA/PGDM Operations Notes, eBooks, Projects, Cases & Reports FREE PDF Download

BBA/BBM, B.COM., MCA NOTES, EBOOKS, PROJECTS & REPORTS PDF DOWNLOAD

» BBA/BBM Lecture Notes, eBooks, Projects


» B.COM Lecture Notes, eBooks, Projects
» BCA Lecture Notes, eBooks, Projects
» MCA Lecture Notes, eBooks, Projects
Downloaded from Studynama.com. Click to download unlimited free college projects »
Table of Contents

S.no. Topics Page no. Signature


1 Introduction 4-5
2 General 6
characteristics
3 Requirement 7-12
Specifications
4 Feasibility study 13
5 Use case analysis 14
6 Data flow 15-17
diagrams
7 Snapshots 18-23
8 Structure chart 24
9 System overview 26
10 Design 26-27
Consideration
11 Coding principles 27-28
12 Testing 29-31

Downloaded from Studynama.com. Click to download unlimited free college projects » 2


Studynama’s Engineering Community is one of India’s Largest Community of BE & BTECH Students. About 79,182
Indian Engineering students are members of this community and share FREE study material, notes, eBooks, major
and minor projects, exam papers etc. to enable each other to do well in their semester exams.

Links to Popular Study Material for Engineering (BE/BTech) students:


CSE & IT Engineering Electronics Engineering Electrical Engineering Mechanical Engineering Civil Engineering

Computer Science Electronics Engineering BTech Civil/Structural


Electrical/EE Engineering Mechanical/Automobile/IP
(CSE/IT Engineering) (ECE/ET/EC) Engineering Second
Second/2nd Year Notes Engineering second year notes
Second/2nd Year Notes Second/2nd Year Notes Year Lecture Notes

CSE/IT Computer Electronics Engineering BTech Civil/Structural


Electrical/EE Engineering Mechanical/Automobile/IP
Science Engg. Final/4th (ECE/EC/ET) Third/3rd Engineering Fourth
Third/3rd Year notes Engineering fourth year notes
Year Notes Year Notes Year Lecture Notes

Computer Science Electronics (ECE/ET/EC) BTech Civil/Structural


Electrical/EE Engineering Mechanical/Automobile/IP
Engineering (CSE/IT) Engineering Final/Fourth Engineering Third Year
Fourth/4th Year Notes Engineering third year notes
Third/3rd Year Notes Year Notes Lecture Notes

Advanced Java Antenna & wave Electrical Machine-1 pdf Automobile engineering lecture
Surveying 1 - eBook
Programming eBook propagation eBook download notes

Web Technology - Network analysis & Electrical machines-II Engineering materials & SOM - strength of
eBook synthesis notes eBook metallurgy lecture notes materials - eBook

E-Commerce lecture VLSI engineering pdf Manufacturing Technology-1 Engineering Geology


EMI eBook
notes lecture notes lecture notes eBook

And 12998 more free downloads for BE & BTech Students.

Other Popular Links for Engineering Study Material:


• Engineering First Semester (Sem 1) Notes
• Engineering Second Semester (Sem 2) Notes
• Engineering chemistry pdf eBook
• Engineering Mechanics PDF Lecture Notes
• Electrical/EE Engineering notes
• Mechanical/Automobile/IP Engineering notes
• Powerplant Engineering Lecture Notes
• Engineering Mechanics lecture notes
Downloaded from Studynama.com. Click to download unlimited free college projects »
INTRODUCTION

Objectives of Project:
From the beginning, the important thing in our mind is that we should concentrate
our project work on a subject that is easy to understand and is according to our daily
requirement. By keeping this in mind, the subject chosen by us is hotel management.
The purpose of Hotel MANAGEMENT SYSTEM is to provide both, the
administrator and customer a convenient environment for various operations
The objective is to free the administrator from manual book keeping of various
details. It facilitates the admin to keep a track of all the details simultaneously and
conveniently without any overheads of time, space and stationery cost.

The various objectives are:

 Storing the details of customers.


 To provide easy way of booking rooms.
 Maintaining and updating customer account: generating bill, keeping track of
transactions.

Project Scope

The project is constructed so that the user can use it efficiently. Because of this
technical simplicity, the scope of the project is wide with respect to the no. of users.
The project is basically designed for owners of hotel. However, with certain changes
it can be used by other managers as well. The first subsystem is a Reservation and
Booking System to keep track of reservations and room availability. The second
subsystem is the Tracking and Selling Food System that charges the current room.
The third subsystem is a General Management Services and Automated Tasks
System which generates reports to audit all hotel operations.
There are two end users for the Hotel Management System. The end users are the
hotel staff (customer service representative) and hotel managers. Both user types
can access the Reservation and Booking System and the Food Tracking and Selling
System. The General Management System will be restricted to management users.

Downloaded from Studynama.com. Click to download unlimited free college projects » 3


Downloaded from Studynama.com. Click to download unlimited free college projects »

Care has been taken to ensure that that the project is adaptable to changes and
modifiable. Therefore, introducing new features or updating the existing ones can
extend the project scope.

Developer’s Responsibilities
The following points are to be kept in mind while developing the project:

 Use platforms that are easy to understand and compatible with most other
platforms.
 It should be interactive and user friendly.
 Proper care should be taken to ensure that the databases are secure.
 It should be able to handle exceptional or erroneous situations decently and
should not crash in case of wrong input, low memory etc.
 It should be convenient to use and flexible.
 It should be economically efficient.
 It should have minimum time and space overheads.

Downloaded from Studynama.com. Click to download unlimited free college projects » 4


Downloaded from Studynama.com. Click to download unlimited free college projects »

GENERAL CHARACTERISTICS

Users of Project

 ADMIN: The owner of the hotel or anyone who is responsible for running the
project i.e. entering values in database, updating the database etc. He also
maintains the various accounts of Customers, Staff.

 STAFF: A staff member who can check databases related to customers


according to his/her designation. Also, can process a reservation.

General Constraints

 An ambiguous requirement specification, which affects the performance, as


there is a gap between what is required and what is made.

 A user who is completely unaware of computer terminologies and basic


technical aspects may not be able to use the software.

 Compromise with compatibility or large space for the sake of using an easy
and interactive platform, which, in turn affects the performance.

Downloaded from Studynama.com. Click to download unlimited free college projects » 5


Studynama’s MBA Community is one of India’s Largest Community of MBA & PGDM Students. About 29,882 Indian
Management students are members of this community and share FREE study material, notes, eBooks, projects, case
studies exam papers etc. to enable each other to do well in their semester exams.

Links to Popular Study Material for Management (MBA/PGDM) students:


MBA General MBA Marketing MBA Finance MBA HR MBA Operations

MBA/PGDM first Enterprise resource Security analysis & Business environment MBA Operations
year notes planning (ERP) pdf portfolio Mgmt. Notes Notes

MBA/PGDM second Marketing International Fin. Human resource MIS pdf


year notes management pdf management eBook management pdf

Principles of International Advanced financial Compensation Industrial safety


management pdf marketing eBook management eBook management Notes eBook

Managerial Retail marketing Corporate taxation International human Import export


economics eBook eBook pdf eBook resource management pdf mgmt. lecture notes

Organizational Sales management Financial Human resource TQM eBook


behavior pdf eBook management eBook development eBook

Operation research Brand management Management Organization & Management


lecture notes pdf accounting notes management process pdf control systems

And 12,998 more free downloads for MBA & PGDM Students.

Other Popular Links for MBA Study Material:


• MBA/PGDM Core (General) Notes, eBooks, Projects, Cases & Reports FREE PDF Download
• MBA/PGDM Marketing Notes, eBooks, Projects, Cases & Reports FREE PDF Download
• MBA/PGDM Finance Notes, eBooks, Projects, Cases & Reports FREE PDF Download
• MBA/PGDM HR Notes, eBooks, Projects, Cases & Reports FREE PDF Download
• MBA/PGDM Operations Notes, eBooks, Projects, Cases & Reports FREE PDF Download
Downloaded from Studynama.com. Click to download unlimited free college projects »

REQUIREMENT SPECIFICATIONS

Functional Requirements

1. Reservation/Booking
• The system shall record reservations.
• The system shall record the customer’s first name.
• The system shall record the customer’s last name.
• The system shall record the number of occupants.
• The system shall record the room number.
• The system shall display the default room rate.
• The system shall allow the default room rate to be changed.
• The system shall record the customer’s phone number.
• The system shall display whether or not the room is guaranteed.
• The system shall generate a unique confirmation number for each
reservation
o The system shall record the check-in date and time.
o The system shall record the checkout date and time.
• The system shall checkout customers.
• The system shall display the amount owed by the customer.
• The system shall record the payment.
Food
• The system shall track all meals purchased in the hotel (restaurant
and room service).
• The system shall record payment and payment type for meals.
Management

• The system shall display projected occupancy for a period of time


(days).
• The system shall display room revenue for a specified period of time
(days).
• The system shall display food revenue for a specified period of time
(days).

Downloaded from Studynama.com. Click to download unlimited free college projects » 6


Downloaded from Studynama.com. Click to download unlimited free college projects »
• The system shall allow for the modification of information,
regarding rooms, rates, menu items, prices, and user profiles.
• The system shall allow managers to assign user passwords.

For development of the proposed system (Front End): VB 6.0 is used.


For development of database (Back End): MS-Access or Oracle (10 g) is used.
Hardware requirement is not so specific, but, 256 MB of RAM and any processor
can be used.
External Interfaces
The Hotel Management System will use the standard input/output devices for a
personal computer. This includes the following:
• Keyboard
• Mouse
• Monitor
• Printer

Identifying Performance Constraints

1. Hardware Constraints

The Hotel Management System will be placed on PC’s throughout the hotel.

Database-associated hardware (I/O) contention.

When data is being accessed to provide information that is required in a


transaction, an I/O operation passes through the processor, the disk and other
such devices. If any of these devices are overused, the time taken to access the
data can increase significantly. Error rates also affect the usage and performance
of the device. This, in turn, increases the time that the transaction takes to
complete.

Downloaded from Studynama.com. Click to download unlimited free college projects » 7


Downloaded from Studynama.com. Click to download unlimited free college projects »
2. Software Constraints
All databases for the Hotel Management System will be configured
using Oracle 8i. These databases include hotel rooms and customers information.
These can be modified by the end users. The room database will include the room
numbers and if they are vacant or occupied. The customers information database
will contain all the information of the customer such as first name, last name,
number of occupants, assigned room, default room rate (may be changed), phone
number, whether or not the room is guaranteed, credit card number, confirmation
number, automatic cancellation date, expected check in date and time, actual check
in date and time, expected check out date and time, amount owed by customer, and
abbreviated customer feedback.

3. Design Constraints
These are the restrictions on the design of a system, or the process by which the
system is developed. While the sources are varied, design constraints typically
originate from one of three sources:

 Restriction of design options


 Conditions imposed on the development process,
 Regulations and imposed standards.

Following are some of the design constraints:

• Compatibility with existing systems: The application must run on both our
new and old platforms.
• Compatibility with the legacy database must be maintained

There may be many such sources and rationales, and the designers may have to
accept them whether they like them or not. But it's important to distinguish them
from the other types of requirements, for many of the constraints may be
arbitrary, political, or subject to rapid technological change and might thus be
subject to review or renegotiation at a later point.

Downloaded from Studynama.com. Click to download unlimited free college projects » 8


Studynama’s Law Community is one of India’s Largest Community of Law Students. About
29,982 Indian Law students are members of this community and share FREE study material,
cases, projects, exam papers etc. to enable each other to do well in their semester exams.

Links to Popular Study Material for LAW (LLB & BA.LLB) students:
• Family law pdf lecture notes & eBook download for LLB students
• Jurisprudence Law lecture notes pdf & eBook download for LLB students
• Company Law lecture notes pdf & eBook download for LLB students
• Law of Evidence lecture notes pdf & eBook download for LLB students
• Contract Law lecture notes pdf & eBook download for LLB students
• Criminal law pdf lecture notes & eBook download for LLB students
• Taxation Law lecture notes pdf & eBook download for LLB students
• Law of torts pdf eBook & lecture notes for LLB students
• Constitutional law pdf lecture notes & eBook download
• Labour law lecture notes pdf & eBook download for LLB students
• Administrative law lecture notes pdf & eBook download for LLB students
• Constitutional Law - I q&a notes pdf & eBook download for LLB
And 1998 more free downloads for Law & LLB Students.

Other Popular Links for Law Study Material:


• LLB/LLM Lecture Notes, eBooks, Guides, Handouts FREE PDF Download
• LLB - Law third year notes, eBooks, handouts and study material - semester 5 & 6
• LLB - Law second year notes, eBooks, handouts and study material - semester 3 & 4
• LLB - Law first year notes, eBooks, handouts and study material - semester 1 & 2
Downloaded from Studynama.com. Click to download unlimited free college projects »

User Requirements

Following are some of the user requirements:


 Friendly user interface.
 Ease of use: Can be understood by any layman who has not built the software.
 Design must not be complex.
 Software must be flexible for other technical development.
 Fast processing for better performance.
 Adaptable to changes.

Acceptance Criteria

Acceptance criteria represents specific and defined list of conditions that must be
met before a project has been considered completed and the project can be accepted
by the customer. Acceptance criteria can represent certain essential requirements that
must be met by the final project, or specific conditions that must be met during the
process.

Some of the acceptance criteria to followed in our project are:

• Communication
The project provides adequate means by which admin can communicate with
support staff, customer. This includes phone numbers and an email address.
The number of support channels that should be available will depend on the
nature of the use.
• Ease of Use
The project is laid out clearly and is easy to navigate.
• Information & Transparency

Downloaded from Studynama.com. Click to download unlimited free college projects » 9


Downloaded from Studynama.com. Click to download unlimited free college projects »
The project clearly describes the nature of its goods & services. It also
provides information concerning its owners & operators.

• Security
The project takes adequate measures to protect the details of its customers,
staff and financial details of the customers.
• Legality
The project and the admin do not break any local or international laws. This
includes spam and copyright laws. The products & services are genuine.

Downloaded from Studynama.com. Click to download unlimited free college projects » 10


Downloaded from Studynama.com. Click to download unlimited free college projects »
Non Functional Requirements
A non-functional requirement is a requirement that specifies criteria that can be
used to judge the operation of a system, rather than specific behaviors. This should
be contrasted with functional requirements that define specific behavior or functions.
Non-functional requirements are often called qualities of a system.

Some of the non-functional requirements supported by our project are:

• RELIABILITY: It ensures that the project is dependable or trustworthy. It


indicates the degree to which the project consistent, that is, repeated
measurements would give the same result.
• MAINTENABILITY: It is the ease with which the project can be maintained in
order to correct defects, meet new requirements make future maintenance easier,
or cope with a changed environment .
• ROBUSTNESS: It is the ability of the project to cope with errors during
execution or the ability of an algorithm to continue to operate despite
abnormalities in input, calculations, etc.
• SECURITY: The objective of project security includes protection of information
from theft, or corruption, while allowing the information to remain accessible and
productive to its intended users.

Downloaded from Studynama.com. Click to download unlimited free college projects » 11


Downloaded from Studynama.com. Click to download unlimited free college projects »
FEASIBILITY STUDY
Feasibility study aims to objectively and rationally uncover the strengths and
weaknesses of the existing business or proposed venture, opportunities and threats as
presented by the environment, the resources required to carry through, and
ultimately the prospects for success. In its simplest term, the two criteria to judge
feasibility are cost required and value to be attained. As such, a well-designed
feasibility study should provide a historical background of the business or project,
description of the product or service, accounting statements, details of
the operations and management, marketing research and policies, financial data,
legal requirements and tax obligations. Generally, feasibility studies precede
technical development and project implementation.

Technical Feasibility Study


Technical feasibility determines whether the work for the project can be done with
the existing equipment, software technology and available personnel. Technical
feasibility is concerned with specifying equipment and software that will satisfy the
user requirement.
This project is feasible on technical aspects. The proposed system can run on any
machines supporting Windows and Internet services and works on the best software
and hardware that had been used while designing the system so it would be feasible
in all technical terms of feasibility.

Temporal Feasibility Study

It is a measure of how well a proposed system solves the problems, and takes
advantage of the opportunities identified during scope definition and how it satisfies
the requirements identified in the requirements analysis phase of system
development.
The proposed system is temporally feasible.
Downloaded from Studynama.com. Click to download unlimited free college projects » 12
Downloaded from Studynama.com. Click to download unlimited free college projects »

UseCase Diagram

Downloaded from Studynama.com. Click to download unlimited free college projects » 13


Downloaded from Studynama.com. Click to download unlimited free college projects »

DataFlow Diagram
Level 0

Downloaded from Studynama.com. Click to download unlimited free college projects » 14


Downloaded from Studynama.com. Click to download unlimited free college projects »

Level 1

Downloaded from Studynama.com. Click to download unlimited free college projects » 15


Downloaded from Studynama.com. Click to download unlimited free college projects »

Level 2

Downloaded from Studynama.com. Click to download unlimited free college projects » 16


Downloaded from Studynama.com. Click to download unlimited free college projects »
Snapshots

Downloaded from Studynama.com. Click to download unlimited free college projects » 17


Downloaded from Studynama.com. Click to download unlimited free college projects »

Downloaded from Studynama.com. Click to download unlimited free college projects » 18


Downloaded from Studynama.com. Click to download unlimited free college projects »

Downloaded from Studynama.com. Click to download unlimited free college projects » 19


Downloaded from Studynama.com. Click to download unlimited free college projects »

Downloaded from Studynama.com. Click to download unlimited free college projects » 20


Downloaded from Studynama.com. Click to download unlimited free college projects »

Downloaded from Studynama.com. Click to download unlimited free college projects » 21


Downloaded from Studynama.com. Click to download unlimited free college projects »

Downloaded from Studynama.com. Click to download unlimited free college projects » 22


Downloaded from Studynama.com. Click to download unlimited free college projects »

SYSTEM OVERVIEW

The Hotel Management System provides with the following functionalities:

• Make a reservation: Make a reservation for a customer by taking all the


information about customers and by checking the availability of rooms in the
hotel.
• Room Status: User can check the status of the room in the hotel i.e. the
number of rooms which are vacant and which are non vacant.
• Cancellation of reservation: After making reservation customer can cancel its
reservation by entering its id.
• Check in and use of facilities: After making reservation, customer can
checkin in the hotel and can use all the facilities available in the hotel like
restaurant, laundry, tea etc
• Check out: Now the staff can calculate the total bill of customer and show it
to customer at the time of customer checkout.

DESIGN CONSIDERATIONS:

ASSUMPTIONS AND CONSTRAINTS

• We assume that project is accessed by staff and administrator and database


access permission is given only to the administrator.
• The Customer is only provided with the receipt of bill in the hotel.
• Booking is done only when the room is available in the hotel.
• Check in is done only when the customer provides valid customer id.
• Services are allocated only when the service allocation date is in between
check in and check out date.
• Various Constraints are applied on the text boxes regarding maximum length
of characters, format of data etc.

Following are strictly needed in development of the project


software and hardware-:
Microsoft Visual Basic(6.O)
Microsoft Access 2003/2007

Downloaded from Studynama.com. Click to download unlimited free college projects » 23


Downloaded from Studynama.com. Click to download unlimited free college projects »

Operating systems--: Operating system should be compatible with all the


operations provided by the system.
End-user characteristics -:
End user must have a basic idea of the all application software to operate it in
Convenient way.
The system which uses the software to be developed should have a sufficient
memory to keep the databases consistently and for future expands.

GOALS AND GUIDELINES

The Hotel management system is an application for maintaining a person’s


reservation and his bill in a hotel. The system provides the access to the user to make
reservation of the customers in the hotel and maintaining customer’s bill and their
checkin and checkout information.

The goal of design engineering is to produce a model or representation that exhibits


firmness, commodity and delight. To accomplish this, a designer must practice
diversification and then convergence. The model thus produced enables the
programmer or coder to develop the software corresponding to it in an easy and
efficient manner. The coding becomes simpler as design models are created which
differentiate it in modules and make the development of the software efficient and
effective.

SYSTEM ARCHITECTURE

This section should provide a high-level overview of how the functionality and
responsibilities of the system were partitioned and then assigned to subsystems or
components.
The Hotel management system basically works on data centered architecture.
We use a centered database in which all information regarding to customers, rooms,
services and other necessary information are kept .This information is accessed
frequently by other components for making reservation, Deletion and updation.

Downloaded from Studynama.com. Click to download unlimited free college projects » 24


Downloaded from Studynama.com. Click to download unlimited free college projects »
1. A design must exhibit an architecture that
(a) has been created using recognizable architectural styles or patterns
(b) is composed of components that exhibit good design characteristics
(c)can be implemented in an evolutionary fashion
2. A design should be modular
3. A design should contain distinct representation of data, architecture,
interfaces and components.

4. A design should lead to use of proper data structures and exhibit


independent functional characteristics.

Policies and tacties


Describe any design policies and tactics that do not have sweeping architectural
implications i.e. they would not significantly affect the overall organization of the
system and its high-level structures.
Choice of which specific product to use (compiler, interpreter, database, library, etc. ...)
*The protocol of one or more subsystems, modules, or subroutines
*The choice of a particular algorithm or programming idiom (or design pattern) to implement
*portions of the system's functionality
*Plans for ensuring requirements traceability
*Plans for testing the software
*Plans for maintaining the software
*Interfaces for end-users, software, hardware, and communications
*Hierarchical organization of the source code into its physical components (files and directories).
How to build and/or generate the system's deliverables (how to compile, link, load, etc. ...)

CODING PRINCIPLES:

1. Test as you write


As much as possible, test your code as you write it. These tests will often be quick
and easy ones, such as checking that the value of pi you’re using is really what it
should be, but if you perform these little checks while you’re working on (and
thinking about) that piece of code, you’ll save yourself a lot more effort having to
come back later and fix bugs. You’ll find that you can perform a lot of simple tests
very quickly as you go along; once you’re in the habit, you really don’t spend a lot
of time doing it. But the time you save yourself later on can be considerable
2. Validate your data

Downloaded from Studynama.com. Click to download unlimited free college projects » 25


Downloaded from Studynama.com. Click to download unlimited free college projects »
At some point, someone will feed garbage into your carefully crafted code. In fact,
part of your testing should be feed garbage input into your code to check that it
recognises it! If your code is validating the data it is given then it should be able to
deal intelligently with this, even if “intelligently” means “crash but tell the user what
has gone wrong and why
3. Handle errors nicely
Asserts are a great way of validating data and are very useful during development,
however once a program is in the hands of the users you want your error handling to
be a little nicer than stopping the program immediately. There is nothing more
frustrating than a program that just dies without warning or explanation. Most
modern languages have support for handling problems your code encounters using
Exceptions. Exceptions are generated when something goes wrong and bubble up
until they are caught and dealt with. The advantage of exceptions is that they can be
used without your code having to pass around error-code results from function to
function.
4. Keep It Simple
The simpler your code is, the easier it is to construct and maintain. So, subject to the
constraints of our objectives, the simpler you can make your code the better. This
has a connection to premature optimisation because optimised code tends to be less
simple.
5. Make your code unsurprising
The ‘principle of least surprise’ is that you should try to make your code’s actual
functionality as close as possible to the typical quick impression. Or, to put it
another way, you should try to write your code so that it communicates its
functionality accurately in a very short (pain-free) amount of time. This means
doing things like picking informative variable/function names, writing informative
(and succinct) comments, and making the layout easy to read.
6. Don’t Repeat Yourself (DRY)
Multiple representations are also a great way to generate bugs if you forget to
change some of them. This also applies to code; don’t repeat chunks of code that do
the same thing – have a single version and put it in a function.

Downloaded from Studynama.com. Click to download unlimited free college projects » 26


Downloaded from Studynama.com. Click to download unlimited free college projects »

TESTING:
A test suite often contains detailed instructions or goals for each collection of test
cases and information on the system configuration to be used during testing. A group
of test cases may also contain prerequisite states or steps, and descriptions of the
following tests.
A test case in software engineering is a set of conditions or variables under
which a tester will
Determine whether an application or software system is working correctly or not.

TEST CASES:

Test cases for Login Window

Login screen contain username, password, ok button and cancel button.


Test case for username
Range of username
Ex-Max number of characters username will accept which are 10 in this case.
Valid and invalid characters
Like a-z, A-Z, 0-9, _special chars blank
Test case for Password
Password is encrypted and max number of characters is taken as 10.
Test case for Ok button
When button is pressed corresponding window should appear.
Test case for Cancel button
If the cancel pressed window should be closed without save.

Now if press ok user should be login in the system.


Negative testing scenarios
1. Type the tab button without entering username and enter password and press
ok.
Expected Result- Invalid! Try again
2. Enter the username without entering password and press ok.

Downloaded from Studynama.com. Click to download unlimited free college projects » 27


Downloaded from Studynama.com. Click to download unlimited free college projects »
Expected Result- Invalid! Try again
3. Enter incorrect username and password and press ok.
Expected Result- Invalid! Try again

Test cases for Booking

Input parameter checking:


Name
Address
Gender
Country
Phone no
Birth date
Zip Code
Arrival date
Departure date
Location
Room type
Now press check availability button, if the desired room is available it shows a
message that room is available otherwise it shows that room is not available.
Now press make reservation button, it should make reservation and provide
customer id with the room number if all the fields are entered according to their
range and should show error message otherwise.

Test cases for Cancellation of Booking

Requirements-
Customer id
Now the user will press canelbooking button, it should give error message if the
field is left blank or is not in range or is wrong information according to database
details. If everything is well then booking is cancelled

Test cases for checkin

Requirements-
Customer id
Advance payment
Now the user will press check in button, it should give error message if the fields are
left blank or is not in range or is wrong information according to database details. It
Downloaded from Studynama.com. Click to download unlimited free college projects » 28
Downloaded from Studynama.com. Click to download unlimited free college projects »
means it will give error if the customer id is not valid. If valid then check in is done.
On clicking cancel button window is closed.

Test cases for Facilities

Requirements-
Room No
Service allocation date
Last date
Service name
Now the user will press allocate button, it should give error message if the fields are
left blank or is not in range or is wrong information according to database details or
if service allocation date is out of range from checkin and checkout date. If all are
valid then service is allocated to that room and the bill is calculated.

Test cases for Checkout

Requirements-
Room no
Now the user will press checkout button, it should give error message if the fields
are left blank or is not in range or is wrong information according to database
details. If all are valid then the total bill is calculated and the customer is deleted
from the database and on clicking cancel window is closed.

Downloaded from Studynama.com. Click to download unlimited free college projects » 29


Downloaded from Studynama.com. Click to download unlimited free college projects »

Downloaded from Studynama.com. Click to download unlimited free college projects » 30


Studynama’s BDS Community is one of India’s Largest Community of Dental Students. About
19,232 Indian Dental Course students are members of this community and share FREE study
material, cases, projects, exam papers etc. to enable each other to do well in their semester exams.

Links to Popular Study Material for BDS (Dental) students:


 Orthodontic Fixed Appliances - BDS Lecture Notes PDF Download
 Amalgam Restoration - BDS Lecture Notes PDF Download
 COMPLEX NON-SKELETAL PROBLEMS IN PREADOLESCENT CHILDREN - BDS Lecture Notes
 Anatomy of Scalp - BDS Lecture Notes PDF Download
 Cerebrospinal Fluid (CSF) - BDS Lecture Notes PDF Download
 Cementum - BDS Lecture Notes PDF Download
 Recent Advances in Instrumentation Techniques - BDS Lecture Notes PDF Download
 Ameloblastoma - BDS Lecture Notes PDF Download
 Prevention of Odontogenic Infection - Principles of Management - BDS Lecture Notes
 Therapeutic Dentistry Histology of Teeth Dental Charting - BDS Lecture Notes PDF Download
 Maxillofacial Trauma and Management - BDS Lecture Notes PDF
 Technical Endodontics - BDS Lecture Notes PDF Download
And 698 more free downloads for Dental Students.
Other Popular Links for Law Study Material:
 BDS Lecture Notes, eBooks, Guides, Projects and Case Papers FREE PDF Download
 BDS Lecture Notes, eBooks, Guides & Handouts FREE PDF Download
 BDS University Previous Year Exam Question Papers & Solutions FREE PDF Download
India’s Mega Online Education Hub for Class 9-12 Students,
Engineers, Managers, Lawyers and Doctors.
Free Resources for Free Resources for Free Resources for Free Resources for Free Resources for
Class 9-12 Students Engineering Students MBA/BBA Students LLB/LLM Students MBBS/BDS Students

• Lecture Notes • Lecture Notes • Lecture Notes • Lecture Notes • Lecture Notes

• Project Reports • Project Reports • Project Reports • Project Reports • Project Reports

• Solved Papers • Solved Papers • Solved Papers • Solved Papers • Solved Papers

View More » View More » View More » View More » View More »

▼▼ Scroll Down to View your Downloaded File! ▼▼


Disclaimer

Please note none of the content or study material in this document or content in this file is prepared or
owned by Studynama.com. This content is shared by our student partners and we do not hold any
copyright on this content.

Please let us know if the content in this file infringes any of your copyright by writing to us at:
info@studynama.com and we will take appropriate action.

Вам также может понравиться