Car Showroom Final Report
Car Showroom Final Report
On
Submitted By :
ANAGHA.M (1GA19CS014)
DHRUTHI.S (1GA19CS046)
2021-2022
CERTIFICATE
This is to certify that 5th Semester Mini Project entitled “CAR SHOWROOM
MANAGEMENT SYSTEM” is a bonafide work carried out by ANAGHA.M
(1GA19CS014), DHRUTHI.S(1GA19CS046) as a partial fulfillment for the award of
Bachelors Degree in Computer Science and Engineering for DBMS Laboratory with Mini
Project [18CSL58] as prescribed by Visvesvaraya Technological University, Belagavi
during the year 2021-2022.
External Exam
1._______________________ ________________
2._______________________ ________________
DECLARATION
Anagha.M (1GA19CS014)
Dhruthi.S(1GA19CS046)
PLACE : Bengaluru
DATE : 04-02-2022
ABSTRACT
This Car showroom management system is designed for such owners and users who are
interested in cars. This system keeps track of all the cars along with their each and every single
detail. From the date of manufacture to up to what price can one negotiate while taking that
car, one can view all the data here. If someone is interested in buying the car, then he/she can
contact the retailer as well for the same, via the system.
This is a live project which was developed for a local CAR Agent. It is useful to the Agent to
maintain the Customers details, Sales Details, Company items and services and also CAR
Details. If any customer buy a CAR in loan that persons CAR will recognizes with the help of
CAR no. CAR Recognition System, which will cover the following modules The agent will
enter the CAR No It will help the user to search the CAR details and the required details of the
customer .The agent enters the customer details and maintain company details. Regarding the
registration module, it contains the information about newly joined User details like name of
the user, password etc. CAR Details module contains the details like Name of the CAR, send
from, send to etc. Billing and Payment Detail will contain the details like Actual Amount to
be paid, emi. Searching is having the details of the customer. Any agent will login and search
the details of the customer it will show all details like customer Details, CAR name, payment
type etc.
i
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompany the successful completion of any task would be
incomplete without the mention of the people who made it possible and whose constant
encouragement and guidance crowned our efforts with success.
We express our deep and sincere thanks to our Principal Dr. N. Ranapratap Reddy for his
support.
We are grateful to Dr. Bhagyashri R Hanji, Professor and HOD, Dept of CSE who is source
of inspiration and of invaluable help in channelizing my efforts in right direction.
We wish to thank our internal guide Dr. Pramila B, Associate Professor and Mrs.Shruthi P,
Assistant Professor, Dept of CSE for guiding and correcting various documents with attention
and care. She has taken lot of pain to go through the document and make necessary corrections
as and when needed.
We would like to thank the faculty members and supporting staff of the Department of CSE,
GAT for providing all the support for completing the Project work.
Finally, we are grateful to our parents and friends for their unconditional support and help
during the course of our Project work.
ANAGHA.M (1GA19CS014)
DHRUTHI.S (1GA19CS046)
ii
TABLE OF CONTENTS
CHAPTER
TITLE PAGE
NO.
ABSTRACT i
LIST OF FIGURES ⅳ
1. INTRODUCTION 1
1.1 INTRODUCTION TO SQL 1
1.2 INTRODUCTION TO FRONTEND SOFTWARE 3
1.3 PROJECT REPORT OUTLINE 4
2. REQUIREMENT SPECIFICATION 5
2.1 SOFTWARE REQUIREMENTS 5
iii
LIST OF FIGURES
LIST OF TABLES
iv
CAR SHOWROOM MANAGEMENT
CHAPTER 1
INTRODUCTION
The Structured Query Language (SQL) is the language of databases. All modern relational
databases, including Access, FileMaker Pro, Microsoft SQL Server and Oracle use SQL as
their basic building block. In fact, it’s often the only way that you can interact with the database
itself. All of the graphical user interfaces that provide data entry and manipulation
functionality are nothing more than SQL translators. They take the actions you perform
graphically and convert them to SQL commands understood by the database.
At this point, you might be thinking that you’re not a programmer and learning a programming
language is certainly not up your alley. Fortunately, at its core, SQL is a simple language. It
has a limited number of commands, and those commands are very readable and are almost
structured like English sentences
INTRODUCING DATABASES
To understand SQL, it’s important to have a basic understanding of how databases work. If
you’re comfortable with terms like table, relation and query, feel free to flow right ahead! If
not, you may wish to read the article Database Fundamentals before moving on. Let’s look at
an example. Suppose you have a simple database designed to keep the inventory for a
convenience store. One of the tables in your database might contain the prices of the items on
your shelves indexed by unique stock numbers that identify each item. You’d probably give
that table a simple name like “Prices.” Perhaps you want to remove items from your store that
are priced over $25, you would "query" the database for a list of all these items. This is where
SQL comes in.
Before we get into the SQL statement required to retrieve this information, let’s try phrasing
our question in plain English. We want to “select all stock numbers from the prices table where
the price is over $25.” That’s a simple request when expressed in plain English, and it’s almost
as simple in SQL. Here’s the corresponding SQL statement: SELECT StockNumber FROM
Prices WHERE Price > 5 It’s as simple as that! If you read the statement above out loud, you’ll
find that it’s extremely like the English question we posed in the last paragraph.
Now let’s try another example. This time, however, we’ll do it backwards. First, I’ll provide
you with the SQL statement and let’s see if you can explain it in plain English: SELECT Price
FROM Prices WHERE StockNumber = 3006 So, what do you think this statement does?
That’s right, it retrieves the price from the database for item 3006. There’s one simple lesson
you should take away from our discussion at this point: SQL is like English. Don’t worry about
how you construct SQL statements; we’ll get to that in the rest of our series. Just realize that
SQL isn’t as intimidating as it may first appear.
provides a wide range of statements, of which SELECT is just one. Here are some examples
of other common SQL statements: SQL INSERT and SQL DELETE: Inserts or deletes a
record from a table SQL UPDATE: Modifies records in a table
In addition to these SQL statements, you can use SQL clauses, among them the WHERE clause
used in the previous examples. These clauses serve to refine the type of data to act on. In
addition to the WHERE clause, here are other commonly-used clauses:
AND or OR.
If you are interested in further exploring SQL, SQL Fundamentals is a multi-part tutorial that
explores the components and aspects of SQL in more detail.
PHP is server-side scripting system – PHP stands for "PHP: Hypertext Pre-processor"
– If you want to focus on one system for dynamic content, this is a good one to choose.
HISTORY
• Started as a Perl hack in 1994 by Rasmus Lerdorf (to handle his resume), developed to
PHP/FI 2.0
• By 1997 up to PHP 3.0 with a new parser engine by Zeev Suraski and Andi Gutmans. Version
5.2.4 is current version, rewritten by Zend ( www.zend.com ) to include a number of features,
such as an object model.
• Current is version 5
• PHP is one of the premier examples of what an open-source project can be PHP Scripts
• Typically file ends in. php--this is set by the web server configuration
• PHP commands can make up an entire file, or can be contained in html--this is a choice....
Chapter 1: Introduction to SQL about its database, sql query, interpreting sql statements, AND
or OR and range if sql statements
Chapter 5: Front End Design, connecting to database using PHP, Front end code of the Project
Chapter 6: Testing of project by different cases, it’s process and testing objectives
CHAPTER 2
REQUIREMENT SPECIFICATION
1. OS : Windows XP
➢ RAM: 256 MB
➢ CD Drive
CHAPTER 3
In this project, we use PHP and MySQL database. It has two modules
1. User
2. Admin
User: user can view the website and checkout the information about cars and they can also
enquiry about the car.
ADMIN MODULE
• Admin is the super user of the website who can manage everything on the website. Admin can
log in through the login page
• Dashboard: In this section, admin can see all detail in brief like the total car company, Total
Enquiry, and Total Car Listed
• Company Info: In this section, admin can mange car company information (add/update).
Admin can also update his profile, change the password and recover the password.
ADVANTAGES
CHAPTER 4
IMPLEMENTATION
4.1 ER DIAGRAM
The Entity-Relationship (ER) model was originally proposed by Peter in 1976 [Chen76] as a
way to unify the network and relational database views. Simply stated the ER model is a
conceptual data model that views the real world as entities and relationships. A basic
component of the model is the Entity-Relationship diagram which is used to visually represent
data objects. Since Chen wrote his paper the model has been extended and today it is
commonly used for database design for the database designer, the utility of the ER model is:
• It maps well to the relational model. The constructs used in the ER model can easily be
transformed into relational tables.
• It is simple and easy to understand with a minimum of training. Therefore, the model can be
used by the database designer to communicate the design to the end user .
• In addition, the model can be used as a design plan by the database developer to implement
a data model in specific database management software.
ER Notation
SYMBOL PURPOSE
Represents attributes
4.2 ER DIAGRAM
For each strong entity type E in the ER schema, create a relation R that includes all the simple
attributes of E. Include only the simple component attributes of a composite attribute. Choose
one of the key attributes of E as the primary key for R. If the chosen key of E is a composite,
then the set of simple attributes that form it will together form the primary key of R.
For each weak entity type W in the ER schema with owner entity type E, create a relation R
and include all simple attributes of W as attributes of R. In addition, include as foreign key
attributes of R, the primary key attributes of the relations that correspond to the owner entity
types.
For each binary 1:1 relationship type R in the ER schema, identify the relations S and T that
correspond to the entity types participating in R. (a) The foreign key approach
The only option for M:N relationships is the relationship relation (cross-reference) option. For
each binary M:N relationship type R, create a new relation S to represent R. Include as foreign
key attributes in S the primary keys of the relations that represent theparticipating entity types.
Their combination will form the primary key of S.
For each multivalued attribute A, create a new relation R. This relation R will include an
attribute corresponding to A, plus the primary key attribute K—as a foreign key in R—of the
relation that represents the entity type or relationship type that has A as a multivalued attribute.
Use the relationship relation option. For each n-ary relationship type R, where n > 2, create a
new relationship relation S to represent R. Include as foreign key attributes in S the primary
keys of the relations that represent the participating entity types. Also include any simple
attributes of the n-ary relationship type as attributes of S.
NORMALIZATION FORMS:
1. First Normal Form First Normal Form is defined in the definition of relations (tables) itself.
This rule defines that all the attributes in a relation must have atomic domains. The values in
a atomic domain are indivisible units.
2. Second Normal Form Before learning about the Second Normal Form, need to understand
the following
● Non-prime attribute - An attribute, which is not a part of the prime-key, is said to be a non-
prime attribute.
If we follow second normal form, then every non-prime attribute should be fully functionally
dependent on prime key attribute. That is, if X -> A holds, then there should not be any proper
subset Y of X, for which Y->A also holds true, partial dependency is not allowed in Second
Normal Form.
3. Third Normal Form : For a relation to be in Third Normal Form, it must be in Second
CREATE TABLE `tblcars` (`ID` int(10) NOT NULL, `CarName` varchar(50) DEFAULT
NULL,`CarImage` varchar(120) DEFAULT NULL, `CarImage1` varchar(255) DEFAULT
NULL, `CarImage2` varchar(255) DEFAULT NULL,`CarImage3` varchar(255) DEFAULT
NULL, `CarImage4` varchar(255) DEFAULT NULL,`CarType` varchar(120) DEFAULT
NULL, `CarCompany` varchar(120) DEFAULT NULL, `CarBodycolor` varchar(50) NOT
NULL,`CarBodytype` varchar(50) NOT NULL, `CarModel` varchar(50) NOT NULL,
`CarPrice` varchar(120) DEFAULT NULL, `CarNumber` varchar(120) DEFAULT
NULL,`CarLength` varchar(120) DEFAULT NULL, `CarWidth` varchar(120) DEFAULT
NULL, `CarHeight` varchar(120) DEFAULT NULL, `Seatingcapacity` varchar(120)
Figure 4.3
The model misses out on alloy wheels but has got full wheel cov', '37 ltr', '378 mm', 'Na', '1197
cc', 'Yes', '2019-06-26 11:43:41'),(2, 'Renault Triber',
'a5b118bd8e7c40ffe7ae22e74cbe29c6.jpg', NULL, NULL, NULL, NULL, 'Hatchbag',
'Renault', 'White', 'Plastic', 'ABC', '5.70 - 9.55 lakh', '78945', '3990 mm', '1739 mm', '1643 mm',
'7', 'Diesel', '999 cc', '72Ps @ 6250 RPM', '96Nm @ 3500 RPM', '28.4 kmpl', 'Automatic
transmission', '5', 'Yes', 'Front and Rear', 'Yes', 'Yes', 'Driver and Passenger', 'Mcpherson Strut',
'Torsion Beam', 'The Renault Triber is a budget MPV from French company Renault. It is a 7-
seater vehicle based on the Renault Kwid. The big USP of the Renault Triber is that it will get
detachable third-row seats which can be taken out to optimise the cargo space. It will have
manual folding and unlatching operatio', '40 ltr', '378 mm', 'Front', '1197 cc', 'Yes', '2019-06-
27 04:25:51'),(3, 'Nissan Kicks', 'd41d8cd98f00b204e9800998ecf8427e.png', NULL, NULL,
NULL, NULL, 'SUV', 'Nissan', 'Blue', 'Plastic', 'Kicks', '10.91 - 17.38 Lak', '78946', '4384 mm',
'1813 mm', '1656 mm', '5', 'Diesel', '1498 CC', '104 bhp@5600 rpm', '142 Nm@4000 rpm',
'14.2 Kmpl', 'Automatic transmission', '5', 'Yes', 'Front and Rear', 'Yes', 'Yes', 'Driver and
Passenger', '2', '898', 'Nissan is the newest entrant and though its yet to launch Kicks in India,
we got a chance to bring the segment benchmark - the Hyundai Creta', '50 ltr', '378 mm', 'Front',
'1197 cc', 'Yes', '2019-07-01 10:59:43'),(4, 'MARUTI-SUZUKI ALTO K10',
'cddb23f513bccb3e89a12687fd9de4b2.jpg', NULL, NULL, NULL, NULL, 'Hatchbag',
'Maruti Suzuki', 'Orange', 'Plastic', 'ALTO K10', '4.51-6.21 lakh', '774654', '3620 mm', '1495
mm', '1460 mm', '5', 'Petrol', '998 cc', '67 bhp', '91@3500 rpm', '20.2 km/ltr', 'Automatic
transmission', '5', 'Yes', 'Front and Rear', 'Yes', 'Yes', 'Driver and Passenger', 'McPherson Strut',
'3-Link Rigid Axle', 'Alto K10 is the elder sibling of the Alto 800 from the Maruti-Suzuki’s
range. It is the highest selling vehicle in India and it is prefered by most brand for the mid class
customers. It is available in Tango Orange, Granite Grey, Fire Brick Red, Silky Silver and
Superior White colours.\r\nService c', '35 ltr', '268 mm', 'Front', '64646 cc', 'Yes', '2019-07-04
12:05:08'),(5, 'Ford Figo Ambiente 2.1', '985dbf74fe122ce6688bb403e28e0544.jpg', NULL,
NULL, NULL, NULL, 'Hatchbag', 'Ford', 'Silver', 'Plastic', 'Ambiente 2.1', '5.23-10.83 lakh',
'5689', '3886 mm', '1695 mm', '1525 mm', '5', 'Petrol', '1196 cc', '88 bhp', '112@4000 rpm',
'18.16 km/ltr', 'Manual transmission', '5', 'Yes', 'Front and Rear', 'Yes', 'Yes', 'Driver and
Passenger', 'McPherson Strut', 'Twist Beam', 'The new Figo hatchback is the next generation
model from Ford in the B-Segment. The hatchback has been designed keeping in mind the
One Ford philosophy followed by Ford’s global line-up.', '42 ltr', '286 mm', 'Rear', '1197
cc', 'Yes', '2019-07-04 12:17:41'),(6, 'HYUNDAI EON Sportz Petrol',
'24234', '12 Km/Ltr', 'Automatic transmission', '5', 'Yes', 'Yes', 'Yes', 'Yes', 'YEs', 'ghfhgf',
'fdsfds', 'This is sample text for testing', '45 ltr', 'Yes', 'Yes', 'YEs', 'Yes', '2019-07-20
05:20:27');
Figure 4.4
Figure 4.5
Figure 4.6
(1, 'aboutus', 'About Us', '', '', 0, 'Welcome to Car Showroom Management System . Indias
largest car seller. Car Showroom Management System has always striven to serve car buyers
in the most comprehensive and convenient way
possible.<div><br></div><div><div><ol><li><span style=\"color: rgb(0, 0, 0); font-family:
(2, 'contactus', 'Contact Us', 'CSMS:5th Floor, ASV Ramana Towers, 52, Venkatnarayana
Road,T.Nagar Chennai-600 017', '[email protected]', 1234567890, 'Plot No. 30,
Shivaji Marg, Najafgarh Road, Opposite CTC Mall, Moti Nagar, New Delhi, Delhi,
110015<div><br></div>', '2019-07-20 05:22:34');
Figure 4.7
Syntax:
[before | after]
on [table_name]
[trigger_body]
Figure 4.8
Stored Procedures are created to perform one or more DML operations on Database. It is
nothing but the group of SQL statements that accepts some input in the form of parameters
and performs some tasks and may or may not returns a value.
IS
variables;
BEGIN
//statements;
END;
The most important part is parameters. Parameters are used to pass values to the Procedure.
1. IN:
This is the Default Parameter for the procedure. It always receives the values from calling
program.
2. OUT:
3. IN OUT:
This parameter performs both the operations. It Receives value from as well as sends the values
to the calling program.
Figure 4.9
CHAPTER 5
Rationale
● Most Web Applications: - Retrieve information from a database to alter their on-screen
display Store user data such as orders, tracking, credit card, etc. in a database.
● Permits them to adapt individual users, and provide fresh changing content. PHP: Built-in
Database Access
● PHP provides built in database connectivity for a wide range of databases - MySQL,
PostgreSQL, Oracle, Berkeley DB, Informix, MySQL, Lotus Notes, and more - Starting
support for a specific database may involve PHP configuration steps.
● Another advantage of using a programming language that has been designed for the creation
of web apps.
● parameters
SECURITY NOTE
● Username and password fields imply that database password is sitting there in the source
code.
★ Servers are sometimes configured to view PHP source code when a resource is requested
ith “.phps” instead of “.php”.
★ One approach to avoid this: put this information in web server configuration file.
● Then ensure the web server configuration file is not externally accessible.
SELECTING A DATABASE
● Related :- mysql_list_dbs()
CHAPTER 6
TESTING
This chapter gives the outline of all testing methods that are carried out to get a bug free
system. Quality can be achieved by testing the product using different techniques at different
phases of the project development. 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 and/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 test. Each test type addresses a specific testing requirement.
Testing is an integral part of software development. Testing process certifies whether the
product that is developed compiles with the standards that it was designed to. Testing process
involves building of test cases against which the product has to be tested.
TESTING OBJECTIVES
● A good test case is one that has high probability of finding undiscovered error.
TEST CASES
The test cases provided here test the most important features of the project. Test cases of the
project
Records or searched
or deleted
Trigger Query OK
created
Created created
CHAPTER 7
RESULTS
This section describes the screens of the “Project title”. The snapshots are shown below for
each module.
7.1 SNAPSHOTS
Figure7.2:Search
The admin has the access to all the records related to list of cars, enquiry etc.
Figure 7.5:Delete
Figure 7.7:Trigger
A trigger is generated after each successful entry into the database or after each company
which has been inserted
CHAPTER 8
CONCLUSION
With the theoretical inclination of our syllabus it becomes very essential to take the at most
advantage of any opportunity of gaining practical experience that comes along. The building
blocks of this Major Project “CAR SHOWROOM MANAGEMENT SYSTEM” was one
of these opportunities. It gave us the requisite practical knowledge to supplement the already
taught theoretical concepts thus making us more competent as a computer engineer. The
project from a personal point of view also helped us in understanding the following aspects of
project development.
The project also provides us the opportunity of interacting with our teachers and to gain from
their best experience.
CHAPTER 9
REFERENCES
[1] Fundamentals of Database System, Ramez Elmasri and Shamkant B.Navathe, 7th Edition,
2017, Pearson.
[2] Database Management System, Ramakrishna and Gehrke, 3rd Edition, 2014, McGraw Hill.
[5] http://localhost/dashboard/phpinfo.php