Escolar Documentos
Profissional Documentos
Cultura Documentos
ON
ONLINE EXAMINATION SYSTEM
BY
D.HARIKRISHNA (040-09-009)
M.HARISH KUMAR (040-09-011)
N.V.M.KARTHEEK (040-09-014)
G.MUKESH KUMAR (040-09-024)
CERTIFICATE
This is certify that Mr. __________________________ bearing Register No:
____________________ has successfully completed the Mini project work
for the case study
in
OBJECT ORIENTED SYSTEM DEVELOPMENT LAB in P.G course
of MASTER OF COMPUTER APPLICATIONS of Osmania university
for the 3rd year 1st semester for the year 2010-2011.
Signature of
Internal examiner
Date:
Signature of
HOD
Date:
Signature of
External Examiner
Date:
Index
Rational Rose An Introduction
Problem Statement for Online Examination System
Software Requirements Specification
RATIONAL ROSE-PURPOSE:
There are a number of reasons to use Rational Rose for your development work. Here
are just a few:
Model-driven development results in increased developer productivity.
Use-case and business-focused development results in improved software
quality.
Common standard language--the Unified Modeling Language (UML)
--results in improved team communication.
Reverse-engineering capabilities allow you to integrate with legacy OO
systems.
Models and code remain synchronized through the development cycle.
Rose Enterprise :
The Rose graphical user interface :The most common elements are:
Standard toolbar
Diagram toolbox
Browser
Diagram window
Documentation window
Specifications
These items are briefly discussed in subsequent slides. How, where, and why each
of these elements is used will become clearer as you progress through the tutorial.
Views:
Just as there are many views of a house under construction the floor
plan, the wiring diagram, the elevation plan, there are many views of a
software project under development.
The use-case view:The use-case view helps you to understand and use the system. This view looks
at how actors and use cases interact. The diagrams in this view are:
Use-case diagrams
Sequence diagrams
Collaboration diagrams
Activity diagrams
This view contains a Main diagram by default. Additional diagrams can be added
throughout the analysis and design process
The logical view:The logical view addresses the functional requirements of the system. This view
looks at classes and their relationships. The diagrams in this view are:
Class diagrams
State chart diagrams
This view contains a Main diagram by default. Additional diagrams can be added
throughout the analysis and design process.
The component view:The component view addresses the software organization of the system. This
view contains information about the software, executable and library components for the
system. This view contains only component diagrams. The component view contains a
Main diagram by default. Additional diagrams can be added to this view throughout.
The deployment view:The deployment view shows the mapping of processes to hardware. This type of
diagram is most useful in a distributed architecture environment where you might have
applications and servers at different locations. This view contains only one diagram the
deployment diagram.
Diagrams :
Use-case diagrams:
Class diagrams:
Sequence diagrams:
Collaboration diagrams:
Activity diagrams
Component diagrams:
You can use state chart diagrams to model the dynamic behavior of
individual classes or objects.
State chart diagrams show the sequences of states that an object goes
through, the events that cause a transition from one state or activity to
another and the actions that result from a state or activity change.
A state chart diagram is typically used to model the discrete stages of an
objects lifetime, whereas an activity diagram is better suited to model the
sequence of activities in a process.
PROBLEM STATEMENT:-
The problem is to take online exam in an efficient manner and no time wasting for
checking the paper. This will not only saves time but also gives fast results, for students
they give question papers set according to their choice and there is no need of using extra
things like paper, pen and etc.
This project assesses students by conducting online objective tests. The tests would be
highly customizable. This project will enable educational institutes to conduct test and
have automated checking of answers based on the response by the candidates.
The project allows faculties to create their own tests. It would enable educational
institutes to perform tests. It asks faculty to create his/her set of questions. Faculty then
creates groups and adds related students into the groups.
Further the tests are associated with specific groups so that only associated students can
appear for the test. The result of the response would be available to the faculty of the
question set. Further the result would also be mailed to the student.
Online examination will reduce the hectic job of assessing the answers given by the
candidates.
Can generate various reports almost instantly when and where required.
1.2 Scope:This project would be very useful for educational institutes where regular
evaluation of students is required. Further it can also be useful for anyone who
requires feedback based on objective type responses.
1.3 Definitions, Acronyms:The sub-section provides the definitions of all terms, acronyms, and abbreviations
used in this document to understand the SRS properly.
Sr.
No.
Terms/Acronyms
Description
Student
Faculty
2. Functional or Specific Requirements:Required software is for conducting on-line `objective type examination and
providing immediate results. The system should satisfy the following requirements:
Administrator Aspect
Faculty Aspect
Creating a test
Student Aspect:
Requesting registration
Changing password.
Analysis
Mailing
Invitations for the appearance for the new test will be mailed.
Non-Functional Requirements
System should be able handle multiple users
Database updating should follow transaction processing to avoid data
inconsistency.
4. Security:-
Password will not be mailed to the user in case user forgets password, instead
either temporary password or a password reset link will be sent.
Reliability:-
Quiz creator may allow the specific test to be available only at certain time
like scheduled examination.
The test may be time limited so the candidates appearing will have limited
time to answer the test.
Portability:-
The web application will be built using PHP which has support to run on any
platform provided the required compilers are available.
For database either XML or MySQL would be used, that too has extensive
support over many popular architectures and operating systems.
Constraints:
Portability would be limited to the support provided by the respective application
vendor on various architectures and operating environments.
Performance:-
The system would be used by multiple users at a time and may grow as time
passes; the system would need to implement multithreading to achieve acceptable
performance. Further a database connection pool may also be required for
assigning faster database connection.
Software
Rational Rose software
Hardware
Server
1 GB of RAM
Client
UML DIAGRAMS
Add faculties
Faculty
Administrator
Login
User Profile
Student Registration
Student
Manage Test
Result Generation
Log out
System
ACTIVITY DIAGRAMS
Login Activity Diagram:-
initial state
Enter user name and
password
valid login
Redirect to user
home page
final state
invalid login
initial state
login
Create new
test
Edit test
Select
existing test
Add question
Add choices
Set correct
answer
default
time for
answering
questi...
Set test
options
Allow practice
tests
Select groups
default
practice
mode:off
STUDENT REGISTRATION:-
RecieveMailI
nformation
EnterUserDe
tails
EnterStudent
NAme
Submit
EnterStudent
Password
login
ManageStudentGroups
list groups
list students
AddStudent
select a
student
Remove
Student
liststudents
Change
Group
finalState
changeGrou
p name
login
SelectTest
AnswerQues
tions
finalState
SelectTestM
ode
Initial State
if answer is wrong
if answer is correct
Deduct from
score
Add default
score
Score to be deducted
is the negative marking
ratio set while creating
test
Mail result
Final State
SWIM LANES:-
Student
Faculty
System
Receive
e-mail
Login 1
Register
manage student
groups
send mail to
student
Login
validation
Select
test
NO
YES
Redirect
user
Answer
Question
Total
Answered
Verify answer
and time
NO
Verification
YES
NO
Total
Marks
Generate
result
Receive
result
Send
Result
CLASS DIAGRAM:-
User
userid
userName
password
Name
Result
studentID
testId
marks
StudentResponse
getOperation()
setUserID()
getUserName()
setUserName()
getPassword()
setPassword()
login()
logout()
getStudId()
setStudId()
getTestId()
setTestId()
calculateMarks()
Mailer
sendInvitation(email)
sendResult()
studentID
questionID
choiceSelected
getStudentID()
setStudentID()
getQuestion()
setQuestion()
getChoiceSelected()
setChoiceSeleced()
CStudent
groupID
Group
groupID
grroupName
getGroupID()
setGroupID()
selectTest()
answerQuestions()
register()
getID()
setID()
getGroupName()
setGroupName()
CFaculty
prepareGroup()
addStudent()
prepareTest()
Test
testID
testName
timeperQuestion
timeperTest
allowPractice
questionID
qustion
choice
correctAnswer
gettestID()
settestID()
getTestName()
setTestName()
getTimeperQustion()
setTimeperQuestion()
getTimeperSet()
setTimeperSet()
getQuestionID()
setQustionID()
getQustion()
setQuestion()
getChoices()
setChoices()
getCorrectAnswer()
setCorrectAnswer()
TestQuestions
idle
composite state
Register
connecte
d
checkSumNOTOK
Processi
ng
login
checkSumOK
Active
selectTest
Recieved
waiting
Answerin
g
Finished
SEQUENCE DIAGRAM:-
Student
Faculty
System
1: login()
2: verify()
3: createGroup()
4: addStudent()
5: sendMauilInvitation()
6: createTest()
7: logout()
8: register()
9: login()
10: veryfyLoginInfo()
11: selectTest()
12: answerQuestion()
14: mailResult()
13: veryfyAnswers()
COLLABORATION DIAGRAM:-
f:faculty
2: createGroup()
s:student
5: createTest
7: register()
1: login()
3: addStudent()
8: login()
9: selectTest
4: sendMailInvitation
10: answerQuestion()
6: logout()
1...3 verifyLogin()
11: mailResult()
r:system
COMPONENT DIAGRAM:-
verify.exe
login.html
Home.html
index.html
student.d
b
test.html
check.ex
e
result.html
exam.db
DEPLOYMENT DIAGRAM:-
<<cpu>>
mainserver
<<cpu>>
dbserver
<<cpu>>
client terminal
GLOSSARY
Action: an executable atomic computation that results in a change in state of the system
or the return of a value.
Class: a description of a set of objects that share the same attributes operations,
relationships and semantics.
Class Diagram: a diagram that shows a set of classes, interfaces, collaborations and
their relationships; class diagrams address the static design view of a system; a diagram
shows a collection of declarative elements.
Collaboration: a society of roles and other elements that work together to provide
some cooperative behavior thats bigger than the sum of all its parts; the specification of
how an element, such as a use case or an operation, is realized by a set of classifiers and
associations playing specific roles and used in a specific way.
Component: a physical and replaceable part of a system that conforms to and provides
the realization of a set of interfaces.
Composite state: a state that consist of either concurrent sub states or disjoint sub
states.
Event: the specification of a significant occurrence that has a location in time and
space; in the context of state machine, an event is an occurrence of a stimulus that can
trigger a state transition.
Focus of control: a symbol on a sequence diagram that shows the period of time
during which an object is performing an action directly or through a subordinate
operation.
Interaction: a behavior that comprises a set of messages that are exchanged among a
set of objects with in a particular context to accomplish to a purpose.
Object lifeline: a line in a sequence diagram that represents the existence of an object
over a period of time.
State: a condition or a situation during the life of an object during which it satisfies
some conditions, perform some activity, or wait for some event.
State chart diagram: a diagram that shows a state machine; state chart diagrams
address the dynamic view of a system.
Use Case: a description of set of sequences of actions, including variants, that a system
performs that yields an observable result of value to an actor.
Use Case diagram: a diagram that shows a set of use cases and actors and their
relationships; use case diagrams address the static use case view of a system.
Use Case View: the view of systems architecture that encompasses the use cases that
describe the behavior of the system as seen by its end users, analysts, and testers.
View: a projection into a model which is seen from a given perspective or vantage point
and omits entities those are not relevant to this perspective.