Mini Project Campus Predictor Report
Mini Project Campus Predictor Report
BELGAUM-590018, KARNATAKA
“CAMPUS PREDICTOR”
Submitted in fulfillment of requirements for the Database Management System Laboratory of
BACHELOR OF ENGINEERING
IN
COMPUTER SCIENCE AND ENGINEERING
Submitted by
SAHANA R VARSHA H G
(1EW18CS131) (1EW18CS180)
Under the guidance of
Prof. RAMYA I M
Assistant Professor, Dept of CSE
CERTIFICATE
…………………………… …………………………
Signature of Guide Signature of HOD
Prof. RAMYA I M Dr. NARASIMHA MURTHY
Assistant Professor, CSE H.O.D, Dept of CSE
1. External Viva:
v
ACKNOWLEDGEMENT
The completion of project brings with great sense of satisfaction, but it is never
completed without thanking the persons who all are responsible for its successful completion.
First and foremost we wish to express our deep sincere feelings of gratitude to our Institution,
EAST WEST INSTITUTE OF TECHNOLOGY, for providing us an opportunity to do our
education.
We extend our deep sense of sincere gratitude to Dr. K Chennakesavalu , Principal, East West
Institute of Technology, Bengaluru, for having permitted to carry out the project work
successfully.
We express our heartfelt sincere gratitude to Dr. Narasimha Murthy M S, Professor and Head
of Department of Computer Science and Engineering, East West Institute of Technology,
Bengaluru, for his valuable suggestions and support.
We express our special in-depth, heartfelt, sincere gratitude to project guide Prof. RAMYA
I M , Assistant Professor, Dept. of CS&E , East West Institute of Technology, Bengaluru,
for her constant support.
Finally, We would like to thank all the Teaching, Technical faculty and supporting staff
members of Department of Computer Science and Engineering, East West Institute of
Technology, Bengaluru, for their support.
SAHANA R (1EW18CS131)
VARSHA H G (1EW18CS180)
ABSTRACT
In our project, on "CAMPUS PREDICTOR " we have tried to show how the data/information
in SCHOOLS regarding result is managed. This is just an overview of result management in
Schools. Students provided with subjects, students classes and results and students can check
their marks by entering their roll-id, we can create and manage subject by entering subject name
and subject code and we can also add and manage subject combination just by entering class
and subject and we can also check students admission status by entering their personal details
and at last admin can login using their email and password and this password can be changed
according to their convenience.This project aims at creating a Campus Predictor management
system which can be used by students as well as teachers , for teachers to update the marks of
student and for students to check their result. This software package has been developed using
the powerful coding tools of PHP at Front End and MYSQL(XAMP) server for backend.
v
LIST OF CONTENTS Page no
DECLARATION i
ACKNOWLEDGMENT ii
ABSTRACT iii
LIST OF CONTENTS iv
LIST OF FIGURES v
CHAPTERS:-
CHAPTER 1: Introduction to Database Management System 1
1.1 History of DBMS 2
1.2 Definition 3
1.3 Use of Database 4
1.4 Advantages 5
1.5 Introduction of Campus Predictor 6
SanpShot No Title
6.2 Dashboard
6.4 Subjects
v
DBMS Mini Project Campus Predictor
CHAPTER 1:
Introduction to Database ManagementSystem
Formally ,a “Database” refers to a set of related data and the way it is organised .
Access to this data is usually provided by “Database management system”(DBMS)
consisting of a integrated set of computer software that allows the users to interact with one or
more databases and provides access to all of the data contained in the database(although
restrictions may exist that limit access to particular data). The DBMS provides various
functions that allow entry ,storage and retrival of large quantities of information and provides
ways to manage how that information is organised.
Because of the close relationship between them ,the term “database” is often used
casually to refer to both the database and the DBMS used to manipulate it.
Outside the world of professional information technology, the term Database is often
used to refer to any collection of related data (such as spreadsheet or a card index) as however
size and usage requirements typically necessitates use of database management system.
Existing DBMSs provide various functions that allow management of a database and its
data which can be classified into four main functional groups:
Both the database and its DBMS confirm to the principles of particular database model .
“Database system “ refers collectively to the database model , database management system
and database .
Physically, database servers are dedicated computers that hold the actual databases and run
only the DBMS and related software. Database servers are usually multiprocessor computers,
with generous memory and RAID disk arrays used for stable storage. RAID is used for recovery
of data if any of the disks fail. Hardware database accelerators, connected to one or more
servers via a high-speed channel, are also used in large volume transaction processing
environments.
DBMSs are found at the heart of most database applications. DBMSs maybe built around
a customer multitasking kernel with built in networking support, built modern DBMSs
typically rely on standard operating system to provide these functions.
Since DBMSs comprise a significant market, computer and storage vendors often take into
account DBMS requirements in their own development plans.
Databases and DBMSs can be categorised according to database model(s) that they
support(such as relational or XML, the type(s) of computer they run on “from a server cluster
to a mobile phone “ , the query language(s) used to access the database such as SQL or XQuery)
, and their internal engineering , which effects performance, scalability , resilience and
security.
The relational model, first proposed in 1970 by Edgar F . Codd , departed from this tradition
by insisting that applications should be searched for data by content , rather than by following
links. The relational model employs sets of ledger-style tables , each used for a different type
of entity. Only in the mid-1980s did computing hardware become powerful enough to allow
the wide development of relational systems (DBMSs plus applications) . By the early 1990s ,
however , relational systems dominated in all large-scale data processing applications and as
of 2018 they remain dominant : IBM DB2 , Oracle , MySQL and Microsoft SQL server are the
most searched DBMS. The dominant database language , standardized SQL for the relational
model , has influenced database languages for other data models. Object databases were
developed in the 1980s to overcome the inconvenience of object-relational impedance
mismatch , which lead to the coining of the term “ post-relational” and also the development
of hybrid object-relational databases .
The next generation of post-relational databases in the late 2000s became known as No
SQL databases , introducing fast key-value stores and document-oriented databases a
completing “ next generation “ known as New SQL databases attempted new
implementations that retained the relational / SQL model while aiming to match the high
performance of No SQL compared to commercially available relational DBMSs .
1.2 Definitions:-
A database is not generally portable across different DBMSs, but different DBMSs can
interoperate by using standards such as SQL and ODBC or JDBC to allow a single application
to work with more than one DBMS. Computer scientists may classify databasemanagement
systems according to the database models that they support; the most popular database systems
since the 1980s have all supported the relational model -generally associated with the SQL
language.
Applications of Database are many, however some of them are as explained below:
• Databases for Businesses: The business world depends on databases 24 hours a day,
seven days a week. Inventory, order processing, payroll, accounting, shipping and
transportation routing are often tracked within a main database that keeps the company
functioning.
• Databases for Household and Family Management: The database also has a role in
household and family management. Many people use databases to keep track of family
birthdays, bills and expenses in the home; addresses of friends and relatives and movie/DVD
collections.
• Everyday Uses For Databases: Each time you make a purchase and the sales clerk asks
for your address or ZIP code, your information is kept and stored on a customer database.
These collections of data are used to send mailings of special offers, discounts and other deals.
• A receiver of data to be used in meeting the information requirement of the MIS users.
• Improved data access to users through use of host and query languages.
• Standard can be enforced: Standardized stored data format is particularly desirable as an old
data to interchange or migration (change) between the system.
The campus predictor application will manage the information about various students
enrolled in this course in different years, the marks obtained by the various students in various
subjects in different semesters. The manual method of students’ academic result processing
was found to be tedious, especially when carried out for a large number of students, this makes
the entire process time-consuming and error prone. Student management system full report,ask
latest student management system project report of the proposed system to generate the above
results. This project is useful for students and institutions for getting the results in simple
manner. The system designed is meant to register students as soon as they have paid their
departmental registration and only then will they be able to view their results. project screen
shot subject management , scheduling exam, result and project report of student management
system. The software will also generate summary report regarding student information,
semester wise marks list and performance reports.
CHAPTER 2:
Requirement Specification
In this section the various requirements that are essential for this project are specified.
These requirements have to be fulfilled for successful execution of the project. The purpose,
scope along with hardware and software requirements is given below:
CHAPTER 3:
Project Design
F_name
Cname_nume
Class_name
ric
S_check_result
Roll_id
password
section
DOB
Email
Email gender
crea crea
student admin tes Student_class
tes
views
create Subject_combination
s
C_name
result
subject
Science S_name
Admin_change_password
music
C_name
maths S_name S_code
Current_pa
F_name Email
ssword
eme
english
New_password
Admin_login
Email Password
Student_classes
Class_name Classname_numeric section
Subjects
Subject_name Subject_code
Subject_combination
Class_name Subject_name
students
Full_name Roll_id Email Gender DOB
Results
Class_name Full_name English Maths Music science
Admin_change_password
Email Current_password New_password
CHAPTER 4 :
Description of Tools and Technology
. XAMPP Server:-
XAMPP stands for Cross-Platform (X), Apache(A), MariaDB(M) , PHP(P)and Perl(P).
Since XAMPP is simple , lightweight Apache .Distribution it is extremely easy for developers
to create a local web
. HTML:-
HTML stands for [Hypertext Mark-up Language], it is the standard mark-up Language
for creating web-pages and web-applications . With Cascading Style Sheets(CSS ) and Java
Script it forms a triad of cornerstone technologies for the World Wide Web.
Web-browsers receive HTML documents from a web server or from local storage and Render
them into multimedia web-pages .HTML describes the structure of a web-page Semantically
and originally includes for the appearance of the document.
HTML element share the building blocks of HTML pages , with HTML constructs,
Images and other objects ,such as interactive forms ,may be embedded into the Rendered
page.
Semantics for text such as headings ,paragraphs ,lists, links ,quotes and other items . HTML
elements are delineated by tags , written using angle brackets .Browsers do not Display the
HTML tags ,but use them to interpret the content of the page.
Including aspects such as the layout , colors ,and fonts . This separation can improve
Specifying the relevant CSS in a separate . CSS file ,and reduce complexity and repetition
In the structural content. Separation of formatting and content makes it possible to Present
the same mark up page in different styles.
. PHP:-
It is a server-side scripting language designed primarily for web-development but ,also
used as a general-purpose programming language.
PHP code may also be executed with a command-line interface(CLI) and can be used
to implement stand-alone graphical applications.
The standard PHP interpreter ,powered by the ZendEngine ,is free software released
under the PHP License . PHP has been widely ported and can be deployed on Most web
servers on almost every operating system and platform , free of charge.
. My SQL SERVER:-
It is an open-source relational database management system (RDBMS).
Its name is a Combination of “My” , the name of co-founder Michael Widenius's daughter ,
and "SQL", the abbreviation for Structured Query Language . The MySQL development
project as made its source code available under the terms of the GNU General Public License
,as well as under a variety of proprietary agreements.
My SQL was owned and sponsored by a single for-profit firm ,the Swedish Company
My SQL AB ,now owned by Oracle Corporation. For proprietary use , several Paid editions
are available ,and offer additional functionality.
The My SQL server package will install the MySQL database server which can interact
with using a My SQL client . User can use the My SQL client to send commands to any MySQL
server ;on are mote computer The My SQL server is used to persist the data and provide a
query interface for it (SQL) . The My SQL client’s purpose is to allow you to use that query
interface. The client package also comes with utilities that allow ‘s you to easily backup/ restore
data and administer the server.
CHAPTER 5 :
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Admin Login</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" > <!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
</head>
<body class="">
<div class="main-wrapper">
<div class="">
<div class="row">
<section class="section">
<div class="row mt-40">
<div class="col-md-10 col-md-offset-1 pt-50">
<div class="section-title">
<p class="sub-title">Campus Predictor</p>
</div>
</div>
</div>
</form>
</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-11 -->
</div>
<!-- /.row -->
</div>
<!-- /.col-md-12 -->
</div>
<!-- /.row -->
</section>
</div>
<div class="col-lg-6">
<section class="section">
<div class="row mt-40">
<div class="col-md-10 col-md-offset-1 pt-50">
<h4>Admin Login</h4>
</div>
</div>
<div class="panel-body p-20">
<div class="section-title">
<p class="sub-title">Campus Predictor</p>
</div>
</div>
<!-- /.col-md-11 -->
</div>
<!-- /.row -->
</div>
<!-- /.col-md-12 -->
</div>
<!-- /.row -->
</section>
</div>
<!-- /.col-md-6 -->
</div>
<!-- /.row -->
</div>
<!-- /. -->
</div>
<!-- /.main-wrapper -->
});
</script>
</body>
</html>
5.2 Manage Subject Combination
<?php
session_start();
error_reporting(0);
include('includes/config.php');
if(strlen($_SESSION['alogin'])=="")
{
header("Location: index.php");
}
else{
// for activate Subject
if(isset($_GET['acid']))
{
$acid=intval($_GET['acid']);
$status=1;
$sql="update tblsubjectcombination set status=:status where id=:acid ";
$query = $dbh->prepare($sql);
$query->bindParam(':acid',$acid,PDO::PARAM_STR);
$query->bindParam(':status',$status,PDO::PARAM_STR);
$query->execute();
$msg="Subject Activate successfully";
}
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Admin Manage Subjects Combination</title>
<link rel="stylesheet" href="css/bootstrap.min.css" media="screen" >
<link rel="stylesheet" href="css/font-awesome.min.css" media="screen" >
<link rel="stylesheet" href="css/animate-css/animate.min.css" media="screen" >
<link rel="stylesheet" href="css/lobipanel/lobipanel.min.css" media="screen" >
<link rel="stylesheet" href="css/prism/prism.css" media="screen" > <!-- USED FOR
DEMO HELP - YOU CAN REMOVE IT -->
<link rel="stylesheet" type="text/css" href="js/DataTables/datatables.min.css"/>
<link rel="stylesheet" href="css/main.css" media="screen" >
<script src="js/modernizr/modernizr.min.js"></script>
<style>
.errorWrap {
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #dd3d36;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
.succWrap{
padding: 10px;
margin: 0 0 20px 0;
background: #fff;
border-left: 4px solid #5cb85c;
-webkit-box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
box-shadow: 0 1px 1px 0 rgba(0,0,0,.1);
}
</style>
</head>
<body class="top-navbar-fixed">
<div class="main-wrapper">
<div class="main-page">
<div class="container-fluid">
<div class="row page-title-div">
<div class="col-md-6">
<h2 class="title">Manage Subjects Combination</h2>
</div>
</div>
<!-- /.row -->
<div class="row breadcrumb-div">
<div class="col-md-6">
<ul class="breadcrumb">
<li><a href="dashboard.php"><i
class="fa fa-home"></i> Home</a></li>
<li> Subjects</li>
<li class="active">Manage
Subjects Combination</li>
</ul>
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
<section class="section">
<div class="container-fluid">
<div class="row">
<div class="col-md-12">
<div class="panel">
<div class="panel-heading">
<div class="panel-title">
<h5>View Subjects Combination Info</h5>
</div>
</div>
<?php if($msg){?>
<div class="alert alert-success left-icon-alert" role="alert">
<strong>Well done!</strong><?php echo htmlentities($msg); ?>
</div><?php }
else if($error){?>
<div class="alert alert-danger left-icon-alert" role="alert">
<strong>Oh snap!</strong> <?php echo htmlentities($error); ?>
</div>
<?php } ?>
<div class="panel-body p-20">
<th>Subject </th>
<th>Status</th>
<th>Action</th>
</tr>
</tfoot>
<tbody>
<?php $sql = "SELECT
tblclasses.ClassName,tblclasses.Section,tblsubjects.SubjectName,tblsubjectcombination.id as
scid,tblsubjectcombination.status from tblsubjectcombination join tblclasses on
tblclasses.id=tblsubjectcombination.ClassId join tblsubjects on
tblsubjects.id=tblsubjectcombination.SubjectId";
$query = $dbh->prepare($sql);
$query->execute();
$results=$query->fetchAll(PDO::FETCH_OBJ);
$cnt=1;
if($query->rowCount() > 0)
{
foreach($results as $result)
{ ?>
<tr>
<td><?php echo htmlentities($cnt);?></td>
<td><?php echo htmlentities($result->ClassName);?>
Section-<?php echo htmlentities($result->Section);?></td>
<td><?php echo htmlentities($result-
>SubjectName);?></td>
<td><?php $stts=$result->status;
if($stts=='0')
{
echo htmlentities('Inactive');
}
else
{
echo htmlentities('Active');
}
?></td>
<td>
<?php if($stts=='0')
{ ?>
<a href="manage-subjectcombination.php?acid=<?php echo htmlentities($result->scid);?>"
onclick="confirm('do you really want to ativate this subject');"><i class="fa fa-check"
title="Acticvate Record"></i> </a><?php } else {?>
</div>
<!-- /.col-md-12 -->
</div>
</div>
<!-- /.panel -->
</div>
<!-- /.col-md-6 -->
</div>
<!-- /.row -->
</div>
<!-- /.container-fluid -->
</section>
<!-- /.section -->
</div>
<!-- /.main-page -->
</div>
<!-- /.content-container -->
</div>
<!-- /.content-wrapper -->
</div>
<script src="js/jquery/jquery-2.2.4.min.js"></script>
<script src="js/bootstrap/bootstrap.min.js"></script>
<script src="js/pace/pace.min.js"></script>
<script src="js/lobipanel/lobipanel.min.js"></script>
<script src="js/iscroll/iscroll.js"></script>
<script src="js/prism/prism.js"></script>
<script src="js/DataTables/datatables.min.js"></script>
<script src="js/main.js"></script>
<script>
$(function($) {
$('#example').DataTable();
$('#example2').DataTable( {
"scrollY": "300px",
"scrollCollapse": true,
"paging": false
} );
$('#example3').DataTable();
});
</script>
</body>
</html>
<?php } ?>
CHAPTER 6 :
SnapShots
6.2 Dashboard
6.4 Subjects
• This project is designed to meet the requirements of Online Student Result Management
System i.e Campus Predictor.
• It has been developed in PHP Servers using JavaScript, HTML and CSS keeping in
mind the specifications of the system.
• For designing the system we have used simple data flow diagrams.
Using system analysis and design techniques like data flow diagram in designing the
system.
This project can be used in the schools after adding some more useful modules in the
project for which results can be viewed efficiently and easy Admin access and management.
Atmost care and back-up procedures must be established to ensure 100% successful
implementation of the computerized hotel system.In case of system failure, the organization
should be in a position to process the transaction with another organization or if the worst
comes to the worst, it should be in a position to complete it manually.
References
Books reference :
1. Fundamentals of Database System - Ramez Elmasri, Shamkant Navathe 2017[7thEdition]
URL reference:
1. www.w3schools.com
2. www.tutorialspoint.com
3. www.stackoverflow.com