SE Lab Manual NEW
SE Lab Manual NEW
SE Lab Manual NEW
Your information will be stored as soon as you registered. As you can see registration
form a ga in separate id and password to see the registration form and also number of forms
updated this is to prevent from unauthorized access.
They can see the number of students registered for the partic ular paper. So that if the
registration does not satisfy the number then partic ular course is a bonded.
Fees structure for the course too is provided on the partic ular paper so that the student
may get the proper information about the fees too. Here database administrator keeps record
of every database and he updates the database whenever regis tration takes place. Administrator
provides id for students and staff to access the s ystem. Billing information if necessary is also
updated.
This is fast when compared to manua l interve ntion s ince separate form s hould be
provided to HOD, staff, administrator whic h takes more time for register ing and even if
student wants to vie w the record it takes more time where as the s ystem des igned does not need
any manua l intervention.
2. Problem state ment(Use case) analysis
2.1 Inde ntifie d use cases
i. Login
ii. Registration
iii. Course details
2.2 Ide ntifie d Actors
i. Students
ii. Staff
iii. Database
iv. Database Administrator
2. The actor can c hoose either to return to the beginning of the bas ic flow or cancel the
login at whic h point use ends.
1.3 Pre condit ions:
None
1.4 Post condit ions:
The use case was s uccessful and the actor is now logged into the s ystem. If not the
system state is unc hanged.
2. Registrat ion
2.1 Brie f de scription:
The student uses this use case for registration.
2.2 Flow of e ve nts:
2.2.1 Basic f low:
1. The actor asks for the registration form.
2. The registration form asks for the students details.
3. The actor enters the details .
4. The form control c hecks for the validation. It will c heck for the elective details( i.e.
whe never the e lective preferred by the student is available)
5. If the contents are valid the n the details will be stored in the database and confirmation
message will be displayed.
2.2.2 Alternative flow:
1. If the e lective preferred by the student is not available the appropriate message will be
dis played.
2. If the registration form ids complete the n the appropriate message is dis played.
3. The student will ha ve now registered the form aga in.
2.3 Pre Condit ion:
The adminis trator must be logged on to the s ystem.
2.4 Post Condit ion:
If the use case was s uccessful the student he/s he can come out of the use case of if
the registration was not s uccessful the n the student can apply for the registration aga in.
3. Course Details:
3.1 Brie f de scription:
This use case is starts when the user wis hed to see about the elective.
3.2 Flow of e ve nts:
3.2.1 Basic f low:
This use case starts when the user wis hes to see about the elective deta ils of the course.
The user will, se lect the c ourse.
1. The course will va lidate the request.
2. After va lidation the form control will displa y the request deta ils.
3.2.2 Alternative flow:
If the user starts for the deta ils of the elective that is not offered then the error
message will be displayed.
3.3 P re Condit ion:
The actor will need to have s uccessfully logged in.
3.4
else try.
SEQUENCE DIAGRAM
1. LOGIN
2. REGISTRATION
3. COURSE DETAILS
COLLABORATION DIAGRAM
1. LOGIN
2. REGISTRATION
3. COURSE DETAILS
CLASS DIAGRAM
1. LOGIN
2. REGISTRATION
3. COURSE DETAILS
COMPONENT DIAGRAM
10
SOURCE CODE
1. Login
Option Explicit
Public NewProperty As welcome_window
Public NewProperty2 As welcome_window
2. Registratio n
Option Explicit
Public NewProperty As control_form
Public _
_ As error_message
RESULT:
This project was carried out in a sequential manner to design and implement the
COURSE REGISTRATION SYSTEM. Thus the outcome of the project is efficient. The
COURSE REGISTRATION SYSTEM caters the varied requirements of the user to perform
various options.
11
Obje ctive s
The purpose of this doc ument is to define the requireme nts of mark ana lyze is s ystem.
This s ystem reduces manua l work to great extent. The mark a na lysis is carried out by the
system in an effic ient manner.
1.3
Scope
This s ystem is very essentia l for ever y educationa l institution as it reduces man power.
This s ystem can be used for all kinds of educationa l institutions to evaluate a nd ana lyze the
mar ks and ge nerate reports o f spec ified criter ia.
1.4
Proble m State me nt
For analyzing the marks obtained by students in an educationa l institution. We are tasked
to build up student mark ana lyzing s ystem.
This is done to replace the ma nua l entering and processing of marks whic h are error
prone and tedious. This s ys tem also ma inta ins information about student.
The s ystem will have a W indows based desktop interface to a llow the fac ulty to enter
marks obtained by the students, update them and generate var ious reports.
For sec urity reasons, the adminis trator and fac ulty only can update the marks and
other information. First the user needs to login to the s ystem for accessing it. The s ystem
will retain information on a ll the students and the institution. The s ystem ana lyses the marks
and generate the result repor ts. The marks a nd info r ma tio n a bo ut the students are stored
in a database and the s ys tem works with the database.
The faculty can e nter the marks and student information through a vis ua l environme nt.
The updated details are stored in the database. The s ystem generates the overa ll res ult by
ana lyzing the marks. Mark ana lyzer monitors this process. The applications r u n by the mark
ana lyzer.
The tr ia l for illega l updating would render the s ystem to be loc ked. One of the most
important features of the s ys tem is creating reports based on the give n criteria.
12
Login:
This use case describes how a user logs in to the mark ana lyzing s ystem.
ii Marks e ntry:
This use case allows faculty to enter the marks into the student table.
iii Mark analys is :
This use case describes ho w the s ystem ge nerates the overa ll res ult by
ana lyzing the marks.
iv Maintain s tude nt information:
This use case allows the administrator to ma inta in the student information and
it a lso inc ludes adding, c hanging a nd deletion of information about the students from
the s ys tem.
v Create res ult re port:
This use case allows the s ystem to ge nerate var ious reports based on the criter ia
specified by the user.
2.2 Ide nt if ie d Actors
i
Fac ulty:
The person is respons ible for enter ing and updating the marks obtained by the
students.
ii Adminis trator:
The person i s respons ible for ma intaining student information in the s ys tem.
iii Database :
The database that contains a ll the information about the student and the ir marks.
iv Mark analyze r:
The person is respons ible for monitor ing the mark ana lyzing process.
13
v Stude nt:
Details about the students are entered into the s ystem so that the student can
vie w the res ults and reports.
vi Place me nt Office r:
The placement officers can also view the reports based on the criter ia spec ified.
2.3 USE CASE DIAGRAM
14
If the use case was successful, the actor is now logged into the s ystem, if not, the
system status unc hanged.
2. Marks Ent ry
2.1 Brie f descript ion:
This use case allows the faculty to enter the marks into the student table.
2.2 Flow of e ve nts:
2.2.1 Basic f low:
This use case starts when the faculty wis hes to enter the marks obtained by the student in
different s ubjects.
1. The s ystem retrieves and displays the student table. If a student table does not exist, it
creates a new one. The names of the student and reg. no cant be c hanged by the fac ulty.
2. Once the faculty has entered marks, the s ys tem saves the table a nd adds it to the
database.
15
2.2.2
2.3
P re Condition:
The fac ulty must be logged on to the s ystem before the use case begins.
2.4
If the use case was s uccessful, the student mark is saved to s ys tem otherwise the s ystem
status is unc hanged.
3. Mark Ana lys is
3.1
B rie f de script io n:
This use case describes how the s ystem generates overa ll res ults by ana lyzing the marks,
Marks Ana lyzer monitors this process.
3.2
Flow of e ve nts:
16
Marks unavailable :
If in bas ic flow, the information about student marks could not be located, the
system displays error message and use case ends.
ii. Results alre ady calc ulate d:
If in basic flow, the result has already been calc ulated, the s ystem displays the
copy of the information a nd informs mark ana lyzer that marks have a lready been
processed. The mark ana lyzer acknowledges the message and the use case ends.
3.3 Pre Condit ion:
The mark ana lyzer must be logged on to the s ystem before this us e case begins.
3.4 Post Condit ion:
If the us e case was s uccessful, the processed mark information is saved to the s ystem
otherwise the s ystem status is unc hanged.
4. Maintain St ude nt Information
4.1 Brief de script ion:
This us e case allows the administrator to mainta in the student information.
inc ludes add ing, c ha nging and deleting information from the s ystem.
This
18
2.
3.
4.
5.
6.
7.
8.
SEQUENCE DIAGRAM
1. LOGIN
20
2. MARKS ENTRY
21
MARK ANALYSIS
22
23
4. CREATE A RESULT
24
25
COLLABORATION DIAGRAM
1.1 LOGIN
2. MARKS ENTRY
26
3. MARK ANALYSIS
27
28
5. CREATE RESULT/REPORTS
29
2. MARKS ENTRY
ACTIVITY DIAGRAM
1. UPDATING THE DATABASE
30
2. ADDING A STUDENT
31
3. DELETING A STUDENT
32
CLASS DIAGRAM
1. LOGIN
2. MARKS ENTRY
33
3. MARK ANALYSIS
34
COMPONENT DIAGRAM
35
SOURCE CODE
1) Login :
Option Explicit
Public NewProperty As login_form
Public Sub refer_to_database() End
Sub
Public Sub validate_user_name_and_pass_word() End
Sub
2) Ma rk entry:
Option Explicit
Implements main_form
Public Sub display_mark_entry_form() End
Sub
Public Sub faculty_enters_mark() End
Sub
Public Sub refer_from_data_base() End
Sub
3) Ma rk ana lysis:
Option Explicit
Public Sub process_the_marks() End
36
Sub
Public Sub calculatation_of_total_average() End
Sub
38
39
40
42
SEQUENCE DIAGRAM
1. VIEW STATUS
44
2. BOOKING TICKETS
45
3. PAYMENT MODE
46
4. LOGIN
47
5. CANCELLATION
6. REPRTS
48
COLLABORATION DIAGRAM
1. VIEW STATUS
2. BOOKING TICKETS
49
3. PAYMENT MODDE
4. LOGIN
50
5. CANCELLATION
5. REPORT
51
CLASS DIAGRAM
1. VIEW STATUS
2. BOOKING TICKETS
52
3. PAYMENT MODE
4. LOGIN
53
5. CANCELLATION
6. REPORT
54
ACTIVITY DIAGRAM
55
COMPONENT DIAGRAM
56
SOURCE CODE
1. View Status :
Option Explic it
Public NewProperty As error_form Public
NewProperty2
As
passenger
Public
Sub
enter_dataild()
End Sub
2. Booking Ticke ts :
Option Explic it
Private va lidate As Var ia nt
Public NewProperty As Database
Public NewProperty2 As Database
Public NewProperty3 As data_enter_form
Public Sub refer() End Sub
3. Payme nt Mode :
Option Explic it
Public NewProperty As passenger Public
NewProperty2 As bank s ys tem Public Sub valid()
End Sub
Public Sub enter_mode() End Sub
57
4. Login:
Option Explic it
Public NewProperty As data_enter_form
Public Sub inva lid() End Sub
5. Cance llation:
Option Explic it
Public NewProperty As db_c ontrolle r
Public Sub if_confirmed() End Sub
6. Re port:
Option Explic it
Public NewProperty As error_form Public
NewProperty2
As
passenger
Public
Sub
enter_dataild()
End Sub
RESULT:
This project was carried out in a sequential manner to design and implement the
ONLINE RESERVATION SYSTEM. Thus the outcome of the project is efficient. The
ONLINE RESERVATION SYSTEM caters the varied requirements of the user to perform
various options.
58
4. EXPERT SYSTEM
AIM:
To analyze, design and develop a project for Expert System using Rational Rose
software.
1. Proble m analysis and project planning
1.1 Int roduct ion
The expert medica l s ystem is deve loped to an a utomated mea ns for providing medica l
guidance to the users. This s ystem is user fr ie ndly and the required information, the
corresponding medicines jus t by providing the s ymptoms from whic h the patient is s uffer ing.
1.2 Obje ctive s
The ma in objective is to provide the users with an easy way to ga in information
about the medicines that can effective ly c ure the disease of the patie nts. The s ystem is very
befr iending when the doctors are not ava ilable for the patie nts.
1.3 Scope
The scope of the expert medica l s ys tem is to provide an e ffic ient service to the
patients especia lly the outpatients in a hospita l. This proves to be very he lpful whe n the doctor
may not ava ilable and also for reference to know the latest medicines ava ilable to c ure the
disease more quickly without any s ide effects. The pharmacis t can also vie w the lis t of
medic ines in the s ystem and order for the medic ines that is not available in the s tock.
1.4 Proble m State me nt
The user can make use of the expert medica l s ystem by se lecting the s ymptoms that is
noticed in the patients body from the c heck box give n in the form. This is the only input
given to s ys tem. The s ys tem later ana lys is the input and gives the medicines and the amount of
dosage according to the sever ity of the disease and the age of the patient.
In order to access the s ystem the user s hould login to the s ys tem. This is to a void the
trespassers from accessing the s ystem data a nd thus e nha nce the security of the s ystem. The
adminis trator is the only author ized person to c hange the data in the s ystem. The administrator
ma inta ins the details of the doctors or c ons ulta nts, the disease na me, the medicines to be
taken for treatment for those diseases, etc. The administrator also mainta ins the details of
the user who have created the ir accounts to access the s ys tem.
As the s ystem requires huge amount of information to be stored these data are
ma inta ined by the administrator in the database. Thus the s ys tem ga ins the flexib ility that is
obvious while us ing a database. The administrator is the only person to access and modify the
data in the database.
The user first needs to get his acc ount created to ava il the mselves of the fac ilities of
the s ystem. Thus the user gives all the required details to the s ystem like the na me, a ge, the
desired user na me a nd password etc. The s ystem then counter c hecks this information with the
59
database. If it is va lid then the record is created for the user in the database along with the
user name and password. Then during s ubsequent login to the s ystem the corresponding doma in
form or the ma in form is displayed. For example, if the user is a pharmac ist then his ma in form
is the lis t of medicines. If it is the administrator has logged in the ma in form is the lis t operation
he needs to perform through a controller in the database.
The s ystem is open to the users at any time. The data in the database is c hecked every
week on Saturday and the required operations like adding, deleting or updating of the data.
2. Proble m statement (Use case) analysis
2.1 Ide nt ifie d use cases
i Us e rs :
The users are the actors who can only view the medicines by selecting the s ymptoms.
ii Pharmacis t:
The pharmacist can only view the lis t of medic ines ava ilable in the database.
iii Doctors :
The doctors are actors who can view the medicines directly without enter ing the
symptoms .
iv Adminis trator:
The adminis trator is the only a uthor ized person to c hange the data in the database. The
adminis trator ma inta ins the information in the database.
2.2 Ide ntifie d Ac tors
i Login:
The use case is used by the doctors, users, pharmacis t and administrators to enter the
s ystem.
ii Vie w Me dicines :
The view medic ine use case is used to vie w a ll the medic ines ava ilable by the
doctors and pharmacis t and only the prescribed medicines for the s ymptoms given by the
user.
iii Maintain Information:
This use case is accessible only to the administrator that a llows him to add, update and
delete the required information directly from the database.
60
3. The administrator selects the required operation from the domain form.
4. Based on the operations selected the control is s hifted to that operation.
3.2.1.1 Add
3.2.1.1.1 Bas ic flow:
1. The s ystem reques t the information to be added into the database, for example, the
name, age, address, etc. of the doctors.
2. The administrator also provides the requested information to the s ystem.
3. The s ys tem va lidates this infor mation with the database and forms a record in the
corresponding tab le.
3.2.1.1.2 Alte rnative flow:
1. An error message occ urs when the user information given is not matc hing the format as
per the database.
2. The administrator gives the correct format or exists the s ystem.
3.2.1.2 De le te
3.2.1.2.1 Bas ic flow:
1. The s ystem requests the id of the doctor whose record is to be deleted.
2. The administrator a lso provides the information.
3. The s ystem va lidates this infor mation with the database and deletes the record in the
corresponding tab le.
3.2.1.2.2 Alte rnative flow:
1. The error message is s hown to the administrator if inva lid ID number is entered.
2. The administrator re- enters the information or exis ts the s ys tem.
3.2.1.3 Update
3.2.1.3.1 Bas ic flow:
1. The s ystem requires the information to be up dated into the database, for example, the
name, age, address, etc. of the doctors.
2. The administrator a lso provides the requested information.
3. The s ystem va lidates this infor mation with the database and updates the record in the
corresponding tab le.
3.2.1.3.2 Alte rnative flow:
1. An error message occ urs if an inva lid fie ld name is entered into the s ystem.
2. The administrator re- enters the information or exis ts the s ys tem.
3.2.2 Alternative flow:
1. An error message occurs when the information give n is not s ufficient.
2. The administrator re- enters the information or exis ts the s ystem.
63
64
65
66
67
COLLABORATION DIAGRAM
1. LOGIN
68
69
70
CLASS DIAGRAM
1. LOGIN
71
72
73
74
75
76
77
78
COMPONENT DIAGRAM
79
SOURCE CODE
1.Login
Option Explic it
Public NewProperty As login_c ontroller
2.Vie wing me dic ine by t he Use r
Option Explic it
Public NewProperty As s ymptom_controller_from_add_form_controller_
3.Administ rato r Do main Form
Option Explic it
Public NewProperty As admin_domain_c ontroller
3.1 Adding of info rmat ion to t he data base
Option Explic it
Public _
As error_ms g
RESULT:
This project was carried out in a sequential manner to design and implement the
EXPERT SYSTEM. Thus the outcome of the project is efficient. The EXPERT SYSTEM
caters the varied requirements of the user to perform various options.
80
5. REMOTE SYSTEM
AIM:
To analyze, design and develop a project for Remote System using Rational Rose
software.
1. Proble m analysis and project planning
1.1 Int roduct ion
Remote Computer monitor ing s ystem is designed to monitor the c lients in the network
with the he lp of databases. This s ystem works on the bas is of c lient-server interaction. For
security reasons c lients only areas perta ined to them.
1.2 Obje ctive s
To build a re mote c omputer monitoring s ys tem. This s ystem reta ins information about all
the c lie nts in the s ys tem network.
1.3 Scope
The institution needs a c lient server s ystem where the server controls the data needed to do
the required work.
1.4 Proble m State me nt
You are tasked to build a new re mote computer monitor ing s ys tem. The institution needs
a client-server s ystem where the server controls the data ( information, files and computer
programs) needed to do the required work.
The client server system computing is important since it centra lizes the control of data.
This new s ystem will ha ve a windows based desktop inter face where the server monitors
the c lients connected by network. For reasons of security, c lie nts can only access areas
pertained to them.
The server will reta in information of a ll clie nts in the s ys tem network. The existing
database supports the necessities of the c lients. The server will access, but not update
information stored in the c lient database.
The s ystem administrator ma inta ins client information. He performs the key role
of adding/ re moving/ updating c lients as we ll as running the administrative reports. Students
only do the work pertained to them.
Professor does his work and a lso c hecks the activities of the students over the
network. The HOD monitors the c lients through the network.
Fina lly, the mana gement c hecks the activities of students, professor and HODs.
81
82
in database.
84
85
SEQUENCE DIAGRAM
1. LOGIN
86
3. MONITOR SYSTEM
87
88
4.1 ADD
89
4.2 DELETE
90
4.3 UPDATE
91
COLLABORATION DIAGRAM
1. LOGIN
3. MONITOR STUDENTS
92
4.1 ADD
4.2 DELETE
93
4.3 UPDATE
94
CLASS DIAGRAM
1. LOGIN
95
3. MONITOR STUDENTS
96
4.1 ADD
4.2 DELETE
4.3 UPDATE
97
COMPONENT DIAGRAM
98
SOURCE CODE
1.Login
Option Explicit
Private name As Variant
Private password As Variant
Public Sub enter_name_and_password() End
Sub
99
4.1 Add
Option Explicit
Private details_to_be_updated As Variant
Public Sub get() End
Sub
4.2 Delete
Option Explicit Public Sub
validate() End Sub
4.3 Update
Option Explicit
Public NewProperty As Main_form
Public Sub display() End
Sub
RESULT:
This project was carried out in a sequential manner to design and implement the
REMOTE PROCEDURE CALL. Thus the outcome of the project is efficient. The REMOTE
PROCEDURE CALL caters the varied requirements of the user to perform various options.
100
6. ATM SYSTEM
AIM:
To analyze, design and develop project for Automated Teller Machine system using
Rational Rose software.
1. Proble m analysis and project planning
1.1 Int roduc tion
Banking is one of the common a nd day to day attr ibute of life. Nowadays it is tota lly
different from that existed a fe w years ago banking has become completely computer ized new
facilities s uc h as credit cards, debit cards & ATM has been introduced. ATM is automatic te ller
mac hine whic h is basically used to withdraw mone y from an account.
1.2 Obje ctive s
The objective of this software is similar to ATM software insta lled in ATM center. It
should first va lidate the pin in the ATM card. Then the type of transaction is e nquired and the
information from the customer is va lidated. If it is a withdrawa l the amount is asked. After the
money is delivered the transaction jus t made is updated in the database where the c ustomers
information is stored.
1.3 Scope
The scope of the project is to design a n ATM s ys tem that will he lp in complete ly
automatic banking this s oftware is go ing to be designed for withdra wa l and depos it of money
and register the transaction in the database where the c ustomers information is stored.
1.4 Problem State me nt
ATM is another type of banking where the most frequently type of transaction made is
withdrawal. A user may withdraw as muc h as many amount as he wa nts until his account holds a
sum greater than his withdra wa l a mount. ATM is complete ly automated and there is no necessity
of the ATM center being placed at the bank itse lf. It can be placed in the s hopping ma lls,
airports, railway stations etc.
This ATM s ystem can use any kind of interface. But it s hould be user fr iendly and not
confus ing. He lp manua ls s hould be provided in case any customer has problem working with the
software.
The s ystem will retain information on the entire c ustomer who has necessity r ights to
access the service. It will conta in the ba lance a mount in the account, rate of interest, any
specia l a llowance for tha t c us tomer and most of all pin number of the c ustomer. The ATM
system s hould be compatible with any kind of database s uc h as MS-ACCESS, DB2, ORACLE,
SQL, SERVER etc. the emphas is here is on c ons istenc y.
Some customer could have ava iled some specia l offers on his ATM cards. So this must
be taken care of and the appropriate data s hould be dealt with.
101
The ATM s hould provide easy access to the data for the c ustomer. It s hould also have a
highly sec ure interface so that one can take money one behalf of others. So the sec urity is one
of the main aspects in ATM.
2. Proble m statement (Use case)analysis
2.1 Ide nt if ie d use cases
i. Login:
Here the user enters the card and the inputs his password to enter into the ma in form. If the
password is inc orrect, the s ystems will dis play an error message.
ii. Transaction:
This is the important part of the ATM s ystem, where there are two types of transactionwithdrawa l a nd depos it. While withdrawing the user specifies the amount and may request for the
printed output also.
iii. Maintaining Custome r Informat ion:
Here the administrator plays an important role, whose work is to add c ustomer, delete
customer account, update customer account, etc.
2.2 Ide nt if ied Actors
i Administ rator:
Administrator plays an important role. He is the s ystem des igner. All the updating works is
done by him only like adding, dele ting c us tomer accounts.
ii Database :
All the tra nsaction works-withdra wa l and depos it are updated in the database.
iii Customer:
He is the externa l user the ATM s ystem for taking money and depos iting money a lso.
2.3 Use Case Diagram
102
103
104
105
2. MAINTENANCE
106
3. ADDING A CUSTOMER
107
4. DELETING CUSTOMER
5. UPDATING CUSTOMER
108
6. TRANSACTION
109
COLLABORATION DIAGRAM
1. LOGIN
2. MAINTENANCE
110
3. ADDING CUSTOMER
4. DELETING CUSTOMER
111
5. UPDATING CUSTOMER
6. TRANSACTION
112
CLASS DIAGRAM
1. LOGIN
113
2. TRANSACTION
COMPONENT DIAGRAM
114
SOURCE CODE
1. Login
Option Explicit
Public NewProperty As login_window Public
NewProperty2 As welcome_mes sage Public
NewProperty3 As customer
Public NewProperty4 As error_message
2. Tra nsactio n
Option Explicit
Public As error_message
Public NewProperty As customer Public
Sub initiate_transaction() End Sub
Public Sub provide_information()
End Sub
RESULT:
This project was carried out in a sequential manner to design and implement the ATM
SYSTEM. Thus the outcome of the project is efficient. The ATM system caters the varied
requirements of the user to perform various options.
115
116
117
118
120
4. Vie w stock
4.1 Brie f de script ion:
This use case describes how the c us tomer vie ws the stock ma intena nce
sys tem.
4.2 Flow of e ve nts:
4.2.1 Bas ic flow:
This us e case starts when the c ustomer wis hes to view the books ava ilable in the
sys tem.
1. The s ystem requests to customer to enter the details (author, name, publication, and
edition) of the book required.
2. Once the information is provided the s ystem dis pla ys the book information.
4.2.2 Alte rnative flow:
1. If in the bas ic flow the book specified is not found the s ystem displays an error
message.
2. The c us tomer can enter the different book detail or cancel the operation at whic h
point the use case ends.
4.3 Pre Condit ion:
None
4.4 Post Condition:
If the use case was s uccessful the c ustomer is provided with the information if not the
system state is unc hanged.
5. Vie w Report
5.1 Brie f de script ion:
This use case describes how the administrator vie ws the reports in the stock maintenance
sys tem.
5.2 Flow of e ve nts:
5.2.1 Bas ic flow:
This use case starts when the administrator wis hes to view the report generated after ta ll
the stock update.
1. The s ystem specifies the adminis trator to enter his id.
2. Once the administrator is provided, the s ystem retrieves and displays the report.
3. The administrator is provided; the s ystem retr ieves and displays the report.
122
123
2. VIEW REPORTS
124
3. VIEW STOCK
4. MAINTAIN STOCK
125
4.1 ADD
4.2 MODIFY
126
4.3 DELETE
5. PURCHASE ORDER
127
128
COLLABORATION DIAGRAM
1. LOGIN
129
2. VIEW REPORTS
3. VIEW STOCK
130
4. MAINTAIN STOCK
4.1 ADD
4.2 MODIFY
131
4.3 DELETE
5. PURCHASE ORDER
132
133
CLASS DIAGRAM
1. LOGIN
2. MAINTAIN BLOCKS
134
3. PURCHASE ORDER
135
COMPONENT DIAGRAM
136
SOURCE CODE
1.Login
Option Explic it
Public NewProperty As Welcome screen Public
NewProperty2 As Error message Public Sub login()
End Sub
2.Maintain Books
Option Explic it
Private book_information As Var iant Public
NewProperty As Update books Public
NewProperty2 As Delete books Public Sub
edition()
End Sub
Public Sub author_name() End Sub
Public Sub publication() End Sub
3.Purc hase Orde rs
Option Explic it
Private assign_order As Variant
Public NewProperty As Change purc hase order
Public Sub name_of_the_book() End Sub
Public Sub quantities() End Sub
Public Sub edition() End Sub
4.Vie w stock
137
Option Explic it
Private books _availab le As Var ia nt Public
NewProperty As view stock Public
NewProperty2 As report Public Sub
book_required()
End Sub
Public Sub book_spec ification() End Sub
Public Sub displays()
End Sub
RESULT:
This project was carried out in a sequential manner to design and implement the STOCK
MAINTENANCE SYSTEM. Thus the outcome of the project is efficient. The STOCK
MAINTENANCE SYSTEM caters the varied requirements of the user to perform various
options.
138
8. QUIZ SYSTEM
AIM:
To analyze, design and develop project for online quiz system using Rational Rose
software.
1. Proble m analysis and project planning
1.1 Int roduc tion
Quizzing s ystems are generally used to test the knowledge of an ind ividua l person. But
persons in technica l arena s hould be well stuffed in both tec hnica l and non-technica l s ides. So
this s ys tem is bas ically used to test the profess ionals.
1.2 Obje ctive s
The ma in objective of this quizzing s ystem is to replace the existing hand wr itten s ystem
with a fully computer ized s ystem that would easily a nd exactly calc ulate the inte llectua l
capabilities of a person.
1.3 Scope
Ear lier hand wr itten test were conducted and it was tedious and time cons uming to correct
the papers. Even it had a greater probability towards errors. So the scope the s ystem is that it will
ease the trend s followed in c urrent quizzing s ystem.
1.4 Problem State me nt
The project requires an efficient quizzing s ys tem to access the students of third year IT
based on the skills in var ious s ubjects. It generates report of all the students who taken up the test
and stores it for future use. Access rights are allocated in following order.
Adminis trator->Professors/H.O.D->Students
The administrator is give n r ights only to add or delete student profiles. But has no rights
to access the quizzing information. Professors and lecturers are give n rights to access the question
ava ilable and if needed, make c hanges to them. They can also access the report database to view
the overa ll and individua l performance of the students and then take the necessary action. All the
reports and queries are at the ir dis posal.
Students are the end users of the s ystem. They attend the quizzing sess ion and the ir marks
are added to the database fina l reporting is done based on their performances. The student cannot
access any of the databases inc luding the questions, report or the profile database. Each student is
given a username a nd password to ens ure the sec urity.
The quizzing s ystem is bas ically objective and a ll the questions are related to the course
subject offered for that year. The sess ion is fixed for each student and the questions carry a time
limit within whic h the students are s upposed to ans wer the questions. Otherwise the question
lapses and no points are awarded for that question. The student has the ability to pass the question
and ans wer the ques tion later within the re ma ining time le ft.
139
The quiz program enables us to save time on assessment. It a lso provides instant res ults to
the users. The assessment provided by the s ystem is accurate and he lps the professors to dec ide
the further course of action. It is also very effic ient as there is no manua l interve ntion.
2. Problem state ment (Use case ) analys is
2.1 Ide nt if ie d use cases
i Login:
Login describes how the user logs into a quizzing s ystem.
ii Enter e xam:
Enter Exa m describes how a student enters into questioning part of quizzing s ystem.
iii Vie w re s ults:
View Res ult describes how a user views res ults after reporting.
iv Maintain que stions & ans wers:
This use case helps the professors/H.O.D to add, delete or c hange ques tions and answers
present in the database.
v Re porting:
This use case describes how the res ults are taken from questioning session.
2.2 Ide nt if ie d Actors
i St ude nt :
Student is the user who attends the quizzing session and ans wers them. Report database
are generated based on his performance.
ii Profe ssor (or) HOD:
These users access the questions database and c hange the questions and ans wers if found
necessary. They can also vie w the report database to view the performance of the student.
iii Administ rator:
The Administrator is the only user who has access to the user profile database. He also has
the rights to make c hanges if necessary.
iv Data base :
This actor stores the entire contents of the quizzing s ys tem including databases suc h as
report, questions and user profiles.
v Printer:
This actor prints the report database.
vi Time r:
This actor mainta ins the time dur ing the quizzing the quizzing session and intimates the
database to change the questions when the time e lapses.
140
141
142
143
144
145
SEQUENCE DIAGRAM
1. LOGIN
146
2. ENTER FORM
147
3. VIEW RESULTS
148
149
150
151
152
153
6. REPORTING
154
COLLABORATION DIAGRAM
1. LOGIN
2. ENTER FORM
155
3. VIEW RESULTS
156
157
158
6. REPORTING
159
2. UPDATE USER
160
CLASS DIAGRAM
1. LOGIN
2. ENTER EXAM
161
3. VIEW RESULTS
162
163
COMPONENT DIAGRAM
164
SOURCE CODE
1. Login
Option Explic it
Public NewProperty As main_form Pub lic
NewProperty2 As login_c intro ller Public Sub id
_pass word()
End Sub
Public Sub relogin() End
Sub
2. Ente r Exa m
Option Explic it
Public NewProperty As overa ll_performance Public
NewProperty2 As individua l_performanc e Public
NewProperty3 As deletion_form
Public NewProperty4 As add_question_form Public
NewProperty5 As modify_ques tions_form Public
NewProperty6 As new_user_add_form
Public NewProperty7 As delete_form
Public NewProperty8 As modification_form
Public Sub availing_options() End
Sub
165
a()
End Sub
Public Sub retriving_q_
a() End
Sub
Public Sub reenter() End
Sub
166
RESULT:
This project was carried out in a sequential manner to design and implement the
ONLINE QUIZ SYSTEM. Thus the outcome of the project is efficient. The ONLINE QUIZ
SYSTEM caters the varied requirements of the user to perform various options.
167