Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Certificate of Approval
This is to certify that Suraj Chakrawarti (1410104017) and Pinki Kumari Soni
(1410104012) of the final year B. Tech (CSE) have successfully completed the
major project “University Online System”.
Under the able guidance of Ms. Preeti Raj Verma toward the fully fulfillment of the
Bachelor degree course in Computer Science in Rama University (Faculty of
Engineering & Technology), Kanpur.
Head of Department
Dr. Hari Om Sharan
i
Candidate Declaration
I hereby certify that the work which is being presented in the report, entitled
"University Online System", in the partial fulfillment of the requirement for the
award of the degree of Bachelor in Technology and submitted to the institution is
an authentic record of our own work carried out during the period Feb, 2018 to
Apr, 2018 under the supervision of Ms. Preeti Raj Verma.
The matter presented in this report has not been submitted elsewhere for the
award of any degree and diploma from any Institutions.
Date: Signature of
Candidate
1. Suraj Chakrawarti
2. Pinki Kumari Soni
This is to certify that the above statement made by the candidate is correct to the
best of our knowledge.
ii
Acknowledgements
The extensive endeavor that accompanies the successful completion of any task
would not be complete without the expression of gratitude to the people who
made it possible. We express our sincere thanks to our project guide Ms. Preeti
Raj Verma Ma’am. She was always patient and willing to help. We thank her for
all his encouragement, inspiring guidance, valuable advises and suggestions
throughout our project work.
We would like to express our sincere gratitude towards Dr. Hari Om Sharan Sir
(Head of CS Department) and Mr. Sarvesh Patel Sir for his kind support and
suggestions given in every step.
We extend our whole-hearted thanks to all the staff of in Computer Science &
Engineering Department for providing all facilities, valuable suggestions and
constant supervision for the completion of the project.
Last but not the least, we would like to acknowledge to all the ongoing support of
our parents and our family members, whose patience and encouragement during
these long days and night have been paramount in making of this project a
reality.
iii
Abstract
There are custom search capabilities to aid in finding student information, Faculty
information with related to subject assign and also getting information about the
HOD of the Department with User ID (Roll No). This can make the system easier
to navigate and to use maximizing the effectiveness of the other resources.
Security of the system provides the keeping of personal data in a form that can
easily accessed and analyzed in a consistent way.
Our work useful for easy user interface. We will provide more ease for managing
the information online than manually documents. Our work is useful for saving
valuable time and reduces the huge paper work.
iv
Table of Contents
1. Introduction ......................................................................................... 1
1.1. Objective........................................................................................................................... 1
1.2. User of The System ........................................................................................................... 1
1.3. Benefits............................................................................................................................. 1
1.4. Scope ................................................................................................................................ 2
1.5. Module Descriptions ........................................................................................................ 3
1.5.1. Login Portal ............................................................................................................. 3
1.5.2. Admin or Dean ....................................................................................................... 3
1.5.3. HOD ......................................................................................................................... 3
1.5.4. Faculty ..................................................................................................................... 3
1.5.5. Students .................................................................................................................. 3
v
3.1.4. 2nd Level User’s DFD........................................................................................... 15
6. Testing ................................................................................................ 27
6.1. Software Testing Strategies ............................................................................................ 27
6.1.1. Unit Testing ........................................................................................................... 27
6.1.2. Integration Testing ............................................................................................... 28
6.1.3. Validation Testing ................................................................................................ 28
6.1.4. System Testing..................................................................................................... 28
vi
8. Conclusion ........................................................................................ 32
9. Bibliography ...................................................................................... 34
vii
1. Introduction
A University Online System is software which is helpful for Students as well
as the school authorities. In the current system all the activities are done
manually. It is very time consuming and costly. Our University Online System
deals with the various activities related to the Students. In the Software we can
register as a user and user has four types, Student, Faculty, HOD, Admin or
Dean. Admin has the power to add or modify HOD. HOD has the power to add
or modify Faculty. Faculty has the power to add or modify Students, upload
Manage Attendance, Test Marks, etc. A student can register as user and can
add edit own profile. Faculty, HOD, Admin/Dean can see test marks,
attendance, Student application, etc.
1.1. Objective
a) Dean or Admin
b) HOD
c) Faculty
d) Student
1.3. Benefits
a) The main benefits of university online system a user can get all information
related to his or her department, either the information is related to his HOD,
Faculty, and Students and also get notice information without wasting time
just only using this System.
1
MySQL. Both PHP and MySQL are compatible with an Apache server
which is also free to license.
c) Using this system student does not have the problem to wait for the
attendance percentage list they can see they attendance whenever they
want to see and can calculated their percentage own.
d) The system make work easier for everyone whether HOD, Faculty and
Students because HOD also don’t need to wait for the attendance report
and marks report, HOD can see everything online.
e) This system also show notice online with sender and receiver information.
We can say that this system can save time resource and also update
information consistence with security.
g) It's easy to work on University Online System software on your first login
without any instructions all you need is the basic knowledge of working a
computer.
1.4. Scope
b) University online system can be used by the user who want to maintain their
whole department work online without wasting time and not interested to do
paper work which is sometime become very difficult to maintain.
2
c) It provides a friendly user interaction which proves to be better when
compared to the existing system.
In university online system we can divide project in sub parts called modules.
1.5.3. HOD
1.5.4. Faculty
1.5.5. Students
3
2. Requirement Analysis
2.1. Feasibility Study
Feasibility study is conducted once the problem is clearly understood. Feasibility
study is a high-level capsule version of the entire analysis and design process. The
objective is to determine quickly at a minimum expense how to solve a problem.
The purpose of feasibility is not to solve the problem but to determine if the problem
is worth solving.
The system has been tested for feasibility in the following points.
a) Operation feasibility
b) Technical feasibility
c) Economic feasibility
A system that can be developed technically and that will be used if installed must
still be a good investment for system. Study involves seeing whether it is feasible
4
to do the changes in the system or build a new one, as per the outcome of
preliminary investigation. The algorithm efficiency will improve by the proposed
project. Organization will also complete their task timely because they find
response for University Online System. Since it is holds the Technical feasibility,
Economical feasibility, and operational feasibility so proposed project is feasible.
2.3.1. PHP
PHP is a general-purpose scripting language that is especially suited to server-
side web development where PHP generally runs on a web server. PHP code is
embedded into the HTML source document. Any PHP code in a requested file is
executed by the PHP runtime, usually to create dynamic web page content. It can
also be used for command-line scripting and client-side GUI applications. PHP can
be deployed on many web servers and operating system and can be used with
many Relational Database Management Systems (RDBMS). It is available free of
charge, and the PHP Group provides the complete source code for users to build,
customize and extend for their own use.
5
2.3.2. MySQL
MySQL is a Relational Database Management System (RDBMS) that runs as a
server providing multi-user access to a number of databases. MySQL is a popular
choice of database for use in web applications and is an open source product. The
process of setting up a MySQL database varies from host to host; however, we will
end up with a database name, a user name and a password. Before using our
database, we must create a table. A table is a section of the database for storing
related information. In a table we will set up the different fields which will be used
in that table. Creating a table in phpMyAdmin is simple, we just type the name,
select the number of fields and click the ‘go’ button. We will then be taken to a
setup screen where you must create the fields for the database. Another way of
creating databases and tables in phpMyAdmin is by executing simple SQL
statements. We have used this method in order to create our database and tables.
2.3.3. HTML
HTML stands for Hypertext Markup Language, and it is the most widely used
language to write Web Pages.
a) Hypertext refers to the way in which Web pages (HTML documents) are
linked together. Thus, the link available on a webpage are called Hypertext.
b) As its name suggests, HTML is a Markup Language which means you use
HTML to simply "markup" a text document with tags that tell a Web browser
how to structure it to display.
2.3.4. CSS
2.3.5. APACHE
The Apache HTTP Server is a web server software notable for playing a key role
in the initial growth of the World Wide Web. In 2009 it became the first web server
6
software to surpass the 100 million web site milestone. Apache is developed and
maintained by an open community of developers under the auspices of the
Apache Software Foundation. Since April 1996 Apache has been the most
popular HTTP server software in use.
As of November 2010 Apache, served over 59.36% of all websites and over
66.56% of the first one million busiest websites.
2.3.6. XAMPP
XAMPP is a small and light Apache distribution containing the most common web
development technologies in a single package. Its contents, small size, and
portability make it the ideal tool for developer, developing and testing applications
in PHP and MySQL. XAMPP is available as a free.
7
correctly, first start the Apache HTTP Server by navigating to the XAMPP directory
and clicking on the apache_start.bat batch file. Next, we will test if the server is
running correctly by opening an internet browser and typing http://localhost/ into
the
address bar. If configured correctly, we will be presented with a screen similar to
that of the one below.
8
3. Process Design Methodology
Design is the first step in the development phase for any techniques and
techniques and principles for the purpose of defining a device, a process or
system in sufficient to permit its physical realization. Once the software
requirements have been analyzed and specified the software design involves
three technical activates- design, coding, implementation and testing that are
required to build and verify the software. Design activities are of main
importance in this phase, because in this activity, decision ultimately affecting the
success of the software implementation and its ease of maintenance are made.
These decisions have the final bearing upon reliability and maintainability of the
system. Design is the only way to accurately translate the customer’s
requirements into finished software or a system. Design the place where quality
is fostered in development. Software design is a process through which
requirements are translated into a representation of software.
Software design is conducted in two steps. Preliminary design is concerned with
the transformation of requirements into data.
9
3.2. Iterative Model
This model leads the software development process in iterations. It projects the
process of development in cyclic manner repeating every step after every cycle of
SDLC process.
The software is first developed on very small scale and all the steps are followed
which taken into consideration. Then, on every next iteration, more features and
modules are designed, coded, tested and added to the software. Every cycle
produces a software, which is complete in itself and has more features and
capabilities than that of the previous one.
After each iteration, the management team can do work on risk management and
prepare for the next iteration. Because a cycle includes small portion of whole
software process, it is easier to manage the development process but it consumes
more resources.
10
3.3. DFD - Data Flow Diagram
Dataflow diagrams represent the flow of the through a system. A DFD is
composed of:
The DFD is intended to represent information flow but it is not a flow chart and it
is not intended to indicate decision-making, flow of control, loops and other
procedural aspects of the system. DFD is a useful graphical tool and is applied at
the earlier stages of requirements analysis. It may be further refined at preliminary
design states and is used as mechanism for creating a top level structural design
for software.
a) The DFD drawn first at a preliminary level is further expanded into greater
details
b) The context diagram is decomposed and represented with multiple
bubbles.
c) Each of these bubbles may be decomposed further and documented as
more detailed DFD’s.
11
3.1.1. DFD of The System
This is DFD of the university online system, it is connected with four modules
Admin, HOD, Faculty and Students. By combining we make a complete University
Online System.
12
3.1.2. Zero Level User’s DFD
This is DFD of zero level of user’s where user send request for login then login
process check in to database that user is authenticated or not if authenticated then
database give replay that user is authenticated and user get login otherwise it will
move to forget password and user id process.
13
3.1.3. 1st Level User’s DFD
This is first level DFD of user where user’s after getting login they perform their
task like add HOD, add Faculty, add subject, take attendance give mark, assign
subject to Faculty, add department forward notice. View details of HOD and
Faculty. Database store add HOD data, add marks data, add Faculty data, take
attendance data, add subject data and also notice data.
14
3.1.4. 2nd Level User’s DFD
This is second level of DFD of user where user can remove department, remove
notice, remove HOD, remove FACULTY and can view marks, view subject, view
attendance. If user want to remove department then user have to be send
department code to database to remove department. If user want to remove
notice then user have to send notice id to database to remove notice. If user
want to view attendance then send data of student to display data of attendance.
15
4. Project Flow Diagram
Diagram that a given problem. Process operation are represented in these boxes,
and arrows connecting them represent flow of control.
16
There are following steps:
Step 1
Start the system and enter user id and password check for validation to database
that user is authenticated if yes then move to next step. If no then move to again
start program or system.
Step 2
Enter to dashboard of user’s (Admin, HOD, Faculty and Students) and check
their task according to their access id.
Step 3
After checking task users perform their task like Admin can add HOD, add
department, and send notice, view attendance, view marks, view Student and
Faculty details. So, every user performs their task like Admin.
Step 4
End of process or stop.
17
5. Project Description
This is snapshots of database with database name “project” having all table with
tables name as shown in snapshots.
This is authentication table to store password and user id with access id of the
users. This table have Sr no, user id, name, password. (Pass).
18
5.1.3. Table Structure of “profile”
This is profile table where user data is added with Aadhar no for first time when
user add by Admin or HOD.
This table of Attendance, where attendance store in database with the help of
subject code Faculty id, Students id, date, semester etc.
19
5.1.5. Table Structure of “department”
Department table it stores department name with department code and course.
This table of student semester store semester of student with the help of student
id, department code & course
20
5.2. Snapshots
This is Login portal where ADMIN, HOD, FACULTY & STUDENTS can login
and move to their dashboard. In this portal user enter USER ID AND
PASSWORD, after done SIGN IN it will be access by id which have given to the
Admin, HOD, Faculty and Students.
21
This is Admin dashboard where Admin can add HOD and see details, add
department, remove department, view attendance, marks, Faculty & Students
details and also forward notice to whom Admin want to forward.
This is HOD dashboard where HOD perform their task, like add FACULTY, view
attendance and marks, forward notice. Assign subject to FACULTY, with semester
wise. See student details.
22
This is Faculty dashboard where Faculty can perform their takes like take
attendance view attendance give marks and view marks. View Students details.
This is student portal where attendance report of particular logged like above fig.
23
5.2.7. View Details of Faculty
Students details view by Admin, HOD & Faculty, Students search by department,
semester or session.
24
5.2.9. Marks Report
25
5.2.11. Notice
26
6. Testing
27
6.1.2. Integration Testing
Here focus is on design and construction of the software architecture. Integration
testing is a systematic technique for constructing the program structure while at the
same time conducting tests to uncover errors associated with interfacing. The
objective is to take unit tested components and build a program structure that been
dictated by design.
28
7. Source Code
7.1. Authentication
<?php
session_start();
if(isset($_POST['login'])){
$id=$_SESSION['id']=$_POST['uid'];
$pass=$_POST['password'];
$aadh=mysqli_query($conn, "select aadhar, department from profile where id='$id'; ");
$row=mysqli_fetch_assoc($aadh);
if($pass==$aadhard){
$_SESSION["pid"]=$id;
header("Location:index.php?g=r"); }
else{
$check="select name, pass, access from auth where user_id = '$id'; ";
$result=mysqli_query($conn, $check);
$rows_num=mysqli_num_rows($result);
$row=mysqli_fetch_assoc($result);
$user=$row["name"];
$_SESSION['user']=$user;
$pass2=$row["pass"];
$valid_pass=my_simple_crypt( $pass2, 'd' );
$access=$row["access"];
if($rows_num==0){
header("Location:index.php?status=inc"); }
else{
if($pass==$valid_pass){
if($access==1){
header("Location:admin/");
$_SESSION["access"]=$access; }
elseif ($access==2) {
header("Location:hod/");
$_SESSION["access"]=$access; }
elseif ($access==3) {
header("Location:faculty/");
$_SESSION["access"]=$access; }
elseif ($access==4) {
header("Location:student/");
$_SESSION["access"]=$access; }
else{
header("Location:index.php?status=inc");
}}
else{
header("Location:index.php?status=warn");
} }}}
else{
header("Location:index.php?status=lg");
}
?>
29
7.2. Encryption
<?php
function my_simple_crypt( $string, $action = 'e' ) {
$output = false;
$enc_method = "AES-256-CBC";
$k = hash( 'sha256', $secret_key );
$i = substr( hash( 'sha256', $secret_iv ), 0, 32 );
7.4. Connection
<?php
$conn=mysqli_connect("localhost", "root", ".akd.dio@ihf’skflk@", "project");
if (!$conn){
die('Could not connect: ' . mysqli_error());
}
?>
30
7.5. Ajax Query
<?php
if(isset($_REQUEST['id'])){
// Set parameters
$param_term = $_REQUEST['id'] . '%';
// Close statement
mysqli_stmt_close($stmt);
}
?>
31
8. Conclusion
In University online system we have shown Admin, HOD, Faculty and Student
Dashboard with login portal and access by the id of every authorization. Notice
is used to forward notice as according to user need or want to send notice. By
this system, we can maintain all details of every department online in a secure
manner. Details of HOD, Faculty and Student details can be view by an
authorized user (Admin) of the system.
Previously users have to wait for information in order to get the documents
acknowledged by the concerned officials whereas the currently developed
system offers an efficient way to perform these operations. The users can
access the login portal online either from a computer or a smartphone and fill
the necessary information and submit it for further approval. This web
application provides us with ease of access, user-friendliness, and
transparency. On the other hand, from organizations viewpoint, it helps in
maintaining transparency, data consistency, data accessibility and easy
maintenance.
Implementation of the proposed system will reduce the workload of all those
involved as the data can be now managed with proper authentication and
authorizations instead of being hard copied and accessible to everyone. This
system will largely save the precious time of Admin, HOD, and Faculty instead
of explicitly signing every document; they just have to acknowledge entries
online with the click of a mouse.
All the technologies i.e. PHP, Apache, and MySQL used for current system
design are open source and hence freely available for download. PHP provides
a strong platform for creating the visual front-end of the web application and
PHP combined with HTML provides a very flexible development environment.
For the purpose of fulfilling Web Server requirements XAMPP was used, which
is again Open Source and is supported across multiple platforms. For constant
testing, analysis and execution needs, Firefox and Google Chrome web-
browsers were used. With a combination of all these technologies, we were
32
able to create a web application environment that is efficient and consistent
enough.
Online application of the whole system helps easy access to the system
anywhere. The physical presence of the user is not required. The time taken
for process completion is now largely reduced. After login and enter the
information either which is related to Student, Faculty, HOD, Admin, notice and
any department the database is automatically updated at the end of process
completion removing the hassle for department officials who had to enter the
data manually. As the database is managed through MySQL, data duplication
is eliminated and thereby reducing chances of error. Also, data can now be
easily retrieved, edited and printed whenever required. Authentication based
access proves to be more secure than the manual system. Database access
is authorized and cannot be viewed or edited by unauthorized personnel. So,
this automated and computerized system is safe, fast and user-friendly.
33
9. Bibliography
There had been a lot of influences while making this project “University Online
System”.
a) https://www.google.com
b) http://www.php.net
c) https://www.w3school
d) https://www.apachefriends.org
34