Professional Documents
Culture Documents
Major Project
Major Project
This is to certify that the Project Report Entitled “Hostel Amenities Management System Using
Python Django Framework” submitted by G. Lakshmi Prameela (20A81A0583), K. Esther Rani
(20A81A0592), B. Mahima Kumari (20A81A0571), Ch. Jnana Sujitha (20A81A0573), K.-
Moudika(20A81A0593),B.Snehaja(21A85A0502) for the award of the degree of Bachelor of
Technology in the Department of Computer Science and Engineering during the academic year
2023-2024
We hereby declare that the project report entitled “Hostel Amenities Management System
Using Python Django Framework " submitted by us to Sri Vasavi Engineering College
(Autonomous), Tadepalligudem, affiliated to JNTUK Kakinada in partial fulfilment of the
requirement for the award of the degree of B. Tech in Computer Science and Engineering is a
record of Bonafide project work carried out by us under the guidance of Mrs. Y.Divya Vani,
Asst.professor. We further declare that the work reported in this project has not been submitted
and will not be submitted, either in part or in full, for the award of any other degree in this
institute or any other institute or University.
Project Associates
G. Lakshmi Prameela(20A81A0583)
K. Esther Rani(20A81A0592)
B. Mahima Kumari(20A81A0571)
K. Moudika(20A81A0593)
B. Snehaja(21A85A0502)
ACKNOWLEDGEMENT
First and foremost, we sincerely salute to our esteemed institute SRI VASAVI ENGINEERING
COLLEGE, for giving us this golden opportunity to fulfill our warm dream to become an engineer. Our
sincere gratitude to our project guide Mrs. Y. Divya Vani, Asst. Professor, Department of
Computer Science and Engineering, for his timely cooperation and valuable suggestions while carrying out
this project. We express our sincere thanks and heartful gratitude to Dr. D. Jaya Kumari, Professor
& Head of the Department of Computer Science and Engineering, for permitting us to do our project. We
express our sincere thanks and heartful gratitude to Dr. G.V.N.S.R. Ratnakara Rao Principal, for
providing a favorable environment and supporting us during the development of this project. Our special
thanks to the management and all the teaching and non-teaching staff members, Department of Computer
Science and Engineering, for their support and cooperation in various ways during our project work. It is
our pleasure to acknowledge the help of all those respected individuals. We would like to express our
gratitude to our parents, friends who helped to complete this project.
Project Associates
G. Lakshmi Prameela(20A81A0583)
B. Mahima Kumari(20A81A0571)
K. Moudika(20A81A0593)
B. Snehaja(21A85A0502)
ABSTRACT
For the past few years the number of educational institutions are increasing rapidly. Therefore
Many higher institutions struggle to accommodate the growing number of students. Since the traditional
system has to be maintained with hands and the process of keeping, maintaining and retrieving the
information was very tedious and lengthy. Our Hostel Management System is a website which is used to
manage several activities in a hostel and avoid the problems occurred when carried manually. The main
objective of this project is to limit the manual work and make hostel allocation much easier for hostel
administrators. In this website we handle the features like student registration, room allocation, updating
records, user management, attendance management, tracking and managing information of the hostel, Fee
status, out-pass generation and handling student facilities. This project's main motto is to reduce the effort
of admins and provide better service to the students. The implementation of this website is to improve
accuracy and security, and provide centralized repository for critical hostel data. The developed system is
more user-friendly, efficient and secured.
.
TABLE OF CONTENTS
S.NO TITLE PAGE NO
ABSTRACT i
1 INTRODUCTION 1-2
1.1 Introduction 1
1.2 Motivation 1
1.3 Scope 2
1.4 Project Outline 2
2 LITERATURE SURVEY 3-4
3 SYSTEM STUDY AND ANALYSIS 5-8
3.1 Problem Statement 6
3.2 Existing system 6
3.3 Disadvantages of the Existing System 6
3.4 Proposed System 7
3.5 Advantages of Proposed System 7
3.6 Functional Requirements 7
3.7 Non-Functional Requirements 7
3.8 User Interface Requirements 8
3.8.1 System Requirements
3.8.1.1 Hardware requirements
3.8.1.2 Software Requirements
4 SYSTEM DESIGN 9-13
4.1 System Architecture Design 10
4.2 UML Diagrams 11-13
5 TECHNOLOGIES 14-19
5.1 HTML 15
5.2 CSS 16
5.3 BOOTSTRAP 16
5.4 VISUAL STUDIO EDITOR 17
5.5 DJANGO 18
5.6 JAVA SCRIPT 19
5.7 PYTHON 19
6 IMPLEMENTATION 20-29
6.1 Implementation Steps
7 TESTING 30-34
7.1 Introduction to Testing 31
7.2 Test Objectives 31
7.3 Testing Strategies 31
7.3.1 Unit Testing 32
7.3.2 Integration Testing 32
7.3.3 Functional Testing 32
7.3.4 System Testing 33
7.3.5 Acceptance Testing 34
7.3.6 Test Approach 34
8 SCREENSHOTS 35-41
9 CONCLUSION AND FUTURE WORK 42-43
9.1 Conclusion
9.2 Future work
10 REFERENCES 44-45
LIST OF FIGURES
Thus there are a lot of repetitions and time consuming process which can be easily avoided. And
hence there is a lot of strain on the person who are running the hostel and computerized eqiupments
are not usually used in this management system.
This particular project deals with several vulnerabilities on managing a hostel and avoids the
consequences occured when handling manually.Identification of the disadvantages of the existing
system leads to the designing of computerized system that will be relevant to the existing system with
the system which is more user-friendly. We can improve the efficiency and accuracy of the system.
!.2 MOTIVATION
The motivation behind undertaking the Hostel Management System project stems from a holistic
vision to revolutionize and optimize the traditional hostel administration. Recognizing the
inefficiencies in manual processes, the project aims to automate routine tasks such as room allocation,
fee collection, and attendance tracking, not only to alleviate the administrative burden but also to
reduce the likelihood of human errors. Additionally, the digitalization of records ensures data
accuracy, facilitating easy reporting and analysis for better decision-making. Beyond operational
benefits, the project is motivated by the potential cost efficiency achieved through reduced
paperwork, minimized manual efforts, and optimized resource allocation. Embracing technological
trends ensures that the Hostel Management System remains not only relevant but also positioned as a
modern, efficient solution for hostel administration.
1
1.3 SCOPE
The proposed system for "HOSTEL MANAGEMENT SYSTEM" is on paper work. It is too
much difficult to write every student records and their relevant information and raw facts on
paper. It takes too much time. It is totally wastage of time. Today is the trend of computerized
based system.
The main objective of developing this project is to save time. The proposed system provides the
following features on different task.
• All the details related to a hosteller could be finding in one place like fees detail, room
details, out passes etc.
Chapter-1 Introduction
Chapter-5 Technologies
Chapter-6 Implementation
Chapter-7 Testing
Chapter-8 Screenshots
2
CHAPTER 2
LITERATURE
SURVEY
3
2 LITERATURE SURVEY
• DESCRIPTION: In the year 2021 “An Intelligent Student Hostel Allocation System Based
On WebApplications” is designed to manage the activities of allocating students to a hostel and
other activities involved managing the student’s hostel rooms allocation.
• AUTHORS: Mr.Christopher A. Abilimi, Mr.Thomas Yeboah
• DESCRIPTION: Since the traditional system has to be maintained with hands and the
process of keeping, maintaining and retrieving the information was very tedious and lengthy.
Our Hostel Management System is used to manage several activities in a hostel and avoid the
problems occurred when carried manually.
• AUTHORS: C.Senthilkumar, B.Dinesh
• DESCRIPTION: In this paper they will maintain the previous student data who had left
the hostel as well as this system helps in checking the personal profile of all the current
students.
4
CHAPTER 3
SYSTEM STUDY AND ANALYSIS
5
3 SYSTEM STUDY AND ANALYSIS
There are a lot of drawbacks in keeping and maintaining a hostel. Especially with a manual
system. Since most hostels are being run by only one admin, the number of students in a room
are sometimes not known by the warden. He/she has to go room by room to ensure that a room is
occupied or not. Sometimes people may be owing in the hostel and they are saved on papers or
huge notebooks, and sometimes receipts. If the books should go missing or stolen, one would
never be able to know if a student is owing or not. Room allocation also becomes a problem as
the warden might not know which rooms are available or not. And some hostels have a lot of
rooms and it would be very tedious to go through search of a free room for an student. Also the
warden might not know the number of students in a room or know if a room is full or not.
• The existing system is a manually maintained system and need lot of efforts and man power.
• In existing system all the information about hostels and other data are altogether kept in a
booklet.
• Tasks such as student's data, room status, fee status, updating student records, attendance
tracking, out-pass generation are kept in registers and require manual entry.
• Separate records are to be maintained for details of each student. And all these activities are
handled through physical paperwork.
• This system can be time-consuming and prone to errors, Lack of security of data, Leading to
inefficiencies in managing hostel operations.
• Manual processes: Many hostel management systems are still carried out manually, which can
lead to inefficiencies, errors, and a lack of organization.
• Time-consuming: Manual processes can be time-consuming, leading to delays in registration,
room allocation, and other important tasks.
• Inadequate security: Manual systems may not have adequate security measures in place, making
it easier for unauthorized individuals to access sensitive information.
• Lack of data redundancy and consistency: Manual systems may not have mechanisms in place
to prevent data redundancy or ensure data consistency, leading to errors and inefficiencies.
6
3.4 PROPOSED SYSTEM:
The proposed system tries to solve the problems highlighted in the problems of the manual
system.
The proposed system provides data security and integration which is a major drawback in the
traditional system
It provides smooth operation in retrieving, accesing, modifying data in a more systematic way
hence saving a lot of human effort and time.
Since the system is online based, hence accessible from anywhere, and enables manual errors
to be eliminated and provides security to the data.
This overall system increases management productivity, eliminates paper work ,reduces man
power and provides a best user-friendly experience.
• High security
• Admin will generate the different kinds of passes like Sunday out pass, day out pass,
vacation pass and night out pass.
Security:
• Modifications: Any modifications like insert, delete, update, etc. for the database can be
synchronized quickly and executed only by the ward administrator.
• Administrator rights: The administrator can view as well as alter any information in the
Hostel Management Software.
Performance:
• Response Time: The system provides acknowledgment in just one second once the students
information is checked.
• User-Interface: The user interface acknowledges within five seconds.
7
3.8 USER INTERFACE REQUIREMENTS:
SQLite3
Window 10
Core i5 processor
processor
8
CHAPTER 4
SYSTEM
DESIGN
9
SYSTEM DESIGN
10
4.2 UML DIAGRAMS:
UML is a method for describing the system architecture in detail using the blue print. UML
represents a collection of best engineering practice that has proven successful in the modelling of
large and complex systems. The UML is very important parts of developing object-oriented
software and the software development process. The UML uses mostly graphical notations to
express the design of software projects. With the help of UML project teams communicate explore
potential designs and validate the architectural design of the software. A UML diagram shows the
unified visual presentation of the UML (Unified Modelling Language) system intending to let
developers or business owners understand, analyze, and undertake the structure and behaviors of
their system. So far, the UML diagram has become one of the most common business process
modelling tools, which is also highly significant to the development of object-oriented software.
UML diagrams have many benefits for both software developers and businesspeople, and the most
key advantages are:
Problem-Solving - Enterprises can improve their product quality and reduce cost especially
for complex systems in large scale. Some other real-life problems including physical
distribution or security can be solved;
Improve Productivity - By using the UML diagram, everyone in the team is on the same
page and lots of time are saved down the line;
Easy to Understand - Since different roles are interested in different aspects of the system,
the UML diagram offers non-professional developers, for example, stakeholders, designers, or
business researchers, a clear and expressive presentation of requirements, functions, and
processes of their system.
11
4.2.1 USE CASE DIAGRAM
Use case diagram represents the functionality of the system. Use case focus on the behavior of
the system from external point of view. Actors are external entities that interact with the system. Use
case Diagram A use case diagram is the primary form of system/software requirements for a new
software program underdeveloped. Use cases specify the expected behavior, and not the exact method
of making it happen. Use cases once specified can be denoted both textual and visual representation. A
key concept of use case modelling is that it helps us design a system from the end user's perspective. It
is an effective technique for communicating system behavior in the user's terms by specifying all
externally visible system behavior.
12
CLASS DIAGRAM
Class diagram is a static diagram. It represents the static view of an application. Class diagram
is not only used for visualizing, describing, and documenting different aspects of a system but also for
constructing executable code of the software application. The class diagram is the building block of all
object-oriented software systems. Users can depict the static structure and identify classes relationship
of a system by checking system's classes and attributes. Each class has three basic elements: the class
name at the top, the class attributes in the middle, and the class behaviors at the bottom.
13
CHAPTER 5
TECHNOLOGIES
14
5 TECHNOLOGIES
5.1 HYPER TEXT MARKUP LANGEAGE (HTML):
• HTML or Hypertext Markup Language is the standard markup language used to create web
pages. HTML is written in the form of HTML elements consisting of tags enclosed in
angle brackets (like <html>).
• HTML tags most come in pairs like <h1> and </h1>, although some tags represent empty
elements and so are unpaired, for example <img>. The first tag in a pair is the start tag, and
the second tag is the end.
• Though not always necessary, it is best practice to append a slash to tags which are not
paired with a closing tag. The purpose of a web browser is to read HTML documents and
compose them into visible or audible web pages.
• The browser does not display the HTML tags, but uses the tags to interpret the content of
the page. HTML describes the structure of a website semantically along with cues for
presentation, making it a markup language rather than a programming language.
• HTML elements form the building blocks of all websites. HTML allows images and
objects to be embedded and can be used to create interactive forms.
• The other critical requirement for creating an HTML file is saving it with a .html file
extension. Whereas the doctype declaration signals HTML to the computer from the inside
of the file, the file extension signals HTML to the computer from the outside of the file. By
having both, a computer can tell that it's an HTML file whether it's reading the file or not.
This becomes especially important when uploading the files to the web, because the web
server needs to know what to do with the files before it can send them to a client computer
for the inner contents to be read.
15
5.2 CASCADING STYLE SHEETS (CSS):
• It is a style sheet language used for describing the look and formatting of a document
written in a markup language. While most often used to style web pages and interfaces
written in
HTML and XHTML, the language can be applied to any kind of XML document,
including plain XML, SVG and XUL.
• CSS is a cornerstone specification of the web and almost all web pages use CSS style
sheets to describe their presentation.
• CSS is designed primarily to enable the separation of document content from document
presentation, including elements such as the layout, colors, and fonts.
• This separation can improve content accessibility, provide more flexibility and control in
the specification of presentation characteristics, enable multiple pages to share formatting,
and reduce complexity and repetition in the structural content.
• CSS can also allow the same markup page to be presented in different styles for different
rendering methods, such as on-screen, in print, by voice (when read out by a speech-based
browser or screen reader) and on Braille-based, tactile devices. It can also be used to allow
the web page to display differently depending on the screen size or device on which is
viewed.
5.3 BOOTSTRAP:
• Bootstrap is a free, open source front-end development framework for the creation of websites
and web apps. Bootstrap provides a collection of syntax for template designs.
• As a framework, Bootstrap includes the basics for responsive web development, so developers
only need to insert the code into a pre-defined grid system. The Bootstrap framework is built on
Hypertext Markup Language (HTML), cascading style sheets (CSS) and JavaScript. Web
developers using Bootstrap can build websites much faster without spending time worrying
about basic commands and functions.
• Bootstrap makes responsive web design a reality. It makes it possible for a web page or app to
detect the visitor's screen size and orientation and automatically adapt the display accordingly.
16
5.4 VISUAL STUDIO EDITOR:
• Visual Studio Code, also commonly referred to as VS Code, is a source-code editor made
by Microsoft with the Electron Framework, for Windows, Linux and macOS. Features
include support for debugging, syntax highlighting, intelligent code
completion, snippets, code refactoring, and embedded Git. Users can change
the theme, keyboard shortcuts, preferences, and install extensions that add additional
functionality.
• Visual Studio Code is a lightweight but powerful source code editor which runs on your
desktop and is available for Windows, macOS and Linux. It comes with built-in support for
JavaScript, TypeScript and Node.js and has a rich ecosystem of extensions for other
languages and runtimes (such as C++, C#, Java, Python, PHP, Go, .NET).
• VS Code supports a wide array of programming languages from Java, C++, and Python to
CSS, Go, and Docker file. Moreover, VS Code allows you to add on and even creating new
extensions including code linters, debuggers, and cloud and web development support.
• The VS Code user interface allows for a lot of interaction compared to other text editors. To
simplify user experience, VS Code is divided into five main regions:
It is very easy to use. Anybody having basic knowledge of HTML and CSS can use
Bootstrap.
It facilitates users to develop a responsive website.
It is compatible on most of browsers like Chrome, Firefox, Internet Explorer, Safari
and Opera etc.
17
5.5 DJANGO :
• The Django web framework is a free, open source framework that can speed up
development of a web application being built in the Python programming language.
Model
View
A view is a function or method that takes http requests as arguments, imports the
relevant model(s), and finds out what data to send to the template, and returns the final
result.
The views are usually located in a file called view.py
URL
Django also provides a way to navigate around the different pages in a website.
When a user requests a URL, Django decides which view it will send it to.
This is done in a file called urls.py
18
5.6 JAVA SCRIPT:
• JavaScript is a lightweight, interpreted programming language. It is designed for creating
network-centric applications. It is complimentary to and integrated with Java. JavaScript
is very easy to implement because it is integrated with HTML. It is open and cross-
platform.
JavaScript is a dynamic computer programming language. It is lightweight and most
used as a part of web pages, whose implementations allow client-side script to interact
with the user and make dynamic pages.
5.7 PYTHON :
19
CHAPTER 6
IMPLEMENTATION
20
6 IMPLEMENTATIONS
Implementation is the stage in the project where the theoretical design is turned into a working
system and is giving confidence on the new system for the users that it will work efficiently and
effectively. The implementation phase of the hostel management system project involved several
crucial elements. In terms of system architecture, a well-defined structure was established,
comprising various components intricately interconnected. The chosen technologies included
[Django Framework, Python, Java Script], each serving a specific purpose and selected for their
compatibility. The database design was a fundamental aspect, with a meticulously crafted
schema encompassing tables and relationships. Functionality implementation delved into the
specifics of each module, addressing challenges encountered along the way. Security measures
were prioritized, incorporating robust authentication and authorization mechanisms to safeguard
sensitive data. Testing played a pivotal role, employing comprehensive strategies and presenting
conclusive results. Performance optimization strategies were also implemented, ensuring an
efficient system. A user manual was created to guide users through the system's functionalities,
addressing common queries. The conclusion reflects on key achievements, challenges, and
insights gained during the implementation process.
HEADER:
<!DOCTYPE html>
<html>
<head>
<title> Healvibe Hospital | Home </title>
<!-- Web Fonts -->
<link rel="stylesheet" href="//fonts.googleapis.com/css?
family=Open+Sans:400,300,600&subset=cyrillic,latin">
<!-- CSS Global Compulsory -->
<link rel="stylesheet" href="assets/plugins/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<!-- CSS Header and Footer -->
<link rel="stylesheet" href="assets/css/header.css">
<link rel="stylesheet" href="assets/css/footer.css">
<!-- CSS Implementing Plugins -->
<link rel="stylesheet" href="assets/plugins/line-icons-pro/styles.css">
<link rel="stylesheet" href="assets/plugins/line-icons/line-icons.css">
<link rel="stylesheet" href="assets/plugins/font-awesome/css/font-
awesome.min.css">
<!-- CSS Customization -->
<link rel="stylesheet" href="assets/css/custom.css">
</head>
<body>
<div class="wrapper">
21
<!--=== Header v1 ===-->
<div class="header-v1">
22
<!-- Topbar -->
<div class="topbar-v1">
<div class="container">
<div class="row">
<div class="col-md-6">
<ul class="list-inline top-v1-contacts">
<li>
<i class="fa fa-envelope"></i> Email: healvibehospital06@gmail.com
</li>
<li>
<i class="fa fa-phone"></i> Contact no : 9876543210
</li>
</ul>
</div>
</div>
</div>
</div>
23
<a href="index.php" >
HOME
</a>
</li>
<!-- End Home-->
<!-- About Us -->
<li class="mega-menu-fullwidth">
<a href="about.php" >
ABOUT US
</a>
</li>
<!-- End About us -->
<!-- Gallery -->
<li class="mega-menu-fullwidth">
<a href="gallery.php" >
GALLERY
</a>
</li>
<!-- End Gallery -->
<!-- Blog -->
<li class="mega-menu-fullwidth">
<a href="blog.php" >
BLOGS
</a>
</li>
<!-- End Blog -->
<!-- Contact Us -->
<li class="mega-menu-fullwidth">
<a href="contact.php" >
CONTACT US
</a>
</li>
<!-- End Contact us -->
<!-- Appointment -->
<li class="mega-menu-fullwidth">
<a href="appointment.php">BOOK APPOINTMENT</a>
</li>
<!-- End Appointment -->
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- End Navbar -->
24
STORING THE APPOINTMENT DETAILS AND SEND A CONFIRMATION E-MAIL
<?php
session_start();
use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;
use PHPMailer\PHPMailer\SMTP;
require 'phpmailer/src/Exception.php';
require 'phpmailer/src/PHPMailer.php';
require 'phpmailer/src/SMTP.php';
if(isset($_POST["app_user"])){
// initializing variables
$name = "";
$email = "";
$date1 = "";
$time1 = "";
$errors = array();
// connect to the database
$db = mysqli_connect('localhost', 'root', '', 'healvibe');
// REGISTER USER
// receive all input values from the form
$name = mysqli_real_escape_string($db, $_POST['name']);
$email = mysqli_real_escape_string($db, $_POST['email']);
$date1 = mysqli_real_escape_string($db, $_POST['date1']);
$time1 = mysqli_real_escape_string($db, $_POST['time1']);
// form validation: ensure that the form is correctly filled ...
// by adding (array_push()) corresponding error unto $errors array
if (empty($name)) { array_push($errors, "Name is required"); }
if (empty($email)) { array_push($errors, "Email is required");
} if (empty($date1)) { array_push($errors, "Date is
required"); } if (empty($time1)) { array_push($errors, "Time is
required"); }
// Finally, register user if there are no errors in the form
if (count($errors) == 0) {
$que = "SELECT * FROM appmt WHERE date1='$date1' and time1='$time1';";
$res=mysqli_query($db,$que);
$rows=mysqli_num_rows($res);
echo $rows;
if ($rows <= 2) {
$query = "INSERT INTO appmt (name, email, date1 ,time1
) VALUES('$name', '$email', '$date1' , '$time1')";
mysqli_query($db, $query);
$_SESSION['name'] = $name;
$_SESSION['success'] = "Your appointment is
booked"; header('location: send.php');
$mail=new PHPMailer(true);
25
$mail->isSMTP();
$mail->Host='smtp.gmail.com';
$mail->SMTPAuth=true;
$mail->Username='healvibehospital06@gmail.com';
$mail->Password='eqkjafwiqnzrxwbf';
$mail->SMTPSecure='tls';
$mail->Port=587;
$mail->SMTPDebug = 3;
$mail->SMTPOptions = array(
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false,
'allow_self_signed' => true
)
);
$mail->setFrom('healvibehospital06@gmail.com');
$mail->addAddress($_POST["email"]);
$mail->isHTML(true);
$mail->Subject="Slot Confirmation";
$mail->Body="Your appointment has been booked Successfully, THANK YOU!";
$mail->Send();
echo
"<script>
alert('Please check your mail for
confirmation');
document.location.href='appointment.php';
</script>";
}
else
{
echo
"<script>
alert('Slot is full please book another slot');
</script>";
}
}
}
?>
26
FOOTER:
27
</ul>
</div><!--/col-md-3-->
<!-- End Link List -->
<!-- Address -->
<div class="col-md-3 map-img" style="margin-bottom: 40px;">
<div class="headline"><h2>Contact Us</h2></div>
<address class="" style="margin-bottom: 40px;">
Healvibe Hospital <br />
Tadepalligudem, IN <br />
Phone: 9876543210 <br />
Email: healivibehospital06@gmail.com
</address>
</div><!--/col-md-3-->
<!-- End Address -->
</div>
</div>
</div><!--/footer-->
<div class="copyright">
<div class="container">
<div class="row">
<div class="col-md-6">
<p>
2021 © All Rights Reserved.
<a href="privacy.php">Privacy Policy</a> | <a href="terms.php">Terms of Service</a>
</p>
</div>
<!-- Social Links -->
<div class="col-md-6">
<ul class="footer-socials list-inline">
<li>
<a href="http://www.facebook.com" class="tooltips" data-toggle="tooltip" data-placement="top"
title="" data-original-title="Facebook">
<i class="fa fa-facebook"></i>
</a>
</li>
<li>
<a href="http://www.skype.com" class="tooltips" data-toggle="tooltip" data-placement="top"
title="" data-original-title="Skype">
<i class="fa fa-skype"></i>
</a>
</li>
<li>
<a href="http://www.googleplus.com" class="tooltips" data-toggle="tooltip" data-
placement="top" title="" data-original-title="Google Plus">
<i class="fa fa-google-plus"></i>
</a>
28
</li>
<li>
<a href="http://www.linkedin.com" class="tooltips" data-toggle="tooltip" data-placement="top"
title="" data-original-title="Linkedin">
<i class="fa fa-linkedin"></i>
</a>
</li>
<li>
<a href="http://www.Pinterest.com" class="tooltips" data-toggle="tooltip" data-placement="top"
title="" data-original-title="Pinterest">
<i class="fa fa-pinterest"></i>
</a>
</li>
<li>
<a href="http://www.twitter.com" class="tooltips" data-toggle="tooltip" data-placement="top"
title="" data-original-title="Twitter">
<i class="fa fa-twitter"></i>
</a>
</li>
</ul>
</div>
<!-- End Social Links -->
</div>
</div>
</div><!--/copyright-->
</div>
<!--=== End Footer ===-->
29
CHAPTER 7
TESTING
30
7 TESTING
7.1 Introduction to
Testing
The Purpose of Testing is to discover Errors. Testing is the process of trying to discover
every conceivable fault or weakness in a work product. It provides a way to check the functionality
of components, sub-assemblies, or a finished product. It is the process of exercising software with
the intent of ensuring that the software system meets its requirements and user expectations and
does not fail in an unacceptable manner. There are various types of testing. Each test type addresses
a specific testing requirement. Testing is a process, which reveals errors in the program. It is the
major quality measure employed during software development. During testing, the program is
executed with a set of test cases and the output of the program for test cases is evaluated to
determine if the program is performing as it is expected to perform.
7.2 Test Objectives
• All field entries must be filled properly.
31
7.3.1 Unit Testing
Unit testing involves the design of test cases that validate that the internal program logic is
functioning properly, and that program inputs produce valid outputs. All decision branches and
internal code flow should be validated. It is the testing of individual software units of the
application
.it is done after the completion of an individual unit before integration. This is a structural testing,
that relies on knowledge of its construction and is invasive.
Unit tests perform basic tests at component level and test a specific business process,
application, and/or system configuration. Unit tests ensure that each unique path of a business
process performs accurately to the documented specifications and contains clearly defined inputs
and expected results. Unit testing is usually conducted as part of a combined code and unit test
phase of the software lifecycle, although it is not uncommon for coding and unit testing to be
conducted as two distinct phases.
Functional tests provide systematic demonstrations that functions tested are available as
specified by the business and technical requirements, system documentation, and user manuals.
Functional testing is centered on the following items:
In this the test cases are generated on the logic of each module by drawing flow graphs of
that module and logical decisions are tested on all the cases.
White Box Testing is a testing in which in which the software tester has knowledge of the inner
workings, structure and language of the software, or at least its purpose. It is used to test areas that
cannot be reached from a black box level. It has been uses to generate the test cases in the following
cases:
1. Guarantee that all independent paths have been Executed.
3. Execute all loops at their boundaries and within their operational bounds
In this strategy some test cases are generated as input conditions that fully execute all
functional requirements for the program. In this testing only the output is checked for correctness.
The logical flow of the data is not checked. Black Box Testing is testing the software without any
knowledge of the inner workings, structure or language of the module being tested. Black box tests,
as most other kinds of tests, must be written from a definitive source document, such as
specification or requirements document. The test provides inputs and responds to outputs without
considering how the software works.
33
This testing has been uses to find errors in the following categories:
2. Interface errors
4. Performance errors
It is a pre-delivery testing in which entire system is tested in a real web browser on real
world data and usage to find errors. Acceptance testing, a testing technique performed to determine
whether or not the software system has met the requirement specifications. The main purpose of this
test is to evaluate the system's compliance with the business requirements and verify if it is having
met the required criteria for delivery to end users.
7.3.6 Test Approach: Testing can be done in two ways they are
1. Bottom-up approach
2. Top-down approach
A. Bottom-up Approach Testing can be performed starting from smallest and lowest level
modules and proceeding one at a time. For each module in bottom up testing a short program
executes the module and provides the needed data so that the module is asked to perform the way it
will when embedded within the larger system. When bottom level modules are tested attention turns
to those on the next level that use the lower-level ones they are tested individually and then linked
with the previously examined lower level.
B. Top-down approach This type of testing starts from upper-level modules. Since the
detailed activities usually performed in the lower-level routines are not provided stubs are written.
A stub is a module shell called by upper-level module and that when reached properly will return a
message to the calling module indicating that proper interaction occurred. No attempt is made to
verify the correctness of the lower-level module.
34
CHAPTER-8
SCREENSHOTS
35
Fig.8.1 Login Page-1
36
Fig.8.3 Attendance Page
37
Fig.8.5 Room Form Page
40
Fig.8.11 Night outpass Form-1
42
9 CONCLUSION AND FUTURE WORK
9.1 CONCLUSION
As from last few years number of colleges/universities are increasing and so students require an
automated system which can reduce human effort and make administration easy and the technology
used in developing this website is very user-friendly and well supports the backend. This website
also includes the information of student whether the student present inside the hostel or whether the
student present outside by taking the pass.
43
CHAPTER 10
REFERENCES
44
10 REFERENCES
[1] An Intelligent student hostel allocation system based on web application” by Ambrose
Azeeta(2021).Hostel Management 10.1007/978-981-15-8297-4_62.
[2] “Smart Dashboard for managing the hostel activities” by abhishek
pundir(2021).International journal of creative research thoughts(IJCRT).
[3] Implementation Of Hostel Management With Automation Using Design Thinking” by
Dinesh.B(2022). International journal of creative research thoughts(IJCRT).
[4] “An Android app: E-outing for hostel students” by Adepu rajesh(2018). International
journal of creative research thoughts(IJCRT).
[5] “Hostel Management System” by M.Gudadhe (2022). International Research Journal of
Modernization in Engineering Technology and Science.
[6] “Hostel Management System” by Deepali Narkhede(2022). International Journal for
Research in Applied Science & Engineering Technology.
[7] “Development of an Automated Hostel Facility Management System” by Kola
Ayanlowo
(2014). Journal of Science and Engineering.
[8] “Hostel Management System” by Ritesh kumar bista(2018). International Journal of Trend
in Scientific Research and Development (IJTSRD).
[9] “Hostel Management System and Aggregation” by Shyamsundar Magar(2021). Journal of
Emerging Technologies and Innovative Research.
[10] “Social App Using Django and Python” by Pooja Warhade(2022). International Journal of
Scientific Development and Research.
45
46