Mini Project Report
Mini Project Report
USING PHP
A PROJECT REPORT
Submitted by
POOJA P (1612075)
RANCHANI S (1612082)
MIRRA K.B (1612063)
BACHELOR OF ENGINEERING
IN
NOV 2019
1
ANNA UNIVERSITY: CHENNAI 600 025
BONAFIDE CERTIFICATE
SIGNATURE SIGNATURE
Dr.V.GOMATHI Ms.R.RAJAKUMARI
HEAD OF THE DEPARTMENT SUPERVISOR
Associate Professor(Sr.Grade)
Computer science and engineering Computer science and engineering
National Engineering College National Engineering College
(An Autonomous Institution, Affiliated (An Autonomous Institution, Affiliated
To Anna University, Chennai) To Anna University, Chennai)
K.R.Nagar, Kovilpatti: 628 503 K.R.Nagar, Kovilpatti: 628 503
2
ABSTRACT
3
TABLE OF CONTENTS
PAGE
S.NO TOPIC
NUMBER
ABSTRACT 3
TABLE OF CONTENTS 4
1 CHAPTER I
INTRODUCTION 6
2 CHAPTER II
2.1 EXISTING SYSTEM 7
2.2 DISADVANTAGE 7
3 CHAPTER III
3.1 PROPOSED SYSTEM 8
3.2 FLOW CHART 9
3.3 BLOCK DIAGRAM 10
3.4 MODULE 11
3.4.1 LOGIN 11
3.4.2 ADMIN 11
3.4.3 PROFESSOR ID 11
3.4.4 CLASSROOM 11
3.4.5 COURSE 11
3.4.6 ALLOTMENT 12
3.4.7 PROFESSOR 12
12
3.4.8 GENERATE
4
PAGE
S.NO TOPIC
NUMBER
4.1 CHAPTER IV
4.1.1 SYSTEM REQUIREMENT 13
4.1.1 XAMMP 13
4.1.2 PHP 13
5 CHAPTER V
5.1 RESULT 14
6 CHAPTER VI
6.1 CONCLUSION 18
LIST OF FIGURE
PAGE
S.NO TOPIC
NUMBER
5.1 LOGIN 14
5.2 ADMIN 14
5.3 PROFESSOR ID 15
5.4 CLASSROOM 15
5.5 COURSE 16
5.6 ALLOTMENT 16
5.7 PROFESSOR 17
5.8 GENERATE 17
5
CHAPTER 1
1.1INTRODUCTION
The Time generation is the most Fundamental activity in any
Educational institution. It is also the most difficult and time-consuming
process. The basic aim of our project is to automate the timetable
generation process. Our aim is to design a user interactive program that
generates the timetable according to the given constraints. The program is
designed with special emphasis on the engineering college requirements.
The program can simply be extended to suit to the requirements of other
kinds of institutions also. Most colleges have a number of different courses
and each course has a number of subjects. Now there are limited faculties,
each faculty teaching more than one subjects. So now the time table needed
to schedule the faculty at provided time slots in such a way that their
timings do not overlap and the time table schedule makes best use of all
faculty subject demands. We use a genetic algorithm for this purpose. In
our Timetable Generation algorithm we propose to utilize a timetable
object. This object comprises of Classroom objects and the timetable for
every them likewise a fitness score for the timetable. Fitness score relates
to the quantity of crashes the timetable has regarding alternate calendars for
different classes. Classroom object comprises of week objects. Week
objects comprise of Days. Also Days comprises of Timeslots. Timeslot has
an address in which a subject, student gathering going to the address and
educator showing the subject is related also further on discussing the
imperatives, we have utilized composite configuration design, which make
it well extendable to include or uproot as numerous obligations. In every
obligation class the condition as determined in our inquiry is now checked
between two timetable objects. On the off chance that condition is fulfilled
i.e. there is a crash is available then the score is augmented by one
6
CHAPTER 2
2.1 EXISTING SYSTEM:
2.2 Disadvantages:
• Consideration is difficult
• Tough to handle
7
CHAPTER 3
A.Input Data
The input data module can be described by a type of data ,the data contains:
• Person: which describe the name of lecturer .
• Subject: which describe the name of the subjects belonging to desired year
and semester .
• Time interval: it’s a time slot with a starting time and duration
B. Constraints
1)Validity violation constraints: These are the constraints which are needed to
be followed:
• There are certain lecturers that may appear at the same time in more
than one class.
• The most trivial violation constraint is that a teacher must not clash in two
different tables of a time table.
• Fixed slots.
8
2) Hard constraints: Hard constraints are the one’s which needs to be fulfilled
necessarily.
2) Soft constraints: These are the constraints that are not that obvious but still
demanding. They are not to be really satisfied but the solutions are generally
considered good if large numbers of them are taken care.
9
3.3 Block diagram
10
3.4 Modules
Login
Admin
Professor id
Classroom
Course
Class
Professor
Generate
3.4.1 login
In login page it has teacher login and admin login .Both login are with
user name and password. [Refer : Fig 5.1]
3.4.2 Admin
In admin page it contains add staff,add subject,add classroom,add
allotment and generation field.[Refer:Fig 5.2]
3.4.3 Professor ID
The Professor class has an ID and the name of the professor. It also
contains a list of classes that a professor teaches.[Refer:Fig5.3]
3.4.4 Classroom
The Room class has an ID and the name of the classroom, as well as
the number of seats and information about equipment (computers).. IDs are
generated internally and automatically.[Refer:Fig5.4]
3.4.5 Course
11
3.4.6 Allotment
3.4.7 Professors
3.4.8 Generate
12
CHAPTER IV
4.1System Requirements:
Language : PHP
XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P)
and Perl (P). It is a simple, lightweight Apache distribution that makes it
extremely easy for developers to create a local web server for testing and
deployment purposes.
4.1.2 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.
13
Chapter V
Result :
Fig: 5.1[LOGIN]
Fig :5.2[Admin]
14
Fig : 5.3[Professor id]
Fig :5.4[Classroom]
15
Fig :5.5[course]
Fig :5.6[allotment]
16
Fig :5.7[professor]
Fig :5.8[generate]
17
CHAPTER VI
CONCLUSION
18
REFERENCES
[5]. David Abramson and J Abela. A parallel genetic algorithm for solving
the school timetabling problem. In 15 Australian Computer Science
Conference, 1992.
19
Regional Conferenceon Mathematics, Statistics and Applications. University
Sains Malaysia, Penang June 13-15, 2006.
20