Beruflich Dokumente
Kultur Dokumente
1. INTRODUCTION
The main purpose of STUDENT ACADS MANAGEMENT DRIVE is to
computerize the existing manual system which eliminates demerits in manual system. It
gives the up-to-date records of marks and attendance of a particular student. The whole
system should be computerized inorder to make the system flexible and efficient.The
application can be used in efficient recruitment in public and private sectors. The scope of
the project is limited.
The main objective of this is to computerize the existing manual system for
efficient and transparent use. Also the retrieval of information by the end user is to be
made easy and flexible. This is done by the use of efficient forms.
The proposed system is computerizing the existing manual system, to avoid the
conflicts in the manual system. It gives the up-to-date records of student marks .The
whole system should be computerized in order to make the system flexible and efficient.
By this proposed system, we can reduce the time complexity spent for editing and
viewing of their details.
ADVANTAGES:
SPEED: The high speed of computer operation will reduce the delays in the
manual system considerably.
FLEXIBILITY: The modifications are possible and are very easy comparable to
manual system.
2. REQUIREMENT SPECIFICATION
2.1 HARDWARE AND SOFTWARE REQUIREMENTS:
design and development. For this project we use the software requirements are as
follows:
1. WINDOWS Operating system
2. J2EE5.0 or higher
3. SERVLETS, JDBC
4. HTML for front-end
5. ORACLE10g for back-end
6. JDBC for connecting front-end and back-end
Client:
Processor
: Pentium Processor
RAM
: 1 GB (Min)
Hard Disk
: 80GB (Min)
Server:
Processor
: Pentium Processor
RAM
: 3 GB (Min)
Hard Disk
: 160GB (Min)
: SERVLETS
Back End
: ORACLE 10g
Web Server
: Apache tomcat
: WINDOWS XP
Acads Management Drive is a web application that provides the students the effective
way to get the required information.
For the corresponding faculty who would like to know the views posted by
various students the Students Acads Management Drive is a web application that
provides the better way to interact with the students.
For the administrator who is responsible for granting permissions to various users
of the system and to maintain the database ,the Students Acads Management Drive is a
web application that provides elegant GUI based forms.
Glossary:
Student
Staff
Student, staff and administrator i.e., who are using the system
Scope:
The student/staff of a particular department of a College or University can
make use of this system. The Administrator creates accounts i.e., registers each and every
user both students and staff and issues passwords to them. The Administrator is the only
person who manages user accounts and updates the marks and attendance of each and
every student in that department.
The user (student/staff) can log into the system using his user id and password
and can view the requested details such as marks and attendance. The user can also
interact with the other users through mailing.
6
The system requires a mechanism to authenticate the student, staff and the
Administrator.
Exclusions:
Assumptions:
The Admin should create accounts for the students and faculty using the
registration form.
The user should use only his id as his as user id.
The user can login into his account only after his registration is confirmed.
Updation of marks and attendance can be done only by administrator.
System Functions:
Sino. System Function
Description
Marks module
S1.10
S1.20
View marks
S1.30
Update marks
Attendance module
S2.10
S2.20
View attendance
S2.30
Update attendance
Mailing module
7
S3.10
Authenticate user (student/staff)
S3.20
Send mail
S3.30
Receive mail
Registration module
10
S4.10
11
S4.20
Student
Actor Id
ACT-01
Description
Main
Activities
Frequency of
Use
High
Work
Environment
Browser
Number of
Users
Any number
Actor Name
Staff
Actor Id
ACT-02
Description
Main Activities
Browser
Number of Users
Any number
Actor Name
Administrator
Actor Id
ACT-03
Description
Main Activities
Uses the system to setup initial data, define access control etc.
Frequency of Use
Medium
View marks
View attendance
Send mail
Receive mail
Update marks
Update attendance
Registration
View Marks
View Attendance
Student
Faculty
Send Mail
Recieve Mail
10
Update Marks
Administrator
Update Attendance
Registration
11
Marks List
Displayed
Request
for Attendance
Attendance List Displayed
12
13
UC3
Use Case ID
Update Marks
Actor(s)
Admin
Goal
Summary
The purpose of this use case is to update the marks of the students
Preconditions
Form is displayed
Main Flow
use case.
Post Conditions
Cross Reference
S1.10,S1.30
Assumptions
Business Rules
System Sequence
Adminstrator
diagram
System
UC4
Use Case ID
Update Attendance
Actor(s)
Admin
Goal
Summary
Preconditions
Form is displayed
Main Flow
UC5
Use Case ID
Send Mail
Actor(s)
Student/staff
Goal
Summary
Preconditions
Main Flow
case.
recipient.
Business Rules
System Sequence
Student/Faculty
diagram
System
Receive mail
Actor(s)
Student/staff
15
Goal
Summary
The purpose of this use case is to receive the mails sent by staff/student
Preconditions
none
Main Flow
case.
2. User selects the mail 2.1 The system displays the content
to be viewed.
16
2. User selects the mails 2.1 The selected mails are deleted
to be deleted and then
by the system.
submits.
2.2 The user is returned to the
main flow.
Post
none
Conditions
Cross
S3.10, S3.30
Reference
Assumptions
Student/Faculty
System
17
UC7
Use Case ID
Registration
Actor(s)
Administrator
Goal
Summary
Preconditions
Form is displayed
Main Flow
case.
Business Rules
Administrator is authenticated.
System Sequence
Administrator
System
diagram
1: request for registration
2: registration is provided
FUNCTIONAL REQUIREMENTS:
18
System must provide a facility to add marks, attendance details of Student by the
Administrator.
Security Requirements
User Management and Authentication:
The application must be accessed by valid user.
The Updating of all the details are done by the Administrator.
The roll number should be the identification for the user.
The user id should be the same as the roll number of the user
Non-functional requirements
The application should support interruptions for regular web browsers tasks i.e.
work any web application Mozilla or Internet explorer (Supportability)
19
Flexible service based architecture will be highly desirable for future extension
(Supportability)
20
+1*
+1*
viewMarks()
viewAttendance()
sendMail()
viewMail()
Staff
name
id
password
sendMail()
viewMail()
+1*
+1*
+1
+1
Administrator
name
password
updateMarks()
updateAttendance()
Registration()
21
3. SYSTEM DESIGN
3.1 Data Dictionary
Data type
Size
VARCHAR
10
VARCHAR
50
Nulls (y/n)
N
N
Constraints
Primary key
-------
Nulls (y/n)
N
N
Y
Constraints
Primary key
--------------
Nulls (y/n)
N
N
N
Constraints
Primary key
--------------
Data type
Size
VARCHAR
10
VARCHAR
50
VARCHAR
30
Data type
Size
VARCHAR
50
VARCHAR
2
VARCHAR
30
22
Data type
Size
VARCHAR
50
Nulls (y/n)
N
Constraints
Primary key,
Foreignkey(USERNAME(studen
SEMID
SUBNAME
INT1
ON1
VARCHAR
VARCHAR
VARCHAR
VARCHAR
2
30
20
30
N
N
N
N
t registration table))
--------------------------
Data type
Size
VARCHAR
50
Nulls (y/n)
N
Constraints
Primary key,
Foreignkey(USERNAME(studen
SEMID
SUBNAME
INT2
ON2
VARCHAR
VARCHAR
VARCHAR
VARCHAR
2
30
20
30
N
N
N
N
t registration table))
--------------------------
Column name
REGNO
Data type
Size
VARCHAR
50
Nulls (y/n)
N
Constraints
Primary key,
Foreignkey(USERNAME(studen
SEMID
SUBNAME
EXT
VARCHAR
VARCHAR
VARCHAR
2
30
20
N
N
N
t registration table))
--------------------
3.1.7Attendance details:
Column name
REGNO
Data type
Size
VARCHAR
50
Nulls (y/n)
N
Constraints
Primary key,
Foreignkey(USERNAME(studen
SEMID
SUBNAME
CC(classes
VARCHAR
VARCHAR
VARCHAR
2
30
20
N
N
N
conducted)
CA(classes
VARCHAR
20
attended)
t registration table))
-------------------------
Nulls (y/n)
N
N
Constraints
Primary key
Primary key ,
Foreignkey(USERNAME(studen
24
MAILTO
VARCHAR
30
t registration table))
Primary key ,
Foreignkey(USERNAME(studen
SUBJECT
CC
BCC
MAIL
VARCHAR
VARCHAR
VARCHAR
VARCHAR
50
20
20
10
N
Y
Y
N
EXCHANGE
FOLDER
MAILDATE
STATUS
VARCHAR
VARCHAR
VARCHAR
20
10
10
N
N
N
t registration table))
------------------------------------------
anomalies than a table that is only in second normal form. Although the normal forms are
often defined (informally) in terms of the characteristics of tables, rigorous definitions of
the normal forms are concerned with the characteristics of mathematical constructs
known as relations. Whenever information is represented relationallythat is, roughly
speaking, as values within rows beneath fixed column headingsit makes sense to ask to
what extent the representation is normalized.
26
and one-to-many relationships among attributes. Sixth normal form (6NF) incorporates
considerations relevant to temporal databases.
A table must be guaranteed not to have any duplicate records; therefore it must
have at least one candidate key.
There
Note that all relations are in 1NF. The question of whether a given representation
is in 1NF is equivalent to the question of whether it is a relation.
27
Note
that if none of a 1NF table's candidate keys are composite i.e. every
candidate key consists of just one attribute then we can say immediately that
the table is in 2NF.
28
View Marks
View Attendance
Faculty
Student
Send Mail
Recieve Mail
Update Marks
Update Attendance
Administrator
Registration
29
Aggregation
An aggregation has a diamond end pointing to the part containing the whole. In
our diagram, Order has a collection of Order Details.
30
Student
rollno
name
password
+1*
+1*
viewMarks()
viewAttendance()
sendMail()
viewMail()
Staff
name
id
password
sendMail()
viewMail()
+1*
+1*
+1
+1
Administrator
name
password
updateMarks()
updateAttendance()
Registration()
4. SYSTEM IMPLEMENTATION
Object Oriented
Distributed
High Performance
Three methods are central to the life cycle of a servlet these are init ( ),
service(),destroy ().
If the container has a request for the servlet it calls the instances service( )
method.
EFFICIENT:
A Servlet initialization code is executed only the first time the web server loads it.
After the servlet is loaded , handling new requests is only a matter of calling a service
method. This is a much more efficient technique than loading a completely new
executable with every request.
PERSISTENT:
Servlet can maintain state between requests. When a servlet is loaded, it
stays resident in memory while serving incoming request. Servlet can improve our
applications drastically.
33
PORTABLE:
Servlets are developed using java therefore they are portable. This enables
servlets to be moved to a new operating system without changing the source.
RESULT:
Because servlets are developed with access to the entire JDK, there are very
powerful and robust solutions. Java provides a very well-defined exception hierarchy for
error handling. It has a garbage collector to prevent problems with memory leaks.
EXTENSIBLE:
Another advantage servlets gain by being developed in an object-oriented
language like java is they can be extended and polymeric into new objects that better suit
our needs.
SECURE: Servlets run on the server side , inheriting the security provided by the web
server.
power of
35
such as select and create, from which we can arrange highly structured commands and
statements in order to access and manipulate data stored in relational database.
The standard set of SQL commands falls into four categories:
i. Data definition language (DDL): It is used for creating and altering
structure of the database
ii. Data manipulation language (DML): It is used for adding and
modifying data
iii. Data control language (DCL): It is used for controlling access to
the database.
iv. Query: It is used to extract information from the database.
4.1.2.4
ORACLE ENVIRONMENT:
Oracle is a modular system that consists of the oracle database and several
functional programs (oracle tools) to perform four major kinds of tasks.
Programming tools.
Connectivity tools.
36
4.2.SAMPLE CODE
LOGIN PAGE:
import java.sql.*;
import javax.servlet.http.*;
import javax.servlet.*;
import java.io.*;
import java.sql.*;
import java.lang.*;
import java.util.*;
import java.lang.String.*;
public class V extends HttpServlet{
public void processRequest(HttpServletRequest request, HttpServletResponse
response)throws ServletException,
IOException,SQLException,ClassNotFoundException {
response.setContentType("text/html");
PrintWriter pw = response.getWriter();
try{
String uname = request.getParameter("username");
String pass = request.getParameter("password");
37
processRequest(request,response);
}
catch(Exception e){}
}}
39
5. TESTCASES
5.1.1 Login form Login id and password:
Test case ID Input
Description
Expected result
OBS_TC01
Login Id blank
Password blank
and password
Pass/Fail
Pass
given by the
Student/staff/ad
min
OBS_TC02 Valid Login id
Password blank
Pass
and blank
Password given
by the
Student/staff/ad
min
Pass
and valid
Password are
given by the
Student/staff/ad
min
Password are
given by the
Student/staff/ad
min
Description
Expected result
OBS_TC01
A blank name
Blank name
Pass/Fail
41
Accepted
pass
6. SCREENS
Here the administrator enters the user name and password and logs into the
system if he provides the system with a valid user name and password
42
If the administrator doesnt enter the valid password this message will be printed
43
Fig.6.3.Firstpage of admin.
The administrator can perform the required operation by selecting one of the
options shown on the left side of the screen
44
The administrator issues usernames and passwords to the students and faculty
through this registration form
45
The administrator selects the year, semester and the type of the exam for entering
the marks details
46
Admin enters the marks details and can store them in the database by submitting
47
Fig.6.7.Response page
48
Here the student enters the user name and password and logs into the system if he
provides the system with a valid user name and password
49
The administrator can perform the required operation by selecting one of the
options shown on the left side of the screen
50
The student can select the required year and semester for which he is interested to
know the details
51
52
53
Fig.6.13.Mailing screen
Here the user can view either the received mails by selecting the inbox or can
send mail using the compose mail
54
The user can send the mail to any of other registered users
55
Fig.6.15.Inbox
56
Fig.6.16.Mailcontent
7. CONCLUSION
57
7.1. Conclusion:
The Application Student Acads Management Drive is designed to meet the
requirements of students of a department. It over comes the difficulties and risk involved
in manual maintenance. It is easy to maintain records of students details. As the
workload in any institution become more and more, manual maintenance will become
difficult. Student information could be maintained in student database. When the whole
system is computerized the information is effectively maintained. By using this project
we can also reduce the manpower and time.
8. BIBILOGRAPHY
58
8.2. Websites:
www.w3schools.com
www.google.com
59