Professional Documents
Culture Documents
BELGAUM, KARNATAKA-590018
An
Internship Project Report on
“MACHINE LEARNING WITH PYTHON”
WEB DESIGNING
An internship report submitted in partial fulfillment of the requirements for the internship in
Bachelor of Engineering in Computer Science and Engineering of Visvesvaraya
Technological University, Belgaum during the academic year 2020-2021.
2021-2022
Submitted by:
SADHANA (1SZ17CS006)
YASHWANTH V (1SZ18CS015)
CERTIFICATE
…………………
Mr.Nirupadi
H.O.D
Dept. of CSE.
External Viva
1…………………………………………… …………………………………..
2…………………………………………… …………………………………..
ACKNOWLEDGEMENT
It gives me an immense pleasure to present before you my internship work titled “HOUSE
RENTAL MANAGEMENT”.The joy and satisfaction that accompany the successful completion of
any task would be incomplete without the mention of those who made it possible.
I would like to thank Dr. B.S.M. Naidu, Chairman, SITAR, a well known Academician
for his modest and helping for all our academic Endevours.
I am indebted to Dr. Sampoorna Naidu, Director, SITAR, for her moral support and for
providing me all the facilities during my College days.
I wish to express a sincere thanks to our respected principal Dr. Shivashankare Gowda
for all his support.
YASHWANTH V (1SZ18CS015)
ABSTRACT
We are stuck with technology when what we really want is just stuff that works. With the
current paradigm shift in technological field, there is an urgent need to embrace and
appreciate the power of technology. Housing sector remains vigilant to face the challenges
of change by employing a new strategy that facilitates easy management of rental houses.
Hence there is need to develop a rental house management system that can simplify work
for the rental managers so that all their work can be efficient and effective. To get
information about how rental houses are currently being managed, I prepared questionnaires
and submitted them to a number of rental house managers and from the information I
gathered I realized all work was done manually with a lot of paper work involved. Papers
can easily get damaged or get lost leading to loss of data. It is also expensive to keep on
buying files to store your records. A lot of files make a place look untidy and also consume
a lot of space. Getting a certain file to check data from many files becomes a difficult task.
Considering those facts, I decided to develop a rental house management system that can
solve all the problems experienced with the current manual system. The system was
developed in such manner that it provides maximum user-friendly interface. Once you the
user logs in the system automatically show three forms: houses form, rent payment form
and tenants‟ registration form. Each form has several command buttons; new, save, cancel,
delete, next, previous and exit. With the command buttons you can manipulate the database.
If you want to add data to the database all you need to do is to click on new then input data
in the textboxes provided then click save and the data will automatically be saved. If you
want to view data in the database you just click next or previous and the data will be
displayed for you. When you click delete, you will be able to delete a record that you desire.
You may enter data then decide to cancel it, it is simple click on cancel and it will be
canceled. For manager faced with management difficulties here is a perfect solution for you.
The rental house management system is made for you.
ii
CONTENTS
Title Page no
ACKNOWLEGDEMENT i
ABSTRACT ii
CONTENTS iii-iv
LIST OF FIGURES v
CHAPTER 1 INTRODUCTION 1-4
1.1 Problem statement 1
1.2 Background 1
1.2.1 How House Rental Service works 1
1.3 Aim and Objective 2
1.4 Purpose, Scope and Applicability 3
1.4.1 Purpose 3
1.4.2 Scope 3
1.4.3 Applicability 4
CHAPTER 2 SYSTEM REQURIMENTS 5
2.1 Software Environments 5
2.1.1 Technology Used 5
2.2 Hardware and Software Configuration 5
2.2.1 Hardware Requirements 5
2.2.2 Software Requirements 5
CHAPTER 3 LITERATURE SURVEY 6-8
3.1 Government Strategy and Incentives in House Sector 6
3.2 The Role of Private Sector in House Management 6
3.3 The Role of Relational Database 7
3.4 Introduction to Database Management System 7
3.4.1 Indicative areas for the use of DBMS 7
iii
3.4.2 Advantages of a DBMS 7
3.4.3 Components of a DBMS 8
CHAPTER 4 SYSTEM DESIGN 9-11
4.1 Logical Design 9
4.2 Use case Diagram 10
4.3 Dataflow 11
CHAPTER 5 IMPLEMENTATION 12-22
5.1 HTML 12
5.2 CSS 12
5.3 JavaScript 13
5.4 SQL 14
5.5 PHP 15
5.6 Source Code 15
5.6.1 Code for index.php 15
CHAPTER 6 TESTING 23-24
6.1 Test Plan 23
6.1.1 Testing Against Time Boxes 23
6.1.2 Required Test 23
6.2 Testing Environment 24
CHAPTER 7 SNAPSHOTS 25-28
CONCLUSION 29
FUTURE ENHANCEMENT 30
REFERENCE 31
iv
LIST OF FIGURES
Figure No. Figure Name Page.no
Fig.4.1 Logical System Design 9
v
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CHAPTER 1
INTRODUCTION
We are stuck with technology when what we really want is just stuff that works. With the current
paradigm shift in technological field, there is an urgent need to embrace and appreciate the power
of technology. Housing sector remains vigilant to face the challenges of change by employing a
new strategy that facilitates easy management of rental houses. Hence there is need to develop
a House rental Project. The Home Rental System is Searching in Based on the Apartment House for
rent in metropolitan cities. The Home Rental System is Based on the Owners and the Customers.
The Owner is updated on the Apartment details, and rent details. The Customer is details about
the Room space, Room rent and the Address Details also. The Home Rental System is best
Suitable the owners because time save and the only contact and the eligible person and there is
no need to explain the room details on the speak. The Home Rental System is best application
in the city place. The customer contact and the easily search and the suitable place of House and
based the Money, Limit Person is based on the suitable house. The Home Rental System is save
the time also. The Rental Management System is used to easily identify the suitable place in
Save time, cost also. Hence this system is best applicable for the above reasons making House
rental an easy process through an online system.
1.1 Problem Statement
House Rental is a house/Apartment/home that can be used temporarily for a fee during a
specified period. The individual who needs a house must contact a rental car company and
contract out for a room/home/apartment. This system increases customer retention and simplify
House and staff management.
1.2 Background
1.2.1 How House Rental Services Work
A House rental is a house that can be used temporarily for a period of time with a
fee. Renting a house assists people to live in a comfortable house when they do not have
access to build their own personal homes/houses or. The individual who want to rent a
house/room/apartment/home must first contact the House rental company for the desire
House/Home/apartment. This can be done online. At this point, this person has to supply
some information such as; dates of rental, and type of house. After these details are worked
out, the individual renting the house must present a valid Identification Card.Most companies
throughout the industry make a profit based of the type of house that are rented. The rental
1
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
houses are categorized into modern Homes, Colonial, apartment, Rentals etc. And customers
are free to choose any house of their choice based on their purse and availability of such
houses at the time of booking.
2
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
1.4.1 PURPOSE
The advancement in Information Technology and internet penetration has greatly enhanced
various business processes and communication between companies (services provider) and
their customers of which Real Estate/House Rentals industry is not left out. This House Rental
System is developed to provide the following services:
• Rentals Notice and Blog: A tool where customers can see and view the
details of nearby available House for rent/sale, and also view the current
economic design of houses/apartments.
1.4.2 SCOPE
This project traverses a lot of areas ranging from business concept to computing field,
and required to perform several researches to be able to achieve the project objectives.
The area covers include:
• Real Estate Company: This includes study on how the Real Estate business
is being done, process involved and opportunity that exist for improvement.
• General customers as well as the company’s staff will be able to use the system
effectively.
• Web-platform means that the system will be available for access 24/7 except
when there is a temporary server issue which is expected to be minimal.
3
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
1.4.3 APLLICABLITY
House Rental is a house/Apartment/home that can be used temporarily for a fee during
a specified period. The individual who needs a house must contact a House Rental Owners
Through House rental Online System by first checking the available Houses, booking it then
The system will contact the house owners to check the House and contract out for a
room/home/apartment. This system increases customer retention and simplify House and staff
management. The System can be used by Real Estate Companies to increase the house rental
market around the world. The system will also help people to rent apartments/houses easily
instead of walking and manually renting houses. It is also applicable for landlords who wants
to expand their house rental business.
4
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CHAPTER 2
SYSTEM REQURIMENTS
2.1 SOFTWARE ENVIRONMENT
Software Environment is a technical specification of requirements of software product
and This specifies the environment for development, operation and maintenance of the
product.
2.1.1 TECHNOLOGY USED
• Http
• Http Basics
• PHP
• Mysql 5.0
• SQL
• HTML
The Hypertext Transfer Protocol is stateless, TCP/IP based protocol used for
communicating on the World Wide Web. HTTP defines the precise manner in which
Web clients communicate with Web servers. HTTP/1.0 is the most common version in
use today. Oddly enough, this protocol is not officially recognized as an Internet
standard. It is documented in the informational RFC 1945. Its successor, HTTP/1.1, is
currently a proposed Internet standard and many browsers and servers now support this
new version.
2.2 HARDWARE & SOFTWARE CONFIGURATION
5
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CHAPTER 3
LITERATURE SURVEY
Literature review is a text written by someone to consider the critical points of current
knowledge including substantive findings as well as theoretical and methodological
contributions to a particular topic. Main goals are to situate the current study within the body
of literature and to provide context for the particular reader (Cooper, 1998).
6
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
A Database Management System has many advantages over the traditional file
system used in the earlier days, such as:
• Data independence: Application programs should be as free or independent as
possible from details of data representation and storage. DBMS can supply an
7
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
abstract view of the data for insulating application code from such facts.
• Efficient data access: DBMS utilizes a mixture of sophisticated concepts and techniques
for storing and retrieving data competently and this feature becomes important in cases
where the data is stored on external storage devices.
• Data integrity and security: If data is accessed through the DBMS, the DBMS can enforce
integrity constraints on the data.
• Data administration: When several users share the data, integrating the administration of
data can offer major improvements. Experienced professionals understand the nature of
the data being managed and can be responsible for organizing the data representation to
reduce redundancy and make the data to retrieve efficiently.
8
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CHAPTER 4
SYSTEM DESIGN
The most inventive and testing stage in the framework life cycle is framework structure.
The term portrays the last framework and the procedure through which it was
produced. Demonstrates the specialized details to be connected in the usage of the proposed
framework, It likewise incorporates program building and plan of yield, input, code, database
and framework task.
9
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
10
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
11
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CHAPTER 5
IMPLEMENTATION
5.1 HTML:
First developed Tim Berners-Lee in 1990, HTML is short for Hypertext Mark-up
Language. HTML is used to create electronic documents (called pages) that are displayed
on the World Wide Web. Each page contains a series of connections to other pages called
hyperlinks. Every web page you see on the Internet is written using one version of HTML
code or another.
HTML is a computer language devised to allow website creation. These websites can
then be viewed by anyone else connected to the Internet. It is relatively easy to learn,
with the basics being accessible to most people in one sitting; and quite powerful in what
it allows you to create. It is constantly undergoing revision andevolution to meet the
demands and requirements of the growing Internet audience under the direction of the
organisation charged with designing and maintaining the language.
• Hypertext is the method by which you move around on the web — by clicking on
special text called hyperlinks which bring you to the next page. The fact that it is
hyper just means it is not linear — i.e. you can go to any place on the Internet
whenever you want by clicking on links — there is no set order to do things in.
• Mark-up is what HTML tags do to the text inside them. They mark it as a certain
type of text (italicised text for example).
• HTML is a Languages it has code-words and syntax like any other language.
5.2 CSS:
CSS handles the look and feel part of a web page. Using CSS, you can control the color
of the text, the style of fonts, the spacing between paragraphs, how columns are sized and
laid out, what background images are used layout designs, variations in display for
different devices and screen sizes as well as a variety of other effects.CSS is easy to learn
and understand but it provides powerful control over the presentation of an HTML
12
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
document. Most commonly, CSS is combined with the mark up languages HTML or
XHTML.
Advantages of CSS:
• CSS saves time − you can write CSS once and then reuse same sheet in multiple
HTML pages. You can define a style for each HTML element and apply it to as
many Web pages as you want.
• Pages load faster − If you are using CSS, you do not need to write HTML tag
attributes every time. Just write one CSS rule of a tag and apply it to all the
occurrences of that tag. So less code means faster download times
• Easy maintenance − To make a global change, simply change the style, and all
elements in all the web pages will be updated automatically.
• Superior styles to HTML − CSS has a much wider array of attributes than HTML,
so you can give a far better look to your HTML page in comparison to HTML
attributes.
5.3 JavaScript:
JavaScript was first known as Live Script, but Netscape changed its name to JavaScript,
possibly because of the excitement being generated by Java. JavaScript made its first
appearance in Netscape 2.0 in 1995 with the name Live Script. The general-purpose core
of the language has been embedded in Netscape, Internet Explorer, and other web
browser.
13
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
Client-side JavaScript is the most common form of the language. The script should be
included in or referenced by an HTML document for the code to be interpreted by the browser.
It means that a web page need not be a static HTML, but can include programs that interact
with the user, control the browser, and dynamically create HTML content.The JavaScript
client-side mechanism provides many advantages over traditional CGI server side scripts. For
example, you might use JavaScript to check if the user has entered a valid email address in a
form field.The JavaScript code is executed when the user submits the form, and only if all the
entries are valid, they would be submitted to the Web Server.JavaScript can be used to trap
user-initiated events such as button clicks, link navigation, and other actions that the user
initiates explicitly or implicitly.
• Less server interaction − you can validate user input before sending the page
off to the server. This saves server traffic, which means less load on your
server.
• Immediate feedback to the visitors − they don't have to wait for a page reload to
see if they have forgotten to enter something.
• Increased interactivity − you can create interfaces that react when the user
hovers over them with a mouse or activates them via the keyboard.
5.4 SQL:
14
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
5. 5 PHP:
PHP started out as a small open source project that evolved as more and more people
found out how useful it was. Rasmus Lerdorf unleashed the first version of PHP way back in
1994. PHP is a recursive acronym for "PHP: Hypertext Pre-processor".PHP is a server side
scripting language that is embedded in HTML.It is integrated with a number of popular databases,
including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
• PHP supports a large number of major protocols such as POP3, IMAP, and LDAP.
PHP4 added support for Java and distributed object architectures (COM and CORBA),
making n-tier development a possibility for the first time.
15
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
?>
</head>
<style>
body{
background: #80808045;
}
.modal-dialog.large {
width: 80% !important;
max-width: unset;
}
.modal-dialog.mid-large {
width: 50% !important;
max-width: unset;
}
#viewer_modal .btn-close {
position: absolute;
z-index: 999999;
/*right: -4.5em;*/
background: unset;
color: white;
border: unset;
font-size: 27px;
top: 0;
}
#viewer_modal .modal-dialog {
width: 80%;
max-width: unset;
height: calc(90%);
max-height: unset;
}
16
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
#viewer_modal .modal-content {
background: black;
border: unset;
height: calc(100%);
display: flex;
align-items: center;
justify-content: center;
}
#viewer_modal img,#viewer_modal video{
max-height: calc(100%);
max-width: calc(100%);
}
</style>
<body>
<?php include 'topbar.php' ?>
<?php include 'navbar.php' ?>
<div class="toast" id="alert_toast" role="alert" aria-live="assertive" aria-atomic="true">
<div class="toast-body text-white">
</div>
</div>
17
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Confirmation</h5>
</div>
<div class="modal-body">
<div id="delete_content"></div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id='confirm'
onclick="">Continue</button>
<button type="button" class="btn btn-secondary" data-
dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="uni_modal" role='dialog'>
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title"></h5>
</div>
<div class="modal-body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" id='submit' onclick="$('#uni_modal
form').submit()">Save</button>
<button type="button" class="btn btn-secondary" data-
dismiss="modal">Cancel</button>
</div>
</div>
</div>
18
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
</div>
<div class="modal fade" id="viewer_modal" role='dialog'>
<div class="modal-dialog modal-md" role="document">
<div class="modal-content">
<button type="button" class="btn-close" data-dismiss="modal"><span class="fa fa-
times"></span></button>
<img src="" alt="">
</div>
</div>
</div>
</body>
<script>
window.start_load = function(){
$('body').prepend('<di id="preloader2"></di>')
}
window.end_load = function(){
$('#preloader2').fadeOut('fast', function() {
$(this).remove();
})
}
window.viewer_modal = function($src = ''){
start_load()
var t = $src.split('.')
t = t[1]
if(t =='mp4'){
var view = $("<video src='"+$src+"' controls autoplay></video>")
}else{
var view = $("<img src='"+$src+"' />")
}
$('#viewer_modal .modal-content video,#viewer_modal .modal-content img').remove()
$('#viewer_modal .modal-content').append(view)
19
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
$('#viewer_modal').modal({
show:true,
backdrop:'static',
keyboard:false,
focus:true
})
end_load()
}
window.uni_modal = function($title = '' , $url='',$size=""){
start_load()
$.ajax({
url:$url,
error:err=>{
console.log()
alert("An error occured")
},
success:function(resp){
if(resp){
$('#uni_modal .modal-title').html($title)
$('#uni_modal .modal-body').html(resp)
if($size != ''){
$('#uni_modal .modal-dialog').addClass($size)
}else{
$('#uni_modal .modal-dialog').removeAttr("class").addClass("modal-dialog
modal-md")
}
$('#uni_modal').modal({
show:true,
backdrop:'static',
keyboard:false,
20
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
focus:true
})
end_load()
}
}
})
}
window._conf = function($msg='',$func='',$params = []){
$('#confirm_modal #confirm').attr('onclick',$func+"("+$params.join(',')+")")
$('#confirm_modal .modal-body').html($msg)
$('#confirm_modal').modal('show')
}
window.alert_toast= function($msg = 'TEST',$bg = 'success'){
$('#alert_toast').removeClass('bg-success')
$('#alert_toast').removeClass('bg-danger')
$('#alert_toast').removeClass('bg-info')
$('#alert_toast').removeClass('bg-warning')
if($bg == 'success')
$('#alert_toast').addClass('bg-success')
if($bg == 'danger')
$('#alert_toast').addClass('bg-danger')
if($bg == 'info')
$('#alert_toast').addClass('bg-info')
if($bg == 'warning')
$('#alert_toast').addClass('bg-warning')
$('#alert_toast .toast-body').html($msg)
$('#alert_toast').toast({delay:3000}).toast('show');
}
$(document).ready(function(){
21
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
$('#preloader').fadeOut('fast', function() {
$(this).remove();
})
})
$('.datetimepicker').datetimepicker({
format:'Y/m/d H:i',
startDate: '+3d'
})
$('.select2').select2({
placeholder:"Please select here",
width: "100%"
})
</script>
</html>
22
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CHAPTER 6
TESTING
6.1 TEST PLAN
Test plan is a basic stage for giving a quality full item. In a test plan the extension,
procedures and criteria are portrayed for testing specific expectations of a venture.
Along these lines, here various test designs have been portrayed for testing this house
rental framework.
• Unit Testing: Unit testing will be performed for testing explicit usefulness or
every module of this house rental administration framework.
• Integration Testing: Integration testing will be performed by joining all modules
or segments of this framework and testing it as a gathering to guarantee that this
framework is working appropriately.
• Acceptance Testing: Acceptance testing will be performed for verifying that this
framework has met all client necessities and the framework is prepared to send.
• Performance Testing: Performance testing will be performed to quantify this
current framework's effectiveness. Execution testing will recognize this present
framework's reaction against client's desire.
• Security Testing: Security testing will be performed to check whether the
framework is secure or not. Security testing will quantify this current framework's
helplessness and capacity to anchor the secret information.
23
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
24
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CHAPTER 7
SNAPSHOTS
7.1 Admin Dashboard
Description: House type, Houses, Tenants, Payments, Reports, and Users.
25
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
7.3 Houses
Description: House Form, House Number, Category, Price, House List, Show Entries, Edit,
Delete, Search and Number of Entries.
7.4 Tenants
Description: List of Tenant, Number of Entries, Name, House Rented, Outstanding Balance,
Last Payment, View, Edit, Delete, Add New Tenant, Show Entries, and Search.
26
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
7.5 Payments:
Description: List of Payments, Number of Entries, Date, Tenant, Invoice, Amount, Edit,
Delete, New Entry, and Search.
7.6 Reports
Description: Monthly Payments Report, Rental Balances Report.
27
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
7.7 User
Description: Show Entries, Number of Entries, Name, Username, Search, Edit, Delete,
Update, and Add New user.
28
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
CONCLUSION
House Rental business has emerged with a new goodies compared to the past experience where
every activity concerning House rental business is limited to a physical location only. Even
though the physical location has not been totally eradicated; the nature of functions and how
these functions are achieved has been reshaped by the power of internet. Nowadays, customers
can reserve book/buy/sale House online, rent House online, and have the house contracted
successfully without any sweat once the customer is a registered member of the House Rental
Management System. The web-based House rental system has offered an advantage to both
Tenants as well as Landlords to efficiently and effectively manage the business and satisfies
customers’ need at the click of a button.
29
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
FUTURE ENHANCEMENT
In future our project is meant to satisfy the needs of rental house owners. Several user-friendly
interfaces have also been adopted. This package shall prove to be a powerful in satisfying all
the requirements of the users. It is with utmost faith that I present this software to you hoping
that it will solve your problems and encourage you to continue appreciating technology because
it is meant to change and ease all our work that seems to be very difficult. I don't mean that my
project is the best or that I have used the best technology available it just a simple and a humble
venture that is easy to understand. In extent we can add GPS system in build and can give live
chat online option to users. This project can also be extended to IOS Platform and several state
Database can be included. Could also allow local business to push deals/coupons within a
certain geographic area.
30
HOUSE RENTAL MANAGEMENT SYSTEM 2021-22
REFERENCES
[1] BradTravesy (2017) Php front end and back, https://www.traversymedia.com
[4] Web development and application development by Ivan Byross BPB publications
31