You are on page 1of 133

CASE TOOLS LAB 0 0 3 100 1.

5
1. Prepare the following docuent! for two or three of the e"perient! li!ted #elow
and de$elop the !oftware engineering ethodolog%.
Program Analysis and Project Planning.
Thorough study of the problem Identify project scope, Objectives,
Infrastructure.
Softare re!uirement Analysis
"escribe the individual Phases # $odules of the project, Identify deliverables.
"ata $odeling
%se or& products "ata dictionary, %se diagrams and activity diagrams, build
and test lass diagrams, Se!uence diagrams and add interface to class diagrams.
Softare "evelopment and "ebugging
Softare Testing
Prepare test plan, perform validation testing, 'overage analysis, memory lea&s,
develop test case hierarchy, Site chec& and Site monitor.
S&''ESTE( L)ST O* APPL)CAT)O+S
(. Student $ar&s Analy)ing System
*. +ui) System
,. Online Tic&et -eservation System
.. Payroll System
/. 'ourse -egistration System
0. 12pert Systems
3. AT$ Systems
4. Stoc& $aintenance
5. -eal6Time Scheduler
(7. -emote Procedure 'all Implementation
L)ST O* E,PE-).E+TS
C/CLE 0 1
(. Student $ar& Analy)ing System
*. +ui) System
,. 'ourse -egistration System
.. 12pert System
C/CLE 0 1
(. Online Tic&et -eservation System
*. Payroll System
,. AT$ Systems
.. Stoc& $aintenance
/. -eal6Time Scheduler
E, +O2 ST&(E+T .A-3 A+AL/S)+' S/STE.
(ATE2
A).2
To implement the program for student mar& analy)ing system using $icrosoft
8isual 9asic 0.7 and $icrosoft Access.
P-OCE(&-E2
(. Select the Start6:Program6:$icrosoft 8isual Studio 0.76: $icrosoft 8isual 9asic
0.7
*. Select ;e6:Standard 1<1 and clic& open
,. "esign the =ogin form to chec& student>s Academic and Personal details
.. "esign the Academic form for displaying the student mar&
/. "esign the Personal form for displaying the student personal information
0. Type the coding for Academic and Personal to get the student information
3. Select the Start6: Program6:$icrosoft Access6:'reate ne database and enter
the field name , data type and description
4. ?o to 'ontrol panel 6:Administrative tools 6:"ata source @O"9'A 6:Add the
database $icrosoft Access "river @B.mdbA. select the source and clic& o&
&SECASE ()A'-A.
Administrator
Academic
Personal
Add new
Delete
Update
Database
Register number
Register number not found
)+TE-ACT)O+ ()A'-A.
A4 SE5&E+CE ()A'-A.
Database Admi ni strator
Regi ster number
If found it shows detail s(Academi c or Personal) or Not found
Sel ects Academic(update,add,del ete,bac)
shows detai ls as(updated,del eted,added)
Sel ects Personal(Update,bac)
shows detai ls (updated msg)
B4 COLLABO-AT)O+ ()A'-A.2
Administ
rator
Databas
e
!" #nter the register number
$" If data found specif%(academic or personal) else not found
&" Administrator enters Academic
'" Shows Academic details
(" Administrator enter personal
)" Shows personal details
*" data is(updated,deleted,added )
+" Displa%s (updated ,added,deleted)message
STATE .AC6)+E ()A'-A.
A4 ACT)7)T/ ()A'-A.C
S,AR,
Administrator
Academic Personal
Database
#ND
B4 STATE ()A'-A.C
S,AR,
Administrator enter the register
number
Database
It displa%s data
found or not found
#ND
S,AR,
Administrator enters
academic
Database Displa%s
Academic
#ND
S,AR,
Administrator
#nters
Personal
Database Displa%s
Personal
#ND
S,AR,
Administrator data(Update or
delete or add)
#nters
Academic
Database
Displa%s modified
message
#ND
S,AR,
Administrator Updates
personal
Database
Displa%s updated
message
#ND
CO()+'2
LO')+ *O-.2
ACA(E.)C2
Private Sub 'ommand(D'lic&@A
Eith Form,
.Adodc(.-ecordSource G HSelect B From -egister Ehere -eg;oGH I
Trim@Form(.Te2t(.Te2tA
.Adodc(.-efresh
If .Adodc(.-ecordset.1OF G True Then
$sg9o2 H;ot FoundH, vbInformation
1lse
Form,.Sho
1nd If
1nd Eith
1nd Sub
PE-SO+AL2
Private Sub 'ommand*D'lic&@A
Eith Form*
.Adodc(.-ecordSource G HSelect B From -egister Ehere -eg;oGH I
Trim@Form(.Te2t(.Te2tA
.Adodc(.-efresh
If .Adodc(.-ecordset.1OF G True Then
$sg9o2 H;ot FoundH, vbInformation
1lse
Form*.Sho
1nd If
1nd Eith
1nd Sub
Private Sub FormD%nload@'ancel As IntegerA
%nload $e
%nload Form*
%nload Form,
1nd Sub
PE-SO+AL *O-.2
BAC32
Private Sub 'ommand(D'lic&@A
Form*.Jide
Form(.Sho
1nd Sub
&P(ATE2
Private Sub 'ommand*D'lic&@A
Adodc(.-ecordset.%pdate
$sg9o2 H-1'O-" %P"AT1"H
1nd Sub
Private Sub FormD=oad@A
Adodc(.8isible G False
1nd Sub
ACA(E.)C *O-.2
BAC32
Private Sub 'ommand(D'lic&@A
Form,.Jide
Form(.Sho
1nd Sub
A(( +E82
Private Sub
'ommand*D'lic&@A
Adodc(.-ecordset.Add;e
Te2t(.SetFocus
1nd Sub
(ELETE2
Private Sub
'ommand,D'lic&@A
Adodc(.-ecordset."elete
$sg9o2 H-1'O-"
"1=1T1"H
1nd Sub
&P(ATE2
Private Sub 'ommand.D'lic&@A
Adodc(.-ecordset.%pdate
$sg9o2 H-1'O-" %P"AT1"H
1nd Sub
Private Sub FormD=oad@A
Adodc(.8isible G False
1nd Sub
*O-. (ES)'+2
LO')+ *O-.2
PE-SO+AL *O-.2
ACA(E.)C *O-.2
SEA-C6)+'2
ST&(E+T ACA(E.)C (ETA)LS2
ST&(E+T PE-SO+AL (ETA)LS2
ACA(E.)C .O(&LES2
A(( +E82
&P(AT)O+2
(ELET)O+2
PE-SO+AL .O(&LE2
&P(AT)O+2

&+A7A)LABLE -ECO-(2

-ES&LT2
Thus the softare for student mar& analy)ing system as developed
successfully.
E, +O2 5&)9 S/STE.
(ATE2
A).2
To develop a softare for !ui) system by using softare engineering methodology.
(ESC-)PT)O+2
1. &SE CASE ()A'-A.2
Kudge as&s the !uestions to the participants.
Participant ansers the !uestion.
Kudge provides mar& if it is correct and announce the result.
1. )+TE-ACT)O+ ()A'-A.2
A4 SE5&E+CE ()A'-A.2
Participant introduces himself to judge and the judge as&s the
!uestions.
Participant ansers the !uestion if it is correct mar& is updated in
the database.
Finally announces the result.
B4 COLLABO-AT)O+ ()A'-A.2
Participant introduces himself to judge and judge as&s !uestions.
The Participant announces the anser for !uestion if it is correct
add mar&.
%pdate mar& in the database repeat for n !uestion.
?o to ne2t round if he is !ualified.
3. ).PLE.E+TAT)O+ ()A'-A.2
A4 ACT)7)T/ ()A'-A.2
Kudge !uery the Participants and he anser for !uestions.
If the anser is correct update the results and reach the end of the
current round.
If !ualified announces the final report after LnM rounds.
Otherise eliminate the Participants.
B4 STA-T C6A-T ()A'-A.2
The state diagram provides information about each states !uerying,
ansering, updating and verification.
(ATABASE (ESC-)PT)O+2
Analy)e the project and design the login form.
'reate a variable for total score, time decreasing.
Select the !uestions and chec& the anser is correct if it is correct clic& the
ne2t command button.
Then the timer decrements the time.
Finally calculate the score.
&SECASE ()A'-A.
-uer% the participant
Answer the .uestion
Pro/ide mar if correct
Announce the results
Participant(s)
0udge
SE5&E+CE ()A'-A.
PAR,I1IPAN,S 0UD2#
DA,A3AS#
Introduce himseif
-uer% the participant
Answering the .uestion
Add mar if answer is correct
Update mar and inform the 4udge
Inform the status of the participants
Announce the final results
Repeat for 5N5 -uestions
2o to ne6t round, if -ualified
COLLABO-AT)O+ ()A'-A.
PAR,I1IPAN,S 0UD2#
DA,A3AS#
)" Repeat for 5N5 -uestions
+" 2o to ne6t round, if -ualified
!" Introduce himseif
&" Answering the .uestion
$" -uer% the participant
*" Inform the status of the participants
7" Announce the final results
'" Add mar if answer is correct
(" Update mar and inform the 4udge
STATE ()A'-A.
-uer%ing
Put up -uestions 8
9ptions
1hec the
time
Not answered, pro/ide
clues with reduced points
Put up -uestions 8
9ptions
1hec the
time
Not answered, pro/ide
clues with reduced points
Answering and :erification
Answer the
.uestion
If answer is
correct
Add one point
Proceed to ne6t
.uestion
Answer the
.uestion
If answer is
correct
Add one point
Proceed to ne6t
.uestion
Update the Points
Update the
points
1alculate indi/idual
point(s) If .ualified
2o to ne6t round
8 start the .uer%
#liminate the
participants
Update the
points
1alculate indi/idual
point(s) If .ualified
2o to ne6t round
8 start the .uer%
;es
#liminate the
participants
No
<inal Result
Select top three
members
Announce the
final result
Select top three
members
Announce the
final result
;es
No
ACT)7)T/ ()A'-A.
Answer is
correct
#nd of current
round
-uer% the
participants
No
Answering
.uestion
Update the results
;es
No change
No
Announce the final
result
If .ualified
#liminate the
participants
#nd of rounds
;es
No
;es
No
;es
CO()+'
.ain.fr
Private Sub 'ommand(D'lic& @A
%nload $e
Form*.Sho
1nd Sub
Private Sub 'ommand*D'lic& @A
Form3.Sho
1nd Sub
Private Sub 'ommand,D'lic& @A
%nload $e
Form(*.Sho
1nd Sub
-ule1.fr
Private Sub 'ommand.D'lic& @A
%nload $e
Form,.Sho
1nd Sub
-ound11.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
If Option,.8alue G True Then
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
Shape(.Fill'olor G IJFF77I
1lse
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A 6 /
Shape(.Fill'olor G IJFFI
1nd If
"ata(.-ecordset.%pdate
Option(.1nabled G False
Option*.1nabled G False
Option,.1nabled G False
Option..1nabled G False
1nd Sub
Private Sub 'ommand*D'lic& @A
%nload $e
Form..Sho
1nd Sub
Private Sub FormD=oad@A
Option(.8alue G False
Option*.8alue G False
Option,.8alue G False
Option..8alue G False
1nd Sub
-ound11.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
If Option,.8alue G True Then
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
Shape(.Fill'olor G IJFF77I
1lse
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A 6 /
Shape(.Fill'olor G IJFFI
1nd If
"ata(.-ecordset.%pdate
Option(.1nabled G False
Option*.1nabled G False
Option,.1nabled G False
Option..1nabled G False
1nd Sub
Private Sub 'ommand*D'lic& @A
%nload $e
Form/.Sho
1nd Sub
Private Sub FormD=oad @A
Option(.8alue G False
Option*.8alue G False
Option,.8alue G False
Option..8alue G False
1nd Sub
-ound13.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
If Option*.8alue G True Then
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
Shape(.Fill'olor G IJFF77I
1lse
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A 6 /
Shape(.Fill'olor G IJFFI
1nd If
"ata(.-ecordset.%pdate
Option(.1nabled G False
Option*.1nabled G False
Option,.1nabled G False
Option..1nabled G False
1nd Sub
Private Sub 'ommand*D'lic& @A
%nload $e
Form0.Sho
1nd Sub
Private Sub FormD=oad @A
Option(.8alue G False
Option*.8alue G False
Option,.8alue G False
Option..8alue G False
1nd Sub
Score1.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G 7
"ata(.-ecordset.%pdate
%nload $e
Form(.Sho
1nd Sub
Private Sub 'ommand*D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G 7
"ata(.-ecordset.%pdate
%nload $e
1nd Sub
-ule1.fr
Private Sub 'ommand.D'lic& @A
%nload $e
Form4.Sho
1nd Sub
-ound11.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
If Option..8alue G True Then
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
Shape(.Fill'olor G IJFF77I
1lse
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A 6 /
Shape(.Fill'olor G IJFFI
1nd If
"ata(.-ecordset.%pdate
Option(.1nabled G False
Option*.1nabled G False
Option,.1nabled G False
Option..1nabled G False 1nd Sub
Private Sub 'ommand*D'lic& @A
%nload $e
Form5.Sho
1nd Sub
Private Sub FormD=oad @A
Option(.8alue G False
Option*.8alue G False
Option,.8alue G False
Option..8alue G False
1nd Sub
-ound11.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
If Option(.8alue G True Then
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
Shape(.Fill'olor G IJFF77I
1lse
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A 6 /
Shape(.Fill'olor G IJFFI
1nd If
"ata(.-ecordset.%pdate
Option(.1nabled G False
Option*.1nabled G False
Option,.1nabled G False
Option..1nabled G False
1nd Sub
Private Sub 'ommand*D'lic& @A
%nload $e
Form(7.Sho
1nd Sub
Private Sub FormD=oad @A
Option(.8alue G False
Option*.8alue G False
Option,.8alue G False
Option..8alue G False
1nd Sub
-ound13.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
If Option*.8alue G True Then
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
Shape(.Fill'olor G IJFF77I
1lse
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A 6 /
Shape(.Fill'olor G IJFFI
1nd If
"ata(.-ecordset.%pdate
Option(.1nabled G False
Option*.1nabled G False
Option,.1nabled G False
Option..1nabled G False
1nd Sub
Private Sub 'ommand*D'lic& @A
%nload $e
Form((.Sho
1nd Sub
Private Sub FormD=oad @A
Option(.8alue G False
Option*.8alue G False
Option,.8alue G False
Option..8alue G False
1nd Sub
Score1.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G 7
"ata(.-ecordset.%pdate
%nload $e
1nd Sub
Private Sub 'ommand*D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G 7
"ata(.-ecordset.%pdate
%nload $e
1nd Sub
-ule3.fr
Private Sub 'ommand.D'lic& @A
%nload $e
Form(,.Sho
1nd Sub
-ound3.fr
Option 12plicit
"im t As 8ariant
Private Sub FormD=oad @A
=abel(.'aption G ,7
Option(.8alue G False
Option*.8alue G False
Option,.8alue G False
Option..8alue G False
Option/.8alue G False
Option0.8alue G False
Option3.8alue G False
Option4.8alue G False
Option5.8alue G False
Option(7.8alue G False
Option((.8alue G False
Option(*.8alue G False
Option(,.8alue G False
Option(..8alue G False
Option(/.8alue G False
Option(0.8alue G False
1nd Sub
Private Sub Option(D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
"ata(.-ecordset.%pdate
1nd Sub
Private Sub Option((D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
"ata(.-ecordset.%pdate
1nd Sub
Private Sub Option(0D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
"ata(.-ecordset.%pdate
1nd Sub
Private Sub Option4D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G "ata(.-ecordset.Fields @7A N (7
"ata(.-ecordset.%pdate
1nd Sub
Private Sub Timer(DTimer @A
If t G 7 Then
=abel(.'aption G **
Frame(.1nabled G False
Option(.1nabled G False
Option*.1nabled G False
Option,.1nabled G False
Option..1nabled G False
Option/.8alue G False
Option0.8alue G False
Option3.8alue G False
Option4.8alue G False
=abel(.'aption G (4
t G t N (
1lse If t G ( Then
Frame*.1nabled G False
Option/.1nabled G False
Option0.1nabled G False
Option3.1nabled G False
Option4.1nabled G False
Option5.8alue G False
Option(7.8alue G False
Option((.8alue G False
Option(*.8alue G False
=abel(.'aption G (.
t G t N (
1lse If t G * Then
Frame,.1nabled G False
Option5.1nabled G False
Option(7.1nabled G False
Option((.1nabled G False
Option(*.1nabled G False
Option(,.8alue G False
Option(..8alue G False
Option(/.8alue G False
Option(0.8alue G False
=abel(.'aption G 4
t G t N (
1lse If t G , Then
Frame..1nabled G False
Option(,.1nabled G False
Option(..1nabled G False
Option(/.1nabled G False
Option(0.1nabled G False
Timer(.1nabled G False
%nload $e
Form(..Sho
1nd If
1nd Sub
Score3.fr
Private Sub 'ommand(D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G 7
"ata(.-ecordset.%pdate
%nload $e
Form(.Sho
1nd Sub
Private Sub 'ommand*D'lic& @A
"ata(.-ecordset.1dit
"ata(.-ecordset.Fields @7A G 7
"ata(.-ecordset.%pdate
%nload $e
1nd Sub
*O-. (ES)'+
.ain.fr
-ule1.fr
-ound11.fr
-ound11.fr
-ound13.fr
Score1.fr
-ule1.fr
-ound11.fr
-ound11.fr
-ound13.fr
Score1.fr
-ule3.fr
-ound3.fr
Score3.fr
(ATABASE 8)+(O8
-ES&LT2
Thus the softare has been developed for !ui) system successfully.
E, +O2 O+L)+E -ESE-7AT)O+ S/STE.
(ATE
A).2
To develop a softare for online reservation by using softare engineering
methodology.
(ESC-)PT)O+2
1. &SE CASE ()A'-A.2
Analyse the given project and find out all the information.
"ra the use case diagram by defining the attributes and methods.
Sho the relationships by arros.
1. )+TE-ACT)O+ ()A'-A.2
A4 SE5&E+CE ()A'-A.2
This diagram shos ho the information is transformed
beteen the objects reservation.
-e!er$ation
-eserving a specific number of seats for specified dates.
Cancellation
'ancel the reserved seat by providing the passenger
number.
B4 COLLABO-AT)O+ ()A'-A.2
-e!er$ation
-eserve the tic&ets and enter the name in database.
Cancellation
1nter the number and cancel the seat by providing
ac&noledged to passenger.
3. ).PLE.E+TAT)O+ ()A'-A.2
A4 ACT)7)T/ ()A'-A.2
This diagram provides the overall message li&e a flo
chart.
-e!er$ation
It chec&s the database and inform the passenger if the tic&et
is reserved or not.
Cancellation2
It cancels the tic&et if the details provides Oyes>. Otherise
not to cancel the tic&et.
B4 STATE C6A-T ()A'-A.2
This diagram provides the information about the separate
states.
(ESC-)PT)O+2
Analyse the project and design the form.
"ra the labels for each field and get the value in te2t bo2.
"esign the command button for the Add, %pdate, "elete and 12it operation.
'onnect the data control to the record set fields.
%sing 8isual data manager creates a database table.
"ouble clic& the command and rite the necessary codings.
-un the program and store the details in the database.
&SECASE ()A'-A.2
1. )+TE-ACT)O+ ()A'-A.2
A4 SE5&E+CE ()A'-A.2
Passenger 9fficer Database
Re.uesting ,icet
Reser/e ,icet
1hecing Status of A/ailabilit%
A/ailabilit%"= ;es
,icet is A/ailable
,icet Reser/ed
A/ailabilit%"= No
Reser/ation <ailed
B4 COLLABO-AT)O+ ()A'-A.2
Passeng
er
9fficer
Databas
e
!" Re.uesting ,icet 8 Reser/e ,icet
$" 1hecing Status of A/ailabilit% 8 ticet Reser/ed
&" A/ailabilit%"=;es 8 A/ailabilit%"= No
'" ,icet is A/ailable 8 Reser/ation <ailed
ACT)7)T/ ()A'-A.2

Passenger
Re.uest for
reser/ation status
Reser/atio
n officer
1hec
database
A/ailable
Reser/ed
Not
a/ailable
Not
Reser/ed
NewStateInform
to passenger
STATE ()A'-A.2
Passenger
9fficer
Database
Re.uesting 1hecing A/ailabilit%
9fficer
1hec the
Database
Administrator
Not
A/ailable
A/ailable
<or
<or
Re.uest to Database for :acanc% Response to re.uest
9fficer
1hec the
Database
Passenger
Reser/atio
n <ailed
,icet
Reser/ed
A/ailable
Not a/ailable
Response to re.uest
Coding
Private Sub 'ommand(D'lic&@A
"ata(.-ecordset.Add;e
1nd Sub
Private Sub 'ommand*D'lic&@A
If "ata(.-ecordset.1OF G True Then
$sg9o2 @H;o more files to deleteHA
1lse
"ata(.-ecordset."elete
"ata(.-ecordset.$oveFirst
1nd If
1nd Sub
Private Sub 'ommand,D'lic&@A
"ata(.-efresh
1nd Sub
Private Sub 'ommand.D'lic&@A
"ata(.%pdate-ecord
"ata(.-ecordset.9oo&mar& G "ata(.-ecordset.=ast$odified
1nd Sub
Private Sub 'ommand/D'lic&@A
"ata(.-ecordset.$oveFirst
1nd Sub
Private Sub 'ommand0D'lic&@A
If "ata(.-ecordset.9OF G True Then
$sg9o2 @H;o Files to see beforeHA
1lse
"ata(.-ecordset.$ovePrevious
1nd If
1nd Sub
Private Sub 'ommand3D'lic&@A
If "ata(.-ecordset.1OF G True Then
$sg9o2 @H;o $ore FilesHA
1lse
"ata(.-ecordset.$ove;e2t
1nd If
1nd Sub
Private Sub 'ommand4D'lic&@A
"ata(.-ecordset.$ove=ast
1nd Sub
Private Sub 'ommand5D'lic&@A
%nload $e
1nd Sub
)nput
Output
-ES&LT2
Thus the softare for online tic&et reservation has been successfully developed.
E, +O2 PA/-OLL P-OCESS)+'
(ATE C
A).2
To develop a softare for employee payroll system by using softare engineering
methodology.
(ESC-)PT)O+2
1. &SE CASE ()A'-A.2
1mployee gives his empno, date, year of joining, salary, department,
designation to the head accountant.
Accountant includes his "A, TA, =I', JA, etc and calculates his net
salary.
1. )+TE-ACT)O+ ()A'-A.2
A4 SE5&E+CE ()A'-A.2
1mployee re!uest for the calculation of salary.
'onnect to it to the database and calculate the salary.
Administrator updates it and delivers it to the employee.
B4 COLLABO-AT)O+ ()A'-A.2
1mployee gives out his details such as empno, name, salary,
etc to the accountant.
Accountant collects details from the database and calculates the
net salary.
1mployee gets his salary details from the accountant.
3. ).PLE.E+TAT)O+ ()A'-A.2
Eplo%ee
1mployee gives his details such as name, etc.
-eceives the final net salary from the accountant. Then administration
refers to the database.
Accountant2
?ives his empno, address, designation, dept, date and year of passing.
'ollects the final net salary from accountant.
(ata#a!e
-eceives the information from them employees hose salary details
are to be considered.
Adds up the alloances and verifies database and sends it to the
database.
(ESC-)PT)O+2
Analyse the project and design the form.
"ra the labels for each field and get the value in the te2tbo2.
"esign the command button for add, update and delete.
Erite the necessary coding by double clic& the button and connect the visual data
manager.
Store the result in the database.
&SECASE ()A'-A.
19>>#1, #?P>9;## D#,AI>S
1A>1U>A,# SA>AR; D#,AI>S
UPDA,# ,@# DA,A3AS#
A119UN,AN,
ISSU# ,@# SA>AR;
#?P>9;##
SE5&E+CE ()A'-A.
DA,A 3AS# #?P>9;## A119UN,AN,
#?P>9;## NA?#
#?P>9;## ID
:#RI<; ,@# DA,A
2#, ,@# 3ASI1 PA; D#,AI>
1A>1U>A,# @RA,DA,PA,2R9SS 8 N#, SA>AR;
UPDA,# ,@# DA,A3AS#
2I:# ,@# SA>AR;
COLLABO-AT)O+ ()A'-A.
DA,A 3AS#
#?P>9;## A119UN,AN,
(" 1A>1U>A,# @RA,DA,PA,2R9SS 8 N#, SA>AR;
!" #?P>9;## NA?#
$" #?P>9;## ID
*" 2I:# ,@# SA>AR;
&" :#RI<; ,@# DA,A
)" UPDA,# ,@# DA,A3AS#
'" 2#, ,@# 3ASI1 PA; D#,AI>
STATE C6A-T ()A'-A.
DA,A 19>>#1,I9N
2#, #?P>9;## ID
8 NA?#
:#RI<;
,@# ID
2#, #?P>9;## ID
8 NA?#
1A>1U>A,I9N
2#, ,@#
3ASI1 PA;
1A>1U>A,# ,@# @RA, DA,
PA, 2R9SS, N#, SA>AR;
:#RI<;
,@# ID
2#, ,@#
3ASI1 PA;
1A>1U>A,# ,@# @RA, DA,
PA, 2R9SS, N#, SA>AR;
UPDA,# ,@# D#,AI>S
IN DA,A 3AS#
ISSU# 9<
SA>AR;
UPDA,# ,@# D#,AI>S
IN DA,A 3AS#
ISSU# 9<
SA>AR;
ACT)7)T/ ()A'-A.
2#, ,@# #?P>9;##
D#,AI>S
:#RI<;
,@# DA,A
I< 19RR#1,
2#, ,@# 3ASI1 PA;
<R9? DA,A3AS#
UPDA,# ,@# DA,A3AS#
1A>1U>A,# ,@# @RA, DA,
PA, 2R9SS, N#, SA>AR;
;#S
N9
for1
Private Sub 'ommand(D'lic&@A
If Te2t(.Te2t G HvinothH Then
1lseIf Te2t*.Te2t G HengineerH Then
Form*.Sho
1lse
$sg9o2 @HErong username or PassordHA
Te2t(.Te2t G HH
Te2t*.Te2t G HH
Te2t(.SetFocus
1nd If
1nd Sub
*or1
Private Sub 'ommand*D'lic&@A
Form,.Sho
1nd Sub
Private Sub 'ommand,D'lic&@A
Form,.Sho
Form,.add.8isible G False
Form,.update.8isible G False
Form,.delete.8isible G False
1nd Sub
*or3
Option 12plicit
Private Sub addD'lic&@A
Form,."ata(.-ecordset.Add;e
1nd Sub
Private Sub bsD=ostFocus@A
PPF
pf.Te2t G 8al@bs.Te2tA B 7.(*
Pda
da.Te2t G 8al@bs.Te2tA B 7../
Phra
hra.Te2t G 8al@bs.Te2tA B 7.*/
Pgross salary
gross.Te2t G 8al@bs.Te2tA N 8al@pf.Te2tA N 8al@da.Te2tA N 8al@hra.Te2tA
Pnet salary
net.Te2t G 8al@gross.Te2tA 6 8al@bs.Te2tA
1nd Sub
Private Sub updateD'lic&@A
Form,."ata(.%pdate-ecord
Form,."ata(.-ecordset.9oo&mar& G Form,."ata(.-ecordset.=ast$odified
1nd Sub
Private Sub deleteD'lic&@A
If Form,."ata(.-ecordset.1OF G True Then
$sg9o2 @H;o more record to "eleteHA
1lse
If Form,."ata(.-ecordset.9OF G True Then
$sg9o2 @H;o -ecord Jave 9een yet 1ntered to "eleteHA
1lse
Form,."ata(.-ecordset.delete
Form,."ata(.-ecordset.$ove;e2t
1nd If
1nd If
1nd Sub
Private Sub e2itD'lic&@A
1nd
1nd Sub
Output
Form(
for1
for3
$iewing
&pdation
*or3
-ES&LT2
Thus the softare has been developed for employee payroll system successfully.
E, +O2 E,PE-T S/STE.
(ATE2
A).2
To "evelop a project under 12pert System by using the concept of Artificial
intelligence.
AL'O-)T6.2
(. A car game as analysed under the Artificial intelligence concept
*. The game is developed under the language Kava.
,. The coding for the game has been ritten and it is verified.
.. The object used in the game i.e. the car object is lin&ed as a supporting file.
/. Similarly the path in hich the car travels is also lin&ed as a supporting file.
0. The program is e2ecuted as html document.
3. The game starts ith the front page as LTO P=AQ TJ1 ?A$1 '=I'R A;Q $O%S1
9%TTO;M.
4. Then if the game is on it ill aard the java cup.
5. If the game is lost it shos LQO% JA81 =OSTM
(7. Thus the game is developed and its or&ing is verified.
&SE CASE ()A'-A.2
Pla%er
1lic ?ouse 3utton to ?o/e the
ob4ect(car)
,he game #nds when our car
crashes an opposite ob4ect(car)
Pla%er wins when the score
reaches the target
SE5&E+CE ()A'-A.2
Pla%er S%stem
Aait A ?initue
1lic ?ouse ,o Pla%
Press >eft B Right(1ontrols)
Abo/e (C Ainner #lse Pla% Again(;DN)
;es D No
COLLABO-AT)O+ ()A'-A.2
3. STATE .AC6)+E ()A'-. 2
A. ACT)7)T/ ()A'-A.2
S,AR,
S%stem D User
Interface
pla%er
Press >eft D Right to Pla%
,he 2ame
If Pla%er @its An 9b4ect D 1arEEE
F2ame 9/er D Pla% AgainG
Pla%er Pla%s
,he 2ame
If Score Is Abo/e (C
Pla%er Ains
If 2ame 9/er Pla%
Again D #6it
B.STATE C6A-T .AC6)+E2
Pla%er
Aait A
?initue
Press >eft D Right He%
of mouse to Pla%
Pla%er Pla%s
,he 2ame
Aait A
?initue
Start
Press >eft D Right He%
of mouse to Pla%
Pla%er Pla%s
,he 2ame
#nd
#nd Pla%er
Read the Score <rom
,he Score 3o6
If 2ame Is 1ompleted
Displa% ,he Score
If Score Is Abo/e
(C Displa% Ainner
If Score Is 3elo/e (C
Displa% game 9/er
Start
Read the Score <rom
,he Score 3o6
If 2ame Is 1ompleted
Displa% ,he Score
If Score Is Abo/e
(C Displa% Ainner
If Score Is 3elo/e (C
Displa% game 9/er
#nd
CO()+'2
##Sapplet codeG'ar.class idthG0.7 heightG.77: S#applet:
import java.at.BT
import java.applet.BT
import java.at.image.BT
public class 'ar e2tends Applet implements -unnable
U
Image img,car(,cupT
static int positionG*,/T
static int points G 7T
static int delay G *7T
road rdT
Thread thrT
static int ptsG/7T
boolean msgGtrueT
static boolean &illGfalseT
public void init@A
U
int 2VW G U (/, (/, 7, 07, ./, ./ XT
int yVW G U ./, /7, /4, /4, /7, ./ XT
set9ac&ground@'olor.blac&AT
img G createImage@07,07AT
?raphics g G img.get?raphics@AT
g.set'olor@'olor.blac&AT
g.fill-ect@7,7,07,07AT
g.set'olor@'olor.greenAT
g.fill-ect@(*,*7,,0,3AT
g.fill-ect@4,(/,.,(3AT
g.fill-ect@.4,(/,.,(3AT
g.fill-ect@/,.7,/7,3AT
g.fill-ect@7,,/,/,(3AT
g.fill-ect@//,,/,/,(3AT
g.set'olor@'olor.redAT
g.fill-ect@*7,7,*7,(/AT
g.fill-ect@(/,(/,,7,.7AT
g.set'olor@'olor.blueAT
g.fill-ect@*7,*7,3,(7AT
g.fill-ect@,,,*7,3,(7AT
g.set'olor@'olor.redAT
g.fill-ect@**,**,,,0AT
g.fill-ect@,/,**,,,0AT
g.setFont@ne Font@HTimes-omanH,Font.9O=",5AAT
g.set'olor@'olor.hiteAT
g.fillPolygon@2,y,0AT
g.set'olor@'olor.blac&AT
g.draString@H9$EH,(/,/.AT
car( G createImage@07,07AT
?raphics g( G car(.get?raphics@AT
g(.set'olor@'olor.blac&AT
g(.fill-ect@7,7,07,07AT
g(.set'olor@'olor.greenAT
g(.fill-ect@(*,*7,,0,3AT
g(.fill-ect@4,(/,.,(3AT
g(.fill-ect@.4,(/,.,(3AT
g(.fill-ect@/,.7,/7,3AT
g(.fill-ect@7,,/,/,(3AT
g(.fill-ect@//,,/,/,(3AT
g(.set'olor@'olor.blueAT
g(.fill-ect@*7,7,*7,(/AT
g(.fill-ect@(/,(/,,7,.7AT
g(.set'olor@'olor.redAT
g(.fill-ect@*7,*7,3,(7AT
g(.fill-ect@,,,*7,3,(7AT
g(.set'olor@'olor.blueAT
g(.fill-ect@**,**,,,0AT
g(.fill-ect@,/,**,,,0AT
g(.setFont@ne Font@HTimes-omanH,Font.9O=",5AAT
g(.set'olor@'olor.hiteAT
g(.fillPolygon@2,y,0AT
g(.set'olor@'olor.blac&AT
g(.draString@HSEI;?H,(/,/.AT
thr G ne Thread@thisAT thr.start@AT rd G ne road@get?raphics@A,car(,thisAT rd.start@AT
int aVW G U*7,/,,/XT
int bVW G U(/7,(07,(07XT
cup G createImage@/7,(0/AT
?raphics handle G cup.get?raphics@AT
handle.set'olor@'olor.blac&AT
handle.fill-ect@7,7,/7,(0/AT
handle.set'olor@'olor.redAT
handle.fillArc@7,.7,.7,,7,7,(47AT
handle.set'olor@'olor.yelloAT
handle.fillArc@7,(/,.7,47,(47,(47AT
handle.set'olor@'olor.redAT
handle.dra=ine@*7,5/,*7,(/7AT
handle.fillPolygon@a,b,,AT
X
public void run@A
U
hile@points SG (77A
U
if@points GG (77 YY &ill GG trueA
U
rd.stop@AT
repaint@AT
thr.stop@AT
X
if@@pointsZ.AGG7A
U
rd.j G 7T
pts G pointsT
pointsNNT
delay66T
if@delay SG 7A
delay G 7T
rd.flagG(T
repaint@AT
X
try
U
Thread.sleep@delayAT
X
catch@Interrupted12ception e2pA
U
X
X
X
public void destroy@A
U
thr.stop@AT
rd.stop@AT
X
public boolean mouse"on@1vent e , int 2, int yA
U
if@e.id GG 1vent.$O%S1D"OE;A
U
if@position GG *,/A
position G ,//T
else
position G *,/T
repaint@AT
X
return trueT
X
public void paint@?raphics grA
U
if@[&illA
U
if@msgA
U
gr.set'olor@'olor.blac&AT
gr.fill-ect@7,7,0.7,.77AT
gr.set'olor@'olor.yelloAT
gr.setFont@ne Font@HTimes-omanH,Font.9O=",(0AAT
gr.draString@HTO P=AQ TJ1 ?A$1 '=I'R A;Q $O%S1 9%TTO;H,(.7,(77AT
gr.draString@HTJ1 'A- EI== $O81 I; OPPOSIT1 "I-1'TIO;H,(.7,(/7AT
gr.draString@HEAIT A $I;%T1......H,*,7,*77AT
msg G falseT
tryU
Thread.sleep@,777AT
X
catch@12ception e2pA
U
X
gr.set'olor@'olor.blac&AT
gr.fill-ect@7,7,0.7,.77AT
X
gr.set'olor@'olor.hiteAT
gr.fill-ect@*77,7,(7,.77AT
gr.fill-ect@..7,7,(7,.77AT
gr.draImage@img,position,,77,thisAT
gr.set'olor@'olor.yelloAT
gr.fill-ect@//7,/,0,3,*/AT
gr.set'olor@'olor.blueAT
gr.setFont@ne Font@HTimes-omanH,Font.9O=",*7AAT
gr.draString@HScore CHNpts,//3,**AT
if@points :G /*A
U
for@int 2y)G7T2y)S,T2y)NNA
U
gr.set'olor@'olor.yelloAT
gr.draString@HJave a 'upH,*.7,(77AT
gr.draImage@cup,,77,(77,thisAT
gr.set'olor@'olor.yelloAT
gr.fill-ect@//7,/,0,3,*/AT
gr.set'olor@'olor.blueAT
gr.setFont@ne Font@HTimes-omanH,Font.9O=",*7AAT
gr.draString@HScore C/7H,//3,**AT
try
U
Thread.sleep@/77AT
X
catch@Interrupted12ception e2pA
U
X
X
X
X
else
U
gr.set'olor@'olor.yelloAT
gr.draString@HQO% JA81 =OST TJ1 ?A$1H,*/7,*77AT
X
X
X
class road e2tends Thread
U
int iT
public static int j G 7T
?raphics gT
Image car*T
ImageObserver ioT
public static int flag G 7T
boolean msgGtrueT
road@?raphics g,Image car*,ImageObserver ioA
U
this.g G gT
this.io G ioT
this.car* G car*T
X
public void run@A
U
dra-oad@gAT
X
public void dra-oad@?raphics grA
U
if@msgA
U
gr.set'olor@'olor.blac&AT
gr.fill-ect@7,7,0.7,.77AT
gr.set'olor@'olor.yelloAT
gr.setFont@ne Font@HTimes-omanH,Font.9O=",(0AAT
gr.draString@HTO P=AQ TJ1 ?A$1 '=I'R A;Q $O%S1 9%TTO;H,(.7,(77AT
gr.draString@HTJ1 'A- EI== $O81 I; OPPOSIT1 "I-1'TIO;H,(.7,(/7AT
gr.draString@HEAIT A $I;%T1......H,*,7,*77AT
msg G falseT
try
U
Thread.sleep@/777AT
X
catch@12ception e2pA
U
X
gr.set'olor@'olor.blac&AT
gr.fill-ect@7,7,0.7,.77AT
X
for@TjSG(777TjNG(7A
U
for@iG6(777TiSG.35TiNG07A
U
gr.set'olor@'olor.blac&AT
gr.fill-ect@,*7,iNj,(7,iNjN/7AT
gr.set'olor@'olor.hiteAT
gr.fill-ect@,*7,iNjN(7,(7,iNjN07AT
X
gr.clear-ect@*,/,j6(7,07,07AT
gr.draImage@car*,*,/,7Nj,ioAT
gr.clear-ect@,//,6(/7N@j6(7A,07,07AT
gr.draImage@car*,,//,6(/7Nj,ioAT
gr.clear-ect@*,/,6,77N@j6(7A,07,07AT
gr.draImage@car*,*,/,6,77Nj,ioAT
gr.clear-ect@,//,6./7N@j6(7A,07,07AT
gr.draImage@car*,,//,6./7Nj,ioAT
if@ @'ar.position GG *,/ II @j :G */7 II j SG ,07AA YY @'ar.position GG ,// II @j :G
.77 II j SG /(7AA YY @'ar.position GG *,/ II @j :G //7 II j SG 007AA YY @'ar.position
GG ,// II @j :G 377 II j SG 4(7AA A
U
try
U
Thread.sleep@*777AT
'ar.&ill G trueT
X
catch@Interrupted12ception e2pA
U
X
X
if @j :G ,07 A U if@ @@ j 6 ,07 A Z (/7 A GG 7 A
U
if@flag GG (A
U
'ar.points66T
flag G 7T
X
'ar.pointsNNT
gr.set'olor@'olor.yelloAT
gr.fill-ect@//7,/,0,3,*/AT
gr.set'olor@'olor.blueAT
gr.setFont@ne Font@HTimes-omanH,Font.9O=",*7AAT
gr.draString@HScore CHN'ar.points,//3,**AT
X
X
try
U
Thread.sleep@'ar.delayAT
X
catch@Interrupted12ception e2pA
U
X
X
X
X
*O-. (ES)'+
-ES&LT2
Thus the project under 12pert System by using the concept of Artificial
intelligence has been designed successfully and its or&ing is verified.
E, +O2 AT. S/STE.S
(ATE2
A).2
To develop a softare for AT$ system by using softare engineering methodology.
(ESC-)PT)O+2
1. &SE CASE ()A'-A.2
'ustomers insert a card and verify it. Then he selects the type of
transformation.
AT$ performs the transaction.
After transaction completes customer ta&es the card.
1. )+TE-ACT)O+ ()A'-A.2
A4 SE5&E+CE ()A'-A.2
'ustomers insert the card into the AT$ machine and then enter the
passord.
AT$ machine chec&s the passord and permit for transaction.
'ustomer selects the type of transaction.
AT$ machine chec&s the account in database and perform transaction.
B4 COLLABO-AT)O+ ()A'-A.2
Insert the card and enter the passord.
'hec& the passord and permit for transaction.
Select the type of transaction chec& the account and perform
transaction.
%pdate the account and repeat transaction.
3. ).PLE.E+TAT)O+ ()A'-A.2
A4 ACT)7)T/ ()A'-A.2
Insert the card and enter the PI;.
If it is correct passord accepted then select the type of transaction.
Perform the transaction, %pdate the account in database and ta&e the
card. Otherise passord is not accepted.
B4 STATE C6A-T ()A'-A.2
Analy)e the project and design the form.
'reate a label for card number, PI; number.
'reate a button for o&, 'ancel.
Then create a separate command button for balance in !uery,
deposit, ithdra and done.
-un the program and store the result in the database.

&SECASE ()A'-A.
,ae the card
Insert card 8 :erification
Select t%pe of ,ransaction
A,?
Perform the ,ransaction
1ustomer
SE5&E+CE ()A'-A.
1US,9?#R A,? ?A1@IN# DA,A3AS#
Insert the card
#nter password
1hec password
Perform transaction
,ae the card
1hec the account
Update the account
Select t%pe of transaction
Prompt for ,ransaction t%pe
Repeat ,ransactions
COLLABO-AT)O+ ()A'-A.
1US,9?#R
A,?
?A1@IN#
DA,A3AS#
7" Repeat ,ransactions
!" Insert the card
$" #nter password
(" Select t%pe of transaction
*" Perform transaction
!C" ,ae the card
'" Prompt for ,ransaction t%pe
&" 1hec password
)" 1hec the account
+" Update the account
STATE C6A-T ()A'-A.
?achine(A,?)
A,? Process
Insert 1ard #nter Pin
Select ,%pe of
,ransaction
Perform the
,ransaction
,ae the
?one%
,ae the
1ard
Insert 1ard #nter Pin
Select ,%pe of
,ransaction
Perform the
,ransaction
,ae the
?one%
,ae the
1ard
Insert 1ard 8 :erification State
Insert 1ard
#nter 1orrect
PIN
1hec the
PIN
Specif% the
,ransaction ,%pe
Insert 1ard
#nter 1orrect
PIN
1hec the
PIN
Specif% the
,ransaction ,%pe
,ransaction ,%pe
Deposite Aithdraw Deposit Aithdrawal
SelectI$
SelectI!
1urrent
AD1
Sa/ings
AD1
Select the
,ransaction
Perform the
,ransaction

NewState
2o to select the
transaction state
Deposite Aithdraw Deposit Aithdrawal
SelectI$
SelectI!
1urrent
AD1
Sa/ings
AD1
Select the
,ransaction
Perform the
,ransaction

1orrect
Arong
NewState
2o to select the
transaction state
N9
;#S
?achine(A,?)
A,? Process
Insert 1ard #nter Pin
Select ,%pe of
,ransaction
Perform the
,ransaction
,ae the
?one%
,ae the
1ard
Insert 1ard #nter Pin
Select ,%pe of
,ransaction
Perform the
,ransaction
,ae the
?one%
,ae the
1ard
Insert 1ard 8 :erification State
Insert 1ard
#nter 1orrect
PIN
1hec the
PIN
Specif% the
,ransaction ,%pe
Insert 1ard
#nter 1orrect
PIN
1hec the
PIN
Specif% the
,ransaction ,%pe
,ransaction ,%pe
Deposite Aithdraw Deposit Aithdrawal
SelectI$
SelectI!
1urrent
AD1
Sa/ings
AD1
Select the
,ransaction
Perform the
,ransaction

NewState
2o to select the
transaction state
Deposite Aithdraw Deposit Aithdrawal
SelectI$
SelectI!
1urrent
AD1
Sa/ings
AD1
Select the
,ransaction
Perform the
,ransaction

1orrect
Arong
NewState
2o to select the
transaction state
N9
;#S
ACT)7)T/ ()A'-A.
Perform the
,rasaction
#nter pin
,ae the card
Select ,%pe of
,ransaction
Insert card
Password accepted
Password not accepted
1urrent AD1 Sa/ings AD1
Aithdraw Deposit Aithdrawl Deposite
Select 9ption
No more ,ransaction
Select Another ,ransaction
"im t As Integer
Pri$ate Su# Cdcacel:Clic;<4
%nload $e
Close the window
End Su#
Pri$ate Su# Cdo;:Clic;<4
=Check for valid PIN number
str G Hselect B from necust here pid GPH I $"IForm(.T2tpno.Te2t I HPTH
rs.Open str, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTe2t
If rs.9OF And rs.1OF Then
$sg9o2 @HInvalid PI; or 'ard ;umberHA
rs.'lose
12it Sub
1lse
FrmEelcome.Sho
$"IForm(.8isible G False
rs.'lose
1nd If
End Su#
Pri$ate Su# dot:Clic;<4
Display . In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I dot.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I dot.'aption
1nd If
End Su#
Pri$ate Su# eight:Clic;<4
Display 8 In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I eight.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I eight.'aption
1nd If
End Su#
Pri$ate Su# fi$e:Clic;<4
Display In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I five.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I five.'aption
1nd If
End Su#
Pri$ate Su# four:Clic;<4
Display ! In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I four.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I four.'aption
1nd If
End Su#
Pri$ate Su# .()*or:Load<4
'onnect
End Su#
Pri$ate Su# nine:Clic;<4
Display " In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I nine.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I nine.'aption
1nd If
End Su#
Pri$ate Su# one:Clic;<4
Display # In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I one.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I one.'aption
1nd If
End Su#
Pri$ate Su# !e$en:Clic;<4
Display $ In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I seven.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I seven.'aption
1nd If
End Su#
Pri$ate Su# !i":Clic;<4
Display % In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I si2.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I si2.'aption
1nd If
End Su#
Pri$ate Su# three:Clic;<4
Display &. In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I three.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I three.'aption
1nd If
End Su#
Pri$ate Su# two:Clic;<4
Display ' In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I to.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I to.'aption
1nd If
End Su#
Pri$ate Su# T"tCno:'ot*ocu!<4
Display . In either pin field or card number field
t G 7
1nd Sub
Private Sub T2tpnoD?otFocus@A
t G (
End Su#
Pri$ate Su# >ero:Clic;<4
Display ( In either pin field or card number field
If t G 7 Then
T2t'no.Te2t G T2t'no.Te2t I )ero.'aption
1lse
T2tpno.Te2t G T2tpno.Te2t I )ero.'aption
1nd If
End Su#
Pri$ate Su# Cd)n?uer%:Clic;@A
Display the )alance en*uery form
Frm9alance.Sho
$"IForm(.8isible G False
End Su#
Pri$ate Su# CdSa$ing:Clic;<4
Display the Deposit form
Frm"eposit.Sho
End Su#
Pri$ate Su# Cd8ithdraw:Clic;<4
Display +ithdrawal form
FrmEithdra.Sho
End Su#
Pri$ate Su# Coand5:Clic;<4
=Close the window
$"IForm(.8isible G True
%nload $e
End Su#
"im j As Integer
Pri$ate Su# Cd(one:Clic;<4
FrmEelcome.8isible G True
%nload $e
End Su#
Pri$ate Su# *or:Load<4
'onnect
fg.Te2t$atri2@7, 7A G HTimeH
fg.Te2t$atri2@7, (A G H"ateH
fg.Te2t$atri2@7, *A G HAmountH
fg.Te2t$atri2@7, ,A G HTransationH
fg.'olEidth@7A G (.77
fg.'olEidth@(A G ((77
End Su#

Pri$ate Su# Optcurrent:Clic;<4
)alance ,n*uiry for Current -ccount
j G (
fg.-os G (
str G Hselect B from deposit here pin GPH I $"IForm(.T2tpno.Te2t I HPand
typeGPcurrentPTH
rs.Open str, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTe2t
If rs.9OF And rs.1OF Then
rs.'lose
12it Sub
1lse
Ehile rs.1OF G False
fg.-os G fg.-os N (
fg.Te2t$atri2@j, 7A G rs[Time
fg.Te2t$atri2@j, (A G rs["ate
fg.Te2t$atri2@j, *A G rs[Amount
fg.Te2t$atri2@j, ,A G rs[Action
j G j N (
rs.$ove;e2t
Eend
rs.'lose
1nd If
End Su#
Pri$ate Su# Opt!a$ing:Clic;<4
)alance ,n*uiry for .avin/ -ccount
j G (
fg.-os G (
str G Hselect B from deposit here pin GPH I $"IForm(.T2tpno.Te2t I HPand
typeGPsavingPTH
rs.Open str, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTe2t
If rs.9OF And rs.1OF Then
rs.'lose
12it Sub
1lse
Ehile rs.1OF G False
fg.-os G fg.-os N (
fg.Te2t$atri2@j, 7A G rs[Time
fg.Te2t$atri2@j, (A G rs["ate
fg.Te2t$atri2@j, *A G rs[Amount
fg.Te2t$atri2@j, ,A G rs[Action
j G j N (
rs.$ove;e2t
Eend
rs.'lose
1nd If
End Su#
Pri$ate Su# CdC!u#it:Clic;<4
.ave the amount to current -ccount database
If ;ot T2tsamound.Te2t G HH Then
rs.Open HdepositH, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTable
rs.Add;e
rs[Amount G 8al@T2tsamound.Te2tA
rs["ate G "ate
rs[Time G Time
rs[Type G HcurrentH
rs[Action G HdepositH
rs[pin G $"IForm(.T2tpno.Te2t
rs.Save
$sg9o2 @H -ecord Saved SucessfullyHA
rs.'lose
1nd If
End Su#
Pri$ate Su# Cd(one:Clic;<4
%nload $e
End Su#
Pri$ate Su# CdSSu#it:Clic;<4
.ave the amount to savin/ -ccount database
If ;ot T2tcamound.Te2t G HH Then
rs.Open HdepositH, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTable
rs.Add;e
rs[Amount G 8al@T2tcamound.Te2tA
rs["ate G "ate
rs[Time G Time
rs[Type G HsavingH
rs[Action G HdepositH
rs[pin G $"IForm(.T2tpno.Te2t
rs.%pdate
$sg9o2 @H -ecord Saved SucessfullyHA
rs.'lose
1nd If
End Su#
Pri$ate Su# *or:Load<4
'onnect
Opt'urrent.8alue G True
Frame'urrent.8isible G True
FrameSaving.8isible G False
End Su#
Pri$ate Su# Optcurrent:Clic;<4
Frame'urrent.8isible G True
FrameSaving.8isible G False
End Su#
Pri$ate Su# Opt!a$ing:Clic;<4
Frame'urrent.8isible G False
FrameSaving.8isible G True
End Su#
Pri$ate Su# CdC!u#it:Clic;<4
.ave the current withdrawal amount to database
If ;ot T2tsamound.Te2t G HH Then
rs.Open HdepositH, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTable
rs.Add;e
rs[Amount G 8al@T2tsamound.Te2tA
rs["ate G "ate
rs[Time G Time
rs[Type G HcurrentH
rs[Action G HithdraH
rs[pin G $"IForm(.T2tpno.Te2t
rs.Save
$sg9o2 @H -ecord Saved SucessfullyHA
rs.'lose
1nd If
End Su#
Pri$ate Su# Cd(one:Clic;<4
%nload $e
End Su#
Pri$ate Su# CdSSu#it:Clic;<4
.ave the savin/ withdrawal amount to database
If ;ot T2tcamound.Te2t G HH Then

rs.Open HdepositH, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTable
rs.Add;e
rs[Amount G 8al@T2tcamound.Te2tA
rs["ate G "ate
rs[Time G Time
rs[Type G HsavingH
rs[Action G HithdraH
rs[pin G $"IForm(.T2tpno.Te2t
rs.%pdate
$sg9o2 @H -ecord Saved SucessfullyHA
rs.'lose
1nd If
End Su#
Pri$ate Su# *or:Load<4
'onnect
Opt'urrent.8alue G True
Frame'urrent.8isible G True
FrameSaving.8isible G False
End Su#
Pri$ate Su# Optcurrent:Clic;<4
Frame'urrent.8isible G True
FrameSaving.8isible G False
1nd Sub
Private Sub OptsavingD'lic&@A
Frame'urrent.8isible G False
FrameSaving.8isible G True
End Su#
Module for global data declaration
.odule 1
Public cn As 'onnection
Public rs As -ecordset
Public cmd As 'ommand
Public str As String
*unction Connect<4
Set cn G ;e A"O"9.'onnection
cn.Provider G H$icrosoft.Ket.Oledb...7H
cn.Open App.Path I H\H I Hdatabase.mdbH > "atabase path and name
Set rs G ;e A"O"9.-ecordset
Set cmd G ;e A"O"9.'ommand
End *unction
*O-.S2
1. Login *or
Frame
Fle2 ?rid control
(ata#a!e Ta#le (etail!
1. (epo!it
1. +ew cu!toer

-ES&LT2
Thus the softare has been developed for AT$ system successfully.
E, +O2 STOC3 .A)+TA+E+CE
(ATE2
A).2
To develop a softare for stoc& maintenance by using softare engineering
methodology.
(ESC-)PT)O+2
1. &SE CASE ()A'-A.2
Stoc& in charge updates the stoc& list.
Stoc& in charge sells product to the customer.
'ustomer buys the same product.
1. )+TE-ACT)O+ ()A'-A.2
A4 SE5&E+CE ()A'-A.2
'ustomer re!uires some items stoc& in charge the availability.
Then he provides the given list of items.
'ustomer order the items and the in charge sell the products.
B4 COLLABO-AT)O+ ()A'-A.2
'ustomer needs some re!uired items. Stoc& maintenance chec&s the
availability.
'hec&ing the items, stoc& in charge gives the list of items.
'ustomer orders the items and the stoc& in charge sells the product.
3. ).PLE.E+TAT)O+ ()A'-A.2
A4 ACT)7)T/ ()A'-A.2
'ustomer re!uired item list of stoc& In charge.
Stoc& in charge chec&s the availability.
If it is available .It gives the list of items to the customer.
'ustomer bugs those items.
Otherise cancels the item of list.
B4 STATE C6A-T ()A'-A.2
This diagram provides the separate details of stoc&.
(ATABASE (ESC-)PT)O+2
Analy)e the project and design the stoc& maintenance form.
This form provides a separate form for Add, "elete and %pdate the
stoc&.
In Add form add the stoc& details.
Similarly in "elete and %pdate form delete and update the stoc& list.
&SECASE ()A'-A.2
Stoc Incharge 1ustomer
bu%ing some product
update the stoc list
selling product
SE5&E+CE ()A'-A.
1ustomer
checing
Stoc
?aintenance
need some re.uired iitems
chec the a/ailabilt%
a/ailable
gi/e the list of items
order the items
update the items
product list are read%
sell the products
COLLABA-AT)O+ ()A'-A.2
1ustome
r
checing
Stoc
?aintenance
!" need some re.uired iitems
(" order the items
'" gi/e the list of items
+" sell the products
$" chec the a/ailabilt%
)" update the items
&" a/ailable
*" product list are read%
ACT)7)T/ ()A'-A.2
re.uired items list
to stoc incharge
chec the a/ailabilt%
a/ailable the
items
gi/e the list of
items
bu% the items
cancel
customer
need the items from the
particular date
not a/ailable
STATE C6A-T ()A'-A.2
stoc in
order the
items
items are
a/ailable
update the
items
sell the
items
order the
items
items are
a/ailable
update the
items
sell the
items
stoc out
order the
items
items are not
a/ailable
re4ect order the
items
items are not
a/ailable
re4ect
CO()+'2
*or1.$#
Private Sub A""D'lic&@A
Form*.Sho
1nd Sub
Private Sub "ata(D8alidate@Action As Integer, Save As IntegerA
1nd Sub
Private Sub 'ommand(D'lic&@A
stoc&(.-ecordset.$ove=ast
1nd Sub
Private Sub 'ommand*D'lic&@A
stoc&(.-ecordset.$oveFirst
1nd Sub
Private Sub deleteD'lic&@A
Form,.Sho
1nd Sub
Private Sub updateD'lic&@A
Form..Sho
1nd Sub
*or1.$#
Private Sub A""D'lic&@A
stoc&(.-ecordset.Add;e
prodno G HH
prodname G HH
stoc& G HH
rate G HH
1nd Sub
*or3.$#
Private Sub deleteD'lic&@A
stoc&(.-ecordset.delete
1nd Sub
*or@.$#
Private Sub updateD'lic&@A
stoc&(.-ecordset.1dit
1nd Sub
)nput for!2
O&TP&T *O-.S2
-ES&LT2
Thus the softare has been developed for the stoc& maintenance successfully.
E, +O2 -EAL T).E SC6E(&LE-S
(ATE2
A).2
To develop a softare for implementing real time scheduling by using softare
engineering methodology.
(ESC-)PT)O+2
1. &SE CASE ()A'-A.2
'ustomer has * choices of operation.
Borrow2
'ustomer gives the selected boo& along ith the library card.
librarian ma&es the entry I return the boo&
-eturn2
'ustomer gives the ta&en boo& in return section.
librarian chec&s the boo& and ma&e a note of fine if there
Is any delay#damage in the boo&.
1. )+TE-ACT)O+ ()A'-A.2
It has * types.
(. Se!uence diagram
*. 'ollaboration diagram.
SE5&E+CE ()A'-A.2
'ustomer returns the borroed boo& in the return section.
'ustomer selects another boo& and submits in the entry section along
ith the library card.
=ibrarian ma&es the entry and returns the boo&.
COLLABO-AT)O+ ()A'-A.2
'ustomer submits the previously ta&en boo& for returning.
=ibrarian ma&es an entry I returns the card.
'ustomer places another boo& for borroing.
=ibrarian ma&es the entry and returns the boo&.
3. ).PLE.E+TAT)O+ ()A'-A.2
It has * types.
(. Activity diagram.
*. State chart @machineA diagram
ACT)7)T/ ()A'-A.2
'ustomer returns the borroed boo& in the return section.
=ibrarian ma&es the entry and returns the card.
'ustomer selects another boo&s and submits it to the librarian for
entry.
=ibrarian ma&es the enrollment.
STATEC6A-T <.AC6)+E4 ()A'-A.2
Cu!toer2
returns the borroed boo& I pays fine@if necessaryA
Selects another boo& I submits it to the librarian for entry along
ith the librarian card.
Li#rarian2
-eceives the returned boo& and chec&s the date.
collects fine for damage#delay in returning the boo&
$a&es the entry for the submitted boo& for borroing and ma&es
the enrollment.
-eturns the boo& bac& to the customer.
&SECASE ()A'-A.
S,A,US 9< ,@# 399H
S#AR1@ 8 ASH <9R ,@# 399H
ISSU# 9< ,@# 399H
>I3RARIAN
US#R
R#,URN ,@# 399H
BOO32 SE5&E+CE ()A'-A.
US#R
DA,A 3AS# >I3RARIAN
S#AR1@ ,@# 399H
S,A,US 9< ,@# 399H
R#S#R:# ,@# 399H
IN,I?A,# >I3RARIAN
R#-U#S, <9R ,@# 399H
ISSU# 9< ,@# 399H
R#,URN ,@# 399H
:#RI<; R#,URN DA,# 8 1A>1U>A,# <IN#
I< <IN# PA; I,
R#P#A, ,@# 1@#1H
BOO32 COLLOBO-AT)O+ ()A'-A.
US#R DA,A 3AS#
>I3RARIAN
&" R#P#A, ,@# 1@#1H
!" S#AR1@ ,@# 399H
'" R#S#R:# ,@# 399H
$" S,A,US 9< ,@# 399H
)" R#-U#S, <9R ,@# 399H
+" R#,URN ,@# 399H
!C" I< <IN# PA; I,
*" ISSU# 9< ,@# 399H
(" IN,I?A,# >I3RARIAN
7" :#RI<; R#,URN DA,# 8 1A>1U>A,# <IN#
BOO32 STATE C6A-T ()A'-A.
399H S#AR1@IN2
S#RA1@ 3AS#D 9N
AU,@9R
S#RA1@ 3AS#D
9N ,I,>#
S#RA1@ 3AS#D
9N IS3N
S#RA1@ 3AS#D 9N
AU,@9R
S#RA1@ 3AS#D
9N ,I,>#
S#RA1@ 3AS#D
9N IS3N
399H ISSU#
IS #>I2I3># <9R
>#NDIN2
ISSU# ,@#
I,#?
UPDA,# ,@#
DA,A3AS#
IS #>I2I3># <9R
>#NDIN2
ISSU# ,@#
I,#?
399H R#,URN
:#RI<;
R#,URN DA,#
1A>1U>A,#
<IN#
PA; ,@# <IN#, #>S#
:A1A,# ,@# >I3RAR;
R#,URN
,@# 399H
:#RI<;
R#,URN DA,#
1A>1U>A,#
<IN#
PA; ,@# <IN#, #>S#
:A1A,# ,@# >I3RAR;
R#,URN
,@# 399H
UPDA,# ,@#
DA,A3AS#
BOO32 ACT)7)T/ ()A'-A.
R#S#R:#
,@# 399H
A:AI>
R#-U#S, ,@#
>I3RARIAN
ISSU# 9<
,@# 399H
1@#1H <9R
<IN#
PA; ,@#
<IN#
;#S
S#AR1@ <9R S9?#
9,@#R 399H
9H
S#AR1@
399H
;#S
D9 S9?# 9,@#R
A1,I:I,; D 29 9U,
N9
399H
R#,URN
N9
;#S
N9
CO()+'2
.A)+.*-.2
private Sub =abel(D'lic&@A
Form*.Sho
1nd Sub
Private Sub =abel*D'lic&@A
Form/.Sho
1nd Sub
Private Sub =abel,D'lic&@A
Form,.Sho
1nd Sub
Private Sub =abel.D'lic&@A
Form..Sho
1nd Sub
A((.*-.2
private Sub addboo&D'lic&@A
rs.Open HlibraryH, cn, adOpen"ynamic, ad=oc&Optii!ticA adCdTa#le
rs.Add;e
rs[bno G bno.Te2t
rs[title G title.Te2t
rs[aname G aname.Te2t
rs[category G category.Te2t
rs[price G price.Te2t
rs[bstatus G HAvailableH
rs[studid G HH
rs.%pdate
$sg9o2 H;e 9oo& AddedH, $#)nforation
rs.'lose
1nd Sub
Private Sub clearD'lic&@A
bno.Te2t G HH
title.Te2t G HH
aname.Te2t G HH
category.Te2t G HH
price.Te2t G HH
1nd Sub
Private Sub doneD'lic&@A
%nload $e
1nd Sub
Private Sub FormD=oad@A
'onnect
1nd Sub
)SS&E.*-.2
Private Sub 'ommand,D'lic&@A
%nload $e
1nd Sub
Private Sub FormD=oad@A
connect
1nd Sub
Private Sub issueboo&D'lic&@A
str G Hselect count@BA from library here studidGPH I studid.Te2t I HPTH
rs.Open str, cn, adOpen"ynamic, adLoc;Optii!ticA adCdTe"t
If rs.Fields@7A :G , Then
$sg9o2 HAlready Qou Jave Ta&en $a2imum Of Three 9oo&sH, vb'ritical
rs.'lose
12it Sub
1lse
rs.'lose
1nd If
str G Hselect B from library here bnoGPH I bno.Te2t B CDEC
rs.Open str, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTe2t
If rs.9OF And rs.1OF Then
rs.'lose
$sg9o2 H;ot FoundH, vb'ritical
1lse
rs[studid G studid.Te2t
rs[dat G "ate
rs[bstatus G H;ot AvailableH
rs.%pdate
rs.'lose
$sg9o2 H9oo& IssuedH, vbInformation
1nd If
1nd Sub
-ECE)7E.*-.2
"im diff As Integer
Private Sub receiveD'lic&@A
str G Hselect B from library here bnoGPH I bno.Te2t I HPTH
rs.Open str, cn, adOpen"ynamic, ad=oc&Optimistic, adCdTe"t
If rs.9OF And rs.1OF Then
rs.'lose
$sg9o2 H;ot FoundH, vb'ritical
1lse
diff G @"ate 6 "ate8alue@rs[datAA 6 (/
rs[bstatus G HAvailableH
rs[studid G HH
rs[dat G HH
rs.%pdate
$sgBo" CBoo; -ecei$edCA $#)nforation
If diff : 7 Then
$sg9o2 HQou Are =ate 9y H I diff I H "ays, Pay Fine -s.H I diff, vb'ritical
1nd If
rs.'lose
1nd If
1nd Sub
Private Sub e2itD'lic&@A
%nload $e
1nd Sub
Private Sub FormD=oad@A
connect
1nd Sub
SEA-C6.*-.2
Private Sub FormD=oad@A
connect
1nd Sub
Private Sub searchD'lic&@A
str G Hselect B from library here bnoGPH I bno.Te2t I HPTH
rs.Open str, cn, adOpen"ynamic, ad=oc&Optimistic, ad'mdTe2t
If rs.9OF And rs.1OF Then
rs.'lose
$sg9o2 H;ot foundH, vb'ritical
1lse
title.Te2t G rs[title
aname.Te2t G rs[aname
bstatus.Te2t G rs[bstatus
studid.Te2t G rs[studid
rs.'lose
1nd If
1nd Sub
.O(&LE2
Public cn As 'onnection
Public rs As -ecordset
Public str As String
Function connect@A
Set cn G ;e A"O"9.'onnection
Set rs G ;e A"O"9.-ecordset
cn.Provider G Hmicrosoft.jet.oledb...7H
cn.Open App.Path I H\H I H=ibrary.mdbH
1nd Function
L)B-A-/ .A+A'E.E+T2
*igure<14
A(( BOO32
*igure<14

*igure<34
BOO3 )SS&E2
*igure<@4
*igure<54
BOO3 -ECE)7E2

*igure<F4
*igure<G4
BOO3 SEA-C62
*igure<H4
*igure<I4
(ATABASE2
-ES&LT2
Thus the project, online library management as build and e2ecuted successfully
E, +O2 CO&-SE -E')ST-AT)O+ S/STE.
(ATE2
A).2
To implement the program for student course registration using $icrosoft 8isual
9asic0.7 and $icrosoft Access.
P-OCE(&-E
(. Select the start 6:program6:$icrosoft visual stdio0.76: $icrosoft visual
basic0.7
*. Select ne 6: standard 1<1 and clic& open.
,. "esign the form* to register the student as academic and personal details in
their registration.
.. "esign the form, and form. as per the department details from that college.
/. "esign the form/ to display the student detail from the entered information.
0. "esign the form0 as search that particular register number available in the data base.
3. Type the coding and lin& that particular one.
4. Select the start 6:program6:$s6access6:create ne database and enter the field
name, data type and description.
5. ?oto control panel6:Administrative Tools6:"ata sourse@O"9'A6:add the database
$s access driver@B.mdbA select the source and clic& o&.


&SECASE ()A'-A.2
Data <or Registration
Search
Administrator
If <ound Displa% ?sg ,o Admin
?essage passing to admin
Database
If Not <ound Displa% ?sg
)+TE-ACT)O+ ()A'-A.
A4 SE5&E+CE ()A'-A.2
Administrator Database
Registration details
Record registered
Searching for data
Displa%s data or data not found
B4 COLLABO-AT)O+ ()A'-A.2
Administrator
#nter Registration
Details
Registrated In
Data3ase
!" #nter ,he details
$" Information stored in
Data3ase
&" Regisered info ?sg Displa%ed ,o
Admin
'" Searching for registered data
(" Displa%s the registered data or displa%s data not found
STATE .AC6)+E ()A'-A.
AA ACT)7)T/ ()A'-A.2
S,AR,
Administrator
Registration Searching
Database
#ND
B4 STATE ()A'-A.2
S,AR,
Administrator
Registering
data
Database
#ND
Data
registered
S,AR,
Administrator
Search
data
Database
Displa%s data or
data not found
#ND
CO()+'2
.A)+.fr
Private Sub 'ommand(D'lic&@A
-1?IST-ATIO;.Sho
$AI;.Jide
1nd Sub
-egi!tration.fr
Private Sub 'ommand.D'lic&@A
Adodc(.-ecordset.Add;e
'ommand..8isible G False
'ommand*.8isible G True
1nd Sub
Private Sub 'ommand(D'lic&@A
If ;ot -1?IST-ATIO;.9ranch.=istInde2 G ( Then
$sg9o2 HhaiH
'S.Sho
1lse
IT.Sho
1nd If
1nd Sub
Private Sub 'ommand*D'lic&@A
If SS=' SG /5 And JS' SG /5 Then
a G $sg9o2@Hyou are not eligible for registrationH, vbInformationA
1lse
a G $sg9o2@H-egistration doneH, vbInformationA
1nd If
Adodc(.-ecordset.%pdate
1nd Sub
Private Sub 'ommand,D'lic&@A
Search.Sho
1nd Sub
CS.fr
Private Sub 'ommand(D'lic&@A
'S.Jide
-1?IST-ATIO;.Sho
1nd Sub
)T.fr
Private Sub 'ommand(D'lic&@A
IT.Jide
-1?IST-ATIO;.Sho
1nd Sub
Search.fr
Private Sub 'ommand(D'lic&@A
Eith Search
.Adodc(.-ecordSource G HSelect B From -egister Ehere -eg;oGH I
Trim@Search.Te2t(.Te2tA
.Adodc(.-efresh
If .Adodc(.-ecordset.1OF G True Then
$sg9o2 H;ot FoundH, vbInformation
1lse
Search-esult.Sho
1nd If
1nd Eith
1nd Sub
*O-. (ES)'+
-ES&LT
Thus the program for student course registration using $icrosoft 8isual
9asic 0.7 and $icrosoft Access has been successfully e2ecuted.
E, +O2 -E.OTE P-OCE(&-E CALL
(ATE2
A).2
To develop softare for implementing remote procedures call by using softare
engineering methodology.
(ESC-)PT)O+2
1. &SE CASE ()A'-A.2
Stoc& in charge updates the stoc& list.
Stoc& in charge sells product to the customer.
'ustomer buys the same product.
1. )+TE-ACT)O+ ()A'-A.2
A4 SE5&E+CE ()A'-A.2
'ustomer re!uires some items stoc& in charge the availability.
Then he provides the given list of items.
'ustomer order the items and the in charge sell the products.
B4 COLLABO-AT)O+ ()A'-A.2
'ustomer needs some re!uired items. Stoc& maintenance chec&s the
availability.
'hec&ing the items, stoc& in charge gives the list of items.
'ustomer orders the items and the stoc& in charge sells the product.
3. ).PLE.E+TAT)O+ ()A'-A.2
A4 ACT)7)T/ ()A'-A.2
'ustomer re!uired item list of stoc& In charge.
Stoc& in charge chec&s the availability.
If it is available .It gives the list of items to the customer.
'ustomer bugs those items.
Otherise cancels the item of list.
B4 STATE C6A-T ()A'-A.2
This diagram provides the separate details of stoc&.
(ATABASE (ESC-)PT)O+2
Analy)e the project and design the stoc& maintenance form.
This form provides a separate form for Add, "elete and %pdate the
stoc&.
In Add form add the stoc& details.
Similarly in "elete and %pdate form delete and update the stoc& list.
&SE ()A'-A.

user
ser/er
current process
remote /iew
chec data a/ailabilit%
connect to remote ser/er
ser/er connected
)+TE-ACT)O+ ()A'-A.
SE5&E+CE ()A'-A.
user current process remote /iew chec data
a/ailabilit%
connect to the
ser/er
ser/er
user is doing his wor
user simultaneousl% checs the remote ser/er
the user checs the a/ailabilit% of the data in the ser/er
if data is a/ailable
remote ser/er is connected to user
ser/er repl%s to user that re.uired data is a/ailable
COLLOB-AT)O+
user
current
process
remote
/iew
chec data
a/ailabilit%
connect to
the ser/er
ser/er
!" user is doing his wor
$" the user checs the a/ailabilit% of the data in the ser/er
&" user simultaneousl% checs the remote ser/er
'" if data is a/ailable
(" remote ser/er is connected to user
)" ser/er repl%s to user that re.uired data is a/ailable
STATE .AC6)+E ()A'-A.
ACT)7)T/ ()A'-A.
user
current
process
remote
/iew
chec the data
a/ailabilit%
connect
the ser/er
inform user data not
a/ailable
no
%es
STATE C6A-T ()A'-A.
user process
doing current
process
/iew remote
ser/er
as the a/ailabilit% of
data to ser/er
data present and
simultaniousaccess is done b% user
doing current
process
/iew remote
ser/er
as the a/ailabilit% of
data to ser/er
data present and
simultaniousaccess is done b% user
ser/er process
ser/er
checs the data a/ailabilit%
ases b% user
data is
present
ser/er repl%s user
data is a/ailable
remote ser/er
connected
ser/er
checs the data a/ailabilit%
ases b% user
data is
present
ser/er repl%s user
data is a/ailable
remote ser/er
connected
-ES&LT2
Thus the softare has been developed for the -emote procedure call successfully

You might also like