Beruflich Dokumente
Kultur Dokumente
Chapter-1
INTRODUCTION
1.1 Purpose:
The purpose of the proposed system is to help the students to register the electives online . It also
helps the student to know the about their internals marks and attendance as and when required .It
will also help the
students to know the details about each elective being offered by the
department. The proposed system will minimize the burden of students of searching for
attendance and marks of each subject by performing those tasks in an efficient and simplified
way.
1.2 Scope:
This system has its scope with every student in the college as everyone of them needs to register
for the electives by knowing the details about the electives .The student wants to know about his
attendance and internals marks. This system provides advanced way to register electives and
stores details of the students who have registered and also maintain academic details of students.
This portal can be used by every student and lecture of the college making ease for them.
1.3 Motivation:
These days everything is stored in databases. But the departments of the college still make use of
traditional way of registering the electives by sending google forms to email ids of students. To
get the advantages of technology we are creating automated elective registration system which
helps students to know about marks and attendance of electives in an automated way. Also there
are many ways to maintain database in an effective and efficient manner.
2014-2015
1.4
Literature Survey:
In every college students of higher semester have to register for the electives whether they may
be global elective or departmental elective. The lecturers have to give orientation about each
elective the department is offering and also they discuss about the syllabus of the elective and
reference books, this is the traditional practice in most of the engineering colleges. Even our
college has this practice since the college was established. Every student has to register for the
electives each student has been given a list of electives in two categories and the students have to
choose one elective from each category. The student can register to elective by providing the usn.
The registration email will be sent to and every student by the hod. In case of global electives, if
the student wants to know about attendance or marks .the student has to go to that particular
department. The information pertaining to each and every student is recorded by the teaching
staff.
From the beginning of the college to till date, such elective registration is done in
traditional way by sending google forms. If a student wants to know about a particular elective, it
will not available to him,the student has to search for it. To overcome all these issues we can go
for developing a database management system for electives. The proposed system aims to
provide a new service known as Automated Elective Registration And Management System, so
that students can register electives and know attendance and marks through database which is
advanced.
2014-2015
2.2.1 Functionality
The two main user groups and access levels are:
Student (normal access level)
Staff (privileged access level)
Admin (privileged access level)
Therefore, the requirements could be efficiently analyzed depending on the user group and the
functionalities they should be allowed to perform.
2.2.1.1 Functionality:
The main user groups are:
Admin login
Faculty login
Students login
2014-2015
Functionality of Admin:
Automated Finalization.
Finalize Marks.
A student should register to opt an elective, username and password is given for every
student.
Submit assignments.
Finalize Marks.
Functionality of User
2014-2015
Each counsellor has his separate account to keep track of his mentees data separated by a
2014-2015
2.2.6 Interfaces
Two Types of interfaces are generally provided in this Project. Counsellors are authorized to
create, update and view student details and Student only to view the information.
2014-2015
2014-2015
2014-2015
For the server side programming and other technical aspects of the design
emphasis will be laid on such design concepts. The goal is to make the system easier to adapt,
enhance, test and use.
Some of the general constraints are:
Structuring
For guaranteeing reusability of data and its information for different views and layouts the
structuring of data and separation of content, layout, and structure should be supported in future.
2014-2015
MMMS
Request
Result
Web Server
Request
Request
Result
Result
Client 2
Client 1
[ Admin]
[Student]
End User 2
End User 1
2014-2015
10
3.3
1-learns
2- belons
3- register
4-has
5-marks
6-teaches
7-attendance
2014-2015
11
The User sends a request which is to be authenticated, which if allowed for that type of
user and if that kind of request exist is allowed and converted into a query.
If that requests is not authenticated a response to the GUI or user end is generated for eg
validations on fields.
Query hence is executed on the server side and a output is generated and displayed to the
user.
2014-2015
Fig:3.4.2 dataflow diagram level 1
12
2014-2015
13
2014-2015
14
2014-2015
15
2. DEPARTMENT TABLE
CREATE TABLE department (
department_id char(30) NOT NULL,
department_namevarchar(100) DEFAULT NULL,
PRIMARY KEY (`department_id`))
3. ELECTIVE TABLE
CREATE TABLE elective (
elective_idvarchar(30) NOT NULL,
elective_namevarchar(30) DEFAULT NULL,
creditint(5) DEFAULT NULL,
assign_titlevarchar(30) DEFAULT NULL,
`department_Id` varchar(30) NOT NULL DEFAULT '',
KEY `department_Id` (`department_Id`))
4. MARKS TABLE
CREATE TABLE marks (
`student_usn` varchar(30) NOT NULL DEFAULT '',
`elective_id` varchar(30) NOT NULL DEFAULT '',
`CIE_marks` int(5) DEFAULT NULL,
`type` varchar(5) DEFAULT NULL,
`A_marks` int(5) DEFAULT NULL,
PRIMARY KEY (`student_usn`,`elective_id`),
KEY `elective_id` (`elective_id`))
5. REGISTER TABLE
CREATE TABLE register (
`student_usn` varchar(30) NOT NULL DEFAULT '',
`elective_id` varchar(30) NOT NULL DEFAULT '',
PRIMARY KEY (`student_usn`,`elective_id`),
KEY `elective_id` (`elective_id`))
Dept of ISE, R.V.C.E.
2014-2015
16
6. STAFF TABLE
CREATE TABLE staff (
`staff_id` varchar(30) NOT NULL DEFAULT '',
`staff_name` varchar(30) DEFAULT NULL,
`staff_desig` varchar(30) DEFAULT NULL,
`department_id` varchar(30) NOT NULL DEFAULT '',
`email_id` varchar(30) DEFAULT NULL,
`password` varchar(30) DEFAULT NULL,
PRIMARY KEY (`staff_id`,`department_id`),
KEY `department_id` (`department_id`))
7. STUDENT TABLE
CREATE TABLE student (
`student_usn` varchar(30) NOT NULL DEFAULT '',
`first_name` char(30) DEFAULT NULL,
`middle_name` char(30) DEFAULT NULL,
`last_name` char(30) DEFAULT NULL,
`semester` int(2) DEFAULT NULL,
`department_id` char(30) NOT NULL DEFAULT '',
`mobile_no` varchar(20) DEFAULT NULL,
`email_id` varchar(30) DEFAULT NULL,
`password` varchar(30) DEFAULT NULL,
PRIMARY KEY (`student_usn`,`department_id`),
KEY `student_ibfk_1 (`department_id`))
8. TEACHES TABLE
CREATE TABLE `teaches (
`elective_id` varchar(30) NOT NULL,
`staff_id` varchar(30) NOT NULL DEFAULT '',
PRIMARY KEY (`elective_id`,`staff_id`),
KEY `staff_id` (`staff_id`))
9. LEARN TABLE
CREATE TABLE learn (
`elective_id` varchar(30) NOT NULL,
`student_usn` varchar(30) NOT NULL DEFAULT '',
KEY `student_usn` (`student_usn`),
KEY `staff_id` (`staff_id`) )
2014-2015
17
Participating
Entity 1
Student
Student
Student
Student
Staff
Staff
Staff
Relation
Participating
Entity 2
Registers
Elective
Marks
Elective
Attendance
Elective
Belongs
Department
Teaches
Student
Belongs_to
Department
Teaches
Elective
Table 4.3 Cardinality Ratios
2014-2015
Cardinality
Ratio
M:N
M:N
M:N
1:N
1:N
1:N
1:N
18
Chapter 5
IMPLEMENTATION
5.1 Selection of the platform
The platform selected for the project is windows which supports Microsoft SQL Server 2005 as it
is compatible with PHP in the front end, MYSQL in the back end and is supported by the
Microsoft SQL Server.
2014-2015
19
Run faster on the internet and easily integrate AJAX, Callback etc.
Easy to learn compared to many other scripting languages. It has a syntax that is easy to
parse and is actually rather human-friendly.
Pretty easy to access other web-based tools through PHP i.e. google maps, etc.
Lots of good source code out there to use and/or learn from, as well as many useful
libraries for working with PDFs, graphics, etc.
MySQL implements the following features, which some other RDBMS systems may not:
Multiple storage engines, allowing one to choose the one that is most effective for
each table in the application.
Commit grouping, gathering multiple transactions from multiple connections together to increase
the number of commits per second.
2014-2015
20
It is auto configured with Microsoft visual studio,so there is a ease of accessing database
and creating reports and views.
Microsoft provides a free software i.e, Microsoft SQL Express which is free licensed and
is better than any other SQL system in case we want to use with Microsoft Visual
Studio .The application is available for a wide variety of operating systems, including
Unix,GNU,FreeBSD,Linux,Solaris,
Novell
Netware,
Mac
OS
X,Microsoft
modules
include
mod_access,
mod_auth,
mod_digest,
and
PHP scripts can be either embedded in XHTML documents or can be stored in separate
files thar are referenced in XHTML documents.
This tells your server to parse the information between them as PHP.
PHP statements must be inside of PHP tags to be processed by the PHP interpreter.
Each PHP statement must end with a semi-colon, which tells the PHP interpreter that the
statement is complete.
PHP
whitespace.
2014-2015
21
These are literally hundreds of built-in PHP functions that to do everything returning the
current date and time on the server to pulling data out of database.
A variable name can only contain alpha-numeric characters and underscores(a-Z, 0-9, and
_ ).
A variable name should not contain spaces. If a variable name is more than one word, it
should be separted with underscore($my_string), or with capitalization($myString)
PHP variable names are case sensitive. That is the variable $count is different from
$Count.
2014-2015
22
Chapter 6
TESTING
Software Testing is the process used to help identify the correctness, completeness, security
and quality of the developed computer software. Testing is the process of technical investigation
and includes the process of executing a program or application with the intent of finding errors.
Test Strategies
Test strategy tells the test plan of the project. It also tells how to test and what to test. The testing
done in this project are Unit testing and Integration testing.
Pass / Fail Criteria: Changes made on the back end like recreation of tables should
affect the front end as well. If so ,the test is successful.
Assumptions and Constraints: Tables should be created and values have to be entered
at the back end before testing and entity integrity and referential integrity constraints
should be taken care
2014-2015
23
USERNAME=prateekmandi007@gmail.com,PASSWORD=isw
Upon mouse click on button.
Login Button Appears if login information is correct if not Invalid
2014-2015
24
1
System overall test
Front.php
Data entered through forms
Updated data displayed in generated reports
Updated data displayed in generated reports
Test succeeded
Chapter 7
RESULTS
7.1 Snapshots
Dept of ISE, R.V.C.E.
2014-2015
25
2014-2015
26
2014-2015
27
AERAM provides the facility of username and password for each student so that they can
easily view their information without taking help of administrator.
AERAM both the faculty and student to view thier required details.
AERAM provides faculty to create and update their students details efficiently.
2014-2015
28
CONCLUSION
The Automated Elective Registration and Management System focuses on reducing the human
efforts for registering the electives through google forms . Thus AERAM gives customized
results all the time. The AERAM is tested and re-tested to ensure its effectiveness and provide
error free functionality to end user. The AERAM hence assures saving of time in finding details
of marks and attendance in a appropriate way.
2014-2015
29
REFERENCES
[1] Elmasri and Navathe, Fundamentals of Database Systems, 5th edition, Addison-Wesley, 2007.
[2] Raghu Ramakrishnan and Johannes Gehrke, Database Management Systems, 3rd edition,
McGraw-Hill, 2003.
[3] Silberschatz, Korth and Sudharshan, Database System Concepts, 5th Edition, McGraw-Hill
2006.
[4] C.J.Date, A.Kannan, S.Swamynatham, A Introduction to Database Systems, 8th edition,
Pearson Education, 2006.
[5] Herbert Schildt, C# 3.0: The Complete Reference,Tata McGraw-Hill 2009.
2014-2015
30
LIST OF ACRONYMS
1
2014-2015
31
CODING
Coding For Login Page
<?php
ob_start();
$host="localhost"; // Host name
$username="root"; // Mysql username
$password=""; // Mysql password
$db_name="counsellor"; // Database name
$tbl_name="counsellor"; // Table name
// Connect to server and select databse.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
// Define $myusername and $mypassword
$myusername=$_POST['username'];
$mypassword=md5($_POST['password']);
if (!get_magic_quotes_gpc()) {
$_POST['password'] = addslashes($_POST['password']);
$_POST['username'] = addslashes($_POST['username']);
2014-2015
32
2014-2015
33
2014-2015
34
2014-2015
35
2014-2015
36
<label for="gender">Gender</label>
<input id="male" type="radio" name="gender" value="male"><font color="white">Male<BR>
<input id="female" type="radio" name="gender" value="female">Female
<div>
<label for="dob">Date of Birth</label>
<input name="dob" type="text" id="inputField"></input>
</div>
<label for="faname">Father's name</label>
<input name="faname" type="text" id="faname" required>
<label for="email">Email-id</label>
<input name="email" type="email" id="email" required>
<label for="mobile">Mobile no</label>
<input name="phone" type="text" id="mobile" required>
<label for="yoa">Year of Admission</label>
<input name="yoa" type="text" id="yoa" required>
<label for="noa">Nature of Admission</label>
<input name="noa" type="radio" value="CET">CET<BR>
<input name="noa" type="radio" value="COMED K">COMED K<BR>
<input name="noa" type="radio" id="MANAGEMENT">MANAGEMENT
</font>
<label for="rank">Rank</label>
<input name="rank" type="text" id="rank" required>
<fieldset>
<input type="submit" name="submit" onclick="return validateMyForm();" value="Submit"
id="submit">
</fieldset>
</form>
<div style="position:fixed; width:100%; height:20px; text-align:center;background-
2014-2015
37
STUDENT_SUBMIT.php
<?php
$host="localhost"; // Host name or server name
$username="root"; // Mysql username
$password=""; // Mysql password
$db_name="counsellor"; // Database name
$tbl_name="student"; // Table name
// Connect to server and select database.
2014-2015
38
2014-2015
39
Update:
<?php
2014-2015
40
2014-2015
41