STUDENT INFORMATION SYSTEM 1.
1.
USECASE DIAGRAM FOR ADMIN
1.
USECASE DIAGRAM FOR STUDENT
1.
CLASS DIAGRAM
1.
SEQUENCE DIAGRAMS
1.
COLLABORATION DIAGRAMS
1.
COMPONENT DIAGRAM
1.
DEPLOYMENT DIAGRAM
LIST OF FIGURES
1
2.
ABSTRACT
The mission of the Student Informaon System po!e"t is to "e#te #n inte$#te% inte$#te%
infom#&on infom#&on
te"hno'o$( en)ionment en)ionment fo st*%ents+ ,OD + f#"*'t(+ f#"*'t(+ St#- #n% #%minist#&on. #%minist#&on. O* $o#' is to fo"*s on "*stomes+ se)i"es #n% inte$#&on fo en% *ses.
Student Informaon System /e00#se% se'fse)i"e en)ionment en)ionment fo fo st*%ents + pospe"&)e
st*%ents+ #n% emp'o(ees2 #n #%minist#&)e t#ns#"&on po"essin$ en)ionment fo *ni)esit( st#- to "on%*"t "on%*"t %#(to %#(to %#( %#( 0*siness2 0*siness2 #n infom# infom#&on &on en)ionm en)ionment ent fo #'' 'e)e's of f#"*'t( f#"*'t( #n% st#st#- to %o epo&n$+ %#t# e3t#"&on+ #n% infom#&on infom#&on #n#'(sis.
A student informaon system 4SIS5 is # so67#e #pp'i"#&on fo e%*"#&on#' est#0'ishments to m#n#$e st*%ent %#t#. St*%ent St*%ent infom#&on s(stems s(stems po)i%e "#p#0i'i&es "#p#0i'i&es fo entein$ st*%ent test #n% othe #ssessment s"oes+ 0*i'%in$ st*%ent s"he%*'es+ t#"8in$ st*%ent #9en%#n"e+ #n% m#n#$in$ m#n( othe st*%ente'#te% st*%ente'#te% %#t# nee%s in # s"hoo'+ "o''e$e o *ni)esit(
:
2.
ABSTRACT
The mission of the Student Informaon System po!e"t is to "e#te #n inte$#te% inte$#te%
infom#&on infom#&on
te"hno'o$( en)ionment en)ionment fo st*%ents+ ,OD + f#"*'t(+ f#"*'t(+ St#- #n% #%minist#&on. #%minist#&on. O* $o#' is to fo"*s on "*stomes+ se)i"es #n% inte$#&on fo en% *ses.
Student Informaon System /e00#se% se'fse)i"e en)ionment en)ionment fo fo st*%ents + pospe"&)e
st*%ents+ #n% emp'o(ees2 #n #%minist#&)e t#ns#"&on po"essin$ en)ionment fo *ni)esit( st#- to "on%*"t "on%*"t %#(to %#(to %#( %#( 0*siness2 0*siness2 #n infom# infom#&on &on en)ionm en)ionment ent fo #'' 'e)e's of f#"*'t( f#"*'t( #n% st#st#- to %o epo&n$+ %#t# e3t#"&on+ #n% infom#&on infom#&on #n#'(sis.
A student informaon system 4SIS5 is # so67#e #pp'i"#&on fo e%*"#&on#' est#0'ishments to m#n#$e st*%ent %#t#. St*%ent St*%ent infom#&on s(stems s(stems po)i%e "#p#0i'i&es "#p#0i'i&es fo entein$ st*%ent test #n% othe #ssessment s"oes+ 0*i'%in$ st*%ent s"he%*'es+ t#"8in$ st*%ent #9en%#n"e+ #n% m#n#$in$ m#n( othe st*%ente'#te% st*%ente'#te% %#t# nee%s in # s"hoo'+ "o''e$e o *ni)esit(
:
O* e#s(to*se+ inte$#te% Co''e$e #%minist#&on #pp'i"#&ons #e po)en to e%*"e &me spent on #%minist#&)e t#s8s so (o* "#n "on"ent#te on #isin$ st*%ent #"hie)ement. St*%ent Infom#&on S(stem h#)e to #""ept+ po"ess #n% $ene#te epots #""*#te'( #n% #n( point of &me #n( *se "#n $et the st*%ent infom#&on infom#&on
.
INTRODUCTION
SYSTEM! .1 BRIEF O;ER;IE/ OF T,E SYSTEM!
<
Student Informaon System /e00#se% se'fse)i"e en)ionment fo st*%ents + pospe"&)e
st*%ents+ #n% emp'o(ees2 #n #%minist#&)e t#ns#"&on po"essin$ en)ionment fo *ni)esit( st#- to "on%*"t %#(to %#( 0*siness2 #n infom#&on en)ionment fo #'' 'e)e's of f#"*'t( #n% st#- to %o epo&n$+ %#t# e3t#"&on+ #n% infom#&on #n#'(sis.
A student informaon system 4SIS5 is # so67#e #pp'i"#&on fo e%*"#&on#' est#0'ishments to m#n#$e st*%ent %#t#. St*%ent infom#&on s(stems po)i%e "#p#0i'i&es fo entein$ st*%ent test #n% othe #ssessment s"oes+ 0*i'%in$ st*%ent s"he%*'es+ t#"8in$ st*%ent #9en%#n"e+ #n% m#n#$in$ m#n( othe st*%ente'#te% %#t# nee%s in # s"hoo'+ "o''e$e o *ni)esit(
The mission of the Student Informaon System po!e"t is to "e#te #n inte$#te%
infom#&on
te"hno'o$( en)ionment fo st*%ents+ ,OD + f#"*'t(+ St#- #n% #%minist#&on. O* $o#' is to fo"*s on "*stomes+ se)i"es #n% inte$#&on fo en% *ses.
O* e#s(to*se+ inte$#te% Co''e$e #%minist#&on #pp'i"#&ons #e po)en to e%*"e &me spent on #%minist#&)e t#s8s so (o* "#n "on"ent#te on #isin$ st*%ent #"hie)ement. St*%ent Infom#&on S(stem h#)e to #""ept+ po"ess #n% $ene#te epots #""*#te'( #n% #n( point of &me #n( *se "#n $et the st*%ent infom#&on
.2 AD;ANTAGES St*%ent Infom#&on S(stem 4SIS5 ;ision= 1.
Po)i%e 0e9e se)i"es to st*%ents+ f#"*'t(+ st#-+ pospe"&)e st*%ents+ #%minist#&on+ et".
1.
Po)i%e me#nin$f*'+ "onsistent+ #n% &me'( %#t# #n% infom#&on to en% *ses.
1.
Pomote )ision of senio m#n#$ement to #%%ess oppot*ni&es fo "h#n$e.
1.
Up%#te te"hno'o$( inf#st*"t*e fo moe e-e"&)e #n% >e3i0'e %e'i)e( of ne7 s(stems.
1.
Pomote e?"ien"ies 0( "on)e&n$ p#pe po"esses to e'e"toni" fom.
2.
MOTI;ATION
@
The mission of the st*%ent infom#&on s(stem po!e"t is to "e#te #n inte$#te% infom#&on te"hno'o$( en)ionment st*%ent+ ,OD+ f#"*'t(+ st#- #n% #%minist#&on. O* $o#' is to fo"*s on "*stomes+ se)i"es #n% inte$#&on fo en% *ses.
.
PROBLEMSTATEMENT
1.
E-e"&)e fo A%minist#&on p*pose
2.
Che#p
.
Be9e Se)i"e
".
PROBLEM OBECTI;ES
1.
Impo)e ope#&on#' Ste#m'inin$ ope#&ons
2.
M#int#in st*%ents %#t#0#se
.
M#int#in $'o0#' st#n%#%s
".
Re%*"e M#npo7e
1.
A""*#"(
2.
Be9e se)i"e
.
Impo)e% m#n#$ement #n% "onto'
".
Ne#t fom#9e% epot
#.
REQUIREMENT ANALYSIS
SOFT/ARE REQUIREMENT SPECIFICATION
$.1 SOFT/ARE REQUIREMENT 1.
L#n$*#$e
!:s%81.
2.
:ee te"hno'o$ies
.
Font En%
,tm'
".
B#"8 En%
O#"'e 1$
Se)'ets
#.
P'#om
%.
App'i"#&on se)e
/in%o7s HP Tom"#t .
$.2 ,ARD/ARE REQUIREMENT 1.
Po"esso
Inte' Pen&*m i)
2.
RAM
<: GB
.
,#% Dis8
1 GB
".
e( Bo#%
11 8e(s
#.
Mo*se
An( poin&n$ %e)i"e
J
%.
1.
TESTING
11.1 TESTING MET,ODOLOGY DESCRIPTION Introdu&on!
Tes&n$ is one of the most impot#nt ph#ses in the so67#e %e)e'opment #"&)it(. In so67#e %e)e'opment 'ife "("'e 4SDLC5+ the m#in #im of tes&n$ po"ess is the K*#'it(2 the %e)e'ope% so67#e is teste% #$#inst #9#inin$ the eK*ie% f*n"&on#'it( #n% pefom#n"e.
D*in$ the tes&n$ po"ess the so67#e is 7o8e% 7ith some p#&"*'# test "#ses #n% the o*tp*t of the test "#ses #e #n#'(e% 7hethe the so67#e is 7o8in$ #""o%in$ to the e3pe"t#&ons o not. The s*""ess of the tes&n$ po"ess in %eteminin$ the eos is most'( %epen%s *pon the test "#se "itei#+ fo tes&n$ #n( so67#e 7e nee% to h#)e # %es"ip&on of the e3pe"te% 0eh#)io* of the s(stem #n% metho% of %eteminin$ 7hethe the o0se)e% 0eh#)io* "onme% to the e3pe"te% 0eh#)io*.
2.
'e(e)s of tesn*!
Sin"e the eos in the so67#e "#n 0e in!*e% #t #n( st#$e. So+ 7e h#)e to "#( o*t the tes&n$ po"ess #t %i-eent 'e)e's %*in$ the %e)e'opment. The 0#si" 'e)e's of tes&n$ #e Unit+ Inte$#&on+ S(stem #n% A""ept#n"e Tes&n$.
The Unit Tes&n$ is "#ie% o*t on "o%in$. ,ee %i-eent mo%*'es #e teste% #$#inst the spe"i"#&ons po%*"e% %*in$ %esi$n fo the mo%*'es. In "#se of inte$#&on tes&n$ %i-eent teste% mo%*'es #e "om0ine% into s*0 s(stems #n% teste% in "#se of the s(stem tes&n$ the f*'' so67#e is teste% #n% in the ne3t 'e)e' of tes&n$ the s(stem is teste% 7ith *se eK*iement
%o"*ment pep#e% %*in$ SRS.
Thee #e t7o 0#si" #ppo#"hes fo tes&n$. The( #e Fu&ona) tesn* = In F*n"&on#' Tes&n$ test "#ses #e %e"i%e% so'e'( on the 0#sis of
eK*iements of the po$#m o mo%*'e #n% the inten#'s of the po$#m o mo%*'es #e not "onsi%ee% fo se'e"&on of test "#ses. This is #'so "#''e% B'#"8 Bo3 Tes&n$ Stru&tura) Tesn* ! In St*"t*#' Tes&n$ test "#ses #e $ene#te% on #"t*#' "o%e of the
po$#m o mo%*'e to 0e teste%. This is "#''e% /hite Bo3 Tes&n$.
. Tesn* +ro&ess
A n*m0e of #"&)i&es m*st 0e pefome% fo tes&n$ so67#e. Tes&n$ st#ts 7ith test p'#n. Test p'#n i%en&es #'' tes&n$ e'#te% #"&)i&es th#t nee% to 0e pefome% #'on$ 7ith the s"he%*'e #n% $*i%e 'ines fo tes&n$. The p'#n #'so spe"ies the 'e)e's of tes&n$ th#t nee% to 0e %one+ 0( i%en&f(in$ the %i-eent tes&n$ *nits. Fo e#"h *nit spe"ie% in the p'#n st the test "#ses #n% epots #e po%*"e% These epots #e #n#'(e%
.
Test ,)an!
Test p'#n is # $ene#' %o"*ment fo en&e po!e"t+ 7hi"h %enes the s"ope+ #ppo#"h to 0e t#8en #n% the peson#' esponsi0'e fo %i-eent #"&)i&es of tes&n$. The inp*ts fo fomin$ test p'#ne #e #s fo''o7s. 1.
Po!e"t p'#n
2.
ReK*iements %o"*ment
.
S(stem %esi$n
TEST CASES Test &ase s,e&i-&aon
A'tho*$h thee is one test p'#n fo en&e po!e"t test "#ses h#)e to 0e spe"ie% sep##te'( fo e#"h test "#se. Test "#se spe"i"#&on $i)es fo e#"h item to 0e teste%. A'' test "#ses #n% o*tp*ts e3pe"te% fo those test "#ses
.
Test ase e/e&uon and Ana)ysis
The steps to 0e pefome% fo e3e"*&n$ the test "#ses #e spe"ie% in sep##te %o"*ment "#''e% test po"e%*e spe"i"#&on. This %o"*ment spe"if( #n( spe"if( eK*iements th#t e3ist fo sen$ the test en)ionment #n% %es"i0es the metho%s #n% fom#ts fo epo&n$ the es*'ts of tes&n$.
Unit tes&n$ ! Unit tes&n$ m#in'( fo"*se% st in the sm#''est #n% 'o7 'e)e' mo%*'es+ po"ee%in$ one #t # &me. Bo9om*p tes&n$ 7#s pefome% on e#"h mo%*'e. As %e)e'opin$ # %i)e po$#m+ th#t tests mo%*'es 0( %e)e'ope% o *se%. B*t fo the p*pose of tes&n$+ mo%*'es themse')es 7ee *se% #s st*0s+ to pint )ei"#&on of the #"&ons pefome%. A6e the 'o7e 'e)e' mo%*'es 7ee teste%+ the mo%*'es th#t in the ne3t hi$he 'e)e' those m#8e *se of the 'o7e mo%*'es 7ee teste%. E#"h mo%*'e 7#s teste% #$#inst eK*ie% f*n"&on#''( #n% test "#ses 7ee %e)e'ope% to test the 0o*n%#( )#'*es.
Inte$#&on tes&n$ Inte$#&on tes&n$ is # s(stem#&" te"hniK*e fo "onst*"&n$ the po$#m st*"t*e+ 7hi'e #t the s#me &me "on%*"&n$ tests to *n"o)e eos #sso"i#te% 7ith intef#"in$. As the s(stem "onsists of the n*m0e of mo%*'es the intef#"e to 0e teste% 7ee 0et7een the e%$es of the t7o mo%*'es. The so67#e teste% *n%e this 7#s in"ement#' 0o9om*p #ppo#"h. Bo9om*p #ppo#"h inte$#&on st#te$( 7#s imp'emente% 7ith the fo''o7in$ steps. 1.
Lo7 'e)e' mo%*'es 7ee "om0ine% into "'*stes th#t pefom spe"i" so67#e s*0 f*n"&ons.
2.
The "'*stes 7ee then teste%.
1
S(stem tes&n$ S(stem tes&n$ is # seies of %i-eent tests 7hose pim#( p*pose is to f*''( e3e"ise the "omp*te 0#se% s(stem. It #'so tests to n% %is"ep#n"ies 0et7een the s(stem #n% its oi$in#' o0!e"&)e + "*ent spe"i"#&ons
.
11
.
MAINTENANCE
Maintenan&e the '#st ph#se in the so67#e en$ineein$ po"ess. As moe po$#ms #e %e)e'ope%+ # %isti0*&n$ ten% h#s eme$e% the #mo*nt of e-ot #n% # eso*"e e3pen%e% on so67#e m#inten#n"e is $o7in$. In tot#' po!e"t %e)e'opment m#inten#n"e t#8es of e-ot. In so67#e m#inten#n"e thee #e fo* t(pes. The( #e 1.
Ada,(e Maintenan&e
2.
orre&(e Maintenan&e
.
+erfe&(e Maintenan&e
".
+re(en(e Maintenan&e Ada,(e Maintenan&e is #pp'ie% 7hen "h#n$es in the e3ten#' en)ionment pe"ipit#te
mo%i"#&ons to so67#e. It %e#'s 7ith #%#p&n$ the so67#e to ne7 en)ionments. +erfe&(e Maintenan&e in"opo#tes enh#n"ements th#t #e eK*este% 0( *se "omm*nit(. It %e#'s
7ith *p%#&n$ the so67#e #""o%in$ to "h#n$es in *se eK*iements. orre&(e Maintenan&e #"ts to "oe"t eos th#t #e *n"o)ee% #6e the so67#e is in *se. It
%e#'s 7ith 3in$ 0*$s in the "o%e. +re(en(e Maintenan&e impo)es f*t*e m#int#in#0i'it( #n% e'i#0i'it( #n% po)i%es # 0#sis fo
f*t*e enh#n"ement. It %e#'s 7ith *p%#&n$ %o"*ment#&on #n% m#8in$ the so67#e moe m#int#in#0'e. T#s8s pefome% %*in$ the so67#e en$ineein$ po"ess %ene m#int#in#0i'it( #n% h#)e #n impot#nt imp#"t in the s*""ess of #n( m#inten#n"e #ppo#"h. Re)ese En$ineein$ #n% Reen$ineein$ #e the too's #n% te"hniK*es *se% to m#int#in the po!e"t. Thee #e fo* m#!o po0'ems th#t "#n s'o7 %o7n the m#inten#n"e po"ess 1.
Unstru&tured ode
2.
Maintenan&e ,ro*rammers 0a(in* insu&ient no3)ed*e of t0e system
.
Do&umentaon 4ein* a4sent
".
Out of Date5 or at 4est insu&ient
The s*""ess of the m#inten#n"e ph#se e'ies on these po0'ems 0ein$ 3e% e#'ie in the 'ife "("'e
1:
#include
#include #include #include #include #include struct strudent { char name[60]; int id; int mark[5]; float gp[5]; char grade[2]; 1<
st[5];
!oid menu"; !oid menu$"; !oid menu2"; !oid mouse"; !oid mouse$"; !oid mouse2"; !oid message"; !oid single%info"; !oid multi%info"; !oid single%result"; !oid !ie&%all"; int check"int mrk; float s%gp"int mrk; !oid grd"float gpa$'int i; !oid output"int i; unsigned initmouse"; !oid sho&mouse"; !oid hidemouse"; !oid restrictmouse"int ($'int )$'int (2'int )2; !oid getmouse"int *+utton'int *('int *); !oid main" { clrscr"; 1@
menu"; !oid menu" { char mnu[,0]; int gd-0'gm; initgraph"gd'
gm'/.13/;
rectangle"60',50'400'60; rectangle"$45'$,0',00'$00; rectangle"$45'$0',00'$60; rectangle"250'20',50'250; setcolor"$0; sprintf"mnu'/ 789:8 =798 7?78@/; sette(tst)le"8=3AB%CD8'0'5; outte(t"mnu;
setcolor"$,; sprintf"mnu'/@E3 @9/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$F0'F0'mnu;
setcolor"$2; sprintf"mnu'/789:8 3CD/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$60'$0,'mnu;
1
setcolor"$2; sprintf"mnu'/G3H =798/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$64'$6,'mnu;
setcolor"?DH; sprintf"mnu'/B38/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"20'25,'mnu; message"; mouse"; !oid mouse" { int (')'+utton; if"initmouse"--0 { printf"/@ouse support una!aila+le/; return; restrictmouse"0'0'650'45; sho&mouse"; &hile"$ { getmouse"+utton'('); if"(>-$44(<-,0$)>-$00)<-$2+utton--$ 1
{ closegraph"; clrscr"; menu$"; else if"(>-$44(<-,0$)>-$5)<-$0+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; clrscr"; menu2"; else if"(>-24(<-,52)>-24)<-2$+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; +reak; !oid menu$" { char mnu[,0]; int gd-0'gm; 1J
initgraph"gd'
gm'/.13/;
rectangle"60',50'400'60; rectangle"$45'$,0',00'$00; rectangle"$45'$0',00'$60; rectangle"250'20',50'250; rectangle"0'20'$5'250; setcolor"$0; sprintf"mnu'/789:8 BE@3E83D 7?78@/; sette(tst)le"8=3AB%CD8'0'5; outte(t"mnu;
setcolor"$,; sprintf"mnu'/789:8 3CD=@E83D/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$25'F0'mnu;
setcolor"$2; sprintf"mnu'/73 789:8/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$4'$0,'mnu;
setcolor"$2; sprintf"mnu'/@983 789:8/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$5,'$6,'mnu;
1
setcolor"?DH; sprintf"mnu'/@E3 @9/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"6'25,'mnu;
setcolor"?DH; sprintf"mnu'/B38/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"20'25,'mnu; message"; mouse$"; !oid mouse$" { int (')'+utton; if"initmouse"--0 { printf"/@ouse support una!aila+le/; return; restrictmouse"0'0'650'45; sho&mouse"; &hile"$ { getmouse"+utton'('); goto()",5'20; 1
if"(>-$44(<-,0$)>-$00)<-$2+utton--$ { closegraph"; clrscr"; single%info"; else if"(>-$44(<-,0$)>-$5)<-$0+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; clrscr"; multi%info"; else if"(>-24(<-,52)>-24)<-2$+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; +reak; else if"(>-F(<-$6)>-24)<-2$+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; :
menu"; !oid single%info" { int i'J-K$; printf"/nnter ameL/; gets"st[0].name; printf"/nnter idL/; scanf"/Md/'st[0].id; for"i-0;i<5;iNN { printf"/nnter Md @arkL/'iN$; scanf"/Md/'st[0].mark[i]; J-check"st[0].mark[i]; if"J--$ { printf"/n?ou nter 3n!alid input./; printf"/A=77 E? O? 8D B38./; getch"; e(it"0; menu"; :1
!oid multi%info" { int i'J-K$'k; for"k-0;k<5;kNN { printf"/nnter Md ameL/'kN$; scanf"/Ms/'st[k].name; printf"/nnter idL/; scanf"/Md/'st[k].id; for"i-0;i<5;iNN { printf"/nnter Md @arkL/'iN$; scanf"/Md/'st[k].mark[i]; J-check"st[k].mark[i]; if"J--$ { printf"/n?ou nter 3n!alid input./; printf"/A=77 E? O? 8D B38./; getch"; e(it"0; menu"; int check"int mrk ::
{ if"mrk>$00 PP mrk<0 return $; else return 0;
!oid menu2" { char mnu[,0]; int gd-0'gm; initgraph"gd'
gm'/.13/;
rectangle"60',50'400'60; rectangle"$45'$,0',00'$00; rectangle"$45'$0',00'$60; rectangle"250'20',50'250; rectangle"0'20'$5'250; setcolor"$0; sprintf"mnu'/ 789:8 BE@3E83D 7?78@/; sette(tst)le"8=3AB%CD8'0'5; outte(t"mnu;
setcolor"$,; sprintf"mnu'/=798/; sette(tst)le"8=3AB%CD8'0'$; :<
outte(t()"$0'F0'mnu;
setcolor"$2; sprintf"mnu'/73 =798/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$55'$0,'mnu;
setcolor"$2; sprintf"mnu'/G3H E/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"$0'$6,'mnu;
setcolor"?DH; sprintf"mnu'/@E3 @9/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"6'25,'mnu;
setcolor"?DH; sprintf"mnu'/B38/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"20'25,'mnu; message"; mouse2"; !oid mouse2" { :@
int (')'+utton; if"initmouse"--0 { printf"/@ouse support una!aila+le/; return; restrictmouse"0'0'650'45; sho&mouse"; &hile"$ { getmouse"+utton'('); goto()",5'20; if"(>-$44(<-,0$)>-$00)<-$2+utton--$ { closegraph"; clrscr"; single%result"; else if"(>-$44(<-,0$)>-$5)<-$0+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; clrscr"; !ie&%all"; :
else if"(>-24(<-,52)>-24)<-2$+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; e(it"0; else if"(>-F(<-$6)>-24)<-2$+utton--$IIchecks if e(it +utton is pressed or not { closegraph"; menu"; !oid single%result" { int id$'i'flag-K$'J; float total%gp-0'gpa; printf"/nter 3dL/; scanf"/Md/'id$; for"i-0;i<5;iNN if"id$--st[i].id { flag-$; :
+reak; if"flag--$ { for"J-0;J<5;JNN { st[i].gp[J]-s%gp"st[i].mark[J]; total%gpN-st[i].gp[J]; gpa-total%gpI5; grd"gpa'i; output"i; printf"/nAress an) ke) to continue......./; getch"; menu2"; else { printf"/D8 CD9:./; printf"/nAress an) ke) to continue......./; getch"; menu2";
!oid !ie&%all" :J
{ float total%gp'gpa; int i'J; for"i-0;i<5;iNN { total%gp-0; for"J-0;J<5;JNN { st[i].gp[J]-s%gp"st[i].mark[J]; total%gpN-st[i].gp[J]; gpa-total%gpI5; grd"gpa'i; getch"; for"i-0;i<5;iNN { printf"/n Md student/'iN$; printf"/n7tudent nameLMs/'st[i].name; printf"/n7tudent 3dLMd/'st[i].id; printf"/n7tudent radeLMs/'st[i].grade; printf"/nAress an) ke) to continue......./; getch"; menu2"; :
float s%gp"int mrk { float gp; if"mrk> gp-4; else if"mrk>F gp-,.F5; else if"mrk>6 gp-,.5; else if"mrk>5 gp-,.25; else if"mrk>4 gp-,; else gp-0; return gp; !oid grd"float gpa$'int i { if"gpa$--4 strcp)"st[i].grade'/EN/; else if"gpa$>-,.F5 strcp)"st[i].grade'/E/; else if"gpa$>-,.5 strcp)"st[i].grade'/EK/; else if"gpa$>-,.25 :
strcp)"st[i].grade'/1N/; else if"gpa$>-, strcp)"st[i].grade'/1/; if"gpa$<, strcp)"st[i].grade'/C/; !oid output"int i { clrscr"; printf"/n7tudent ameLMs/'st[i].name; printf"/n7tudent 3:LMd/'st[i].id; printf"/n7tudent radeLMs/'st[i].grade;
!oid message" { char mnu[,0]; setcolor"HQ38; rectangle"6,F',50'420'60; setcolor"$$; sprintf"mnu'/@E: 1?L/; sette(tst)le"8=3AB%CD8'0'$; outte(t()"440'60'mnu;
sprintf"mnu'/
?E7QD:E/;
outte(t()"440'$00'mnu; <
sprintf"mnu'/
=oll oL20,0/;
outte(t()"440'$40'mnu;
sprintf"mnu'/
RlassL 1 RD@K33"REG/;
outte(t()"440'$0'mnu;
unsigned initmouse" { %EB-0; geninterrupt"0(,,;
IIenerate 3npterrupt
return %EB;
!oid sho&mouse" { %EB-$; geninterrupt"0(,,;
!oid hidemouse" { <1
%EB-2; geninterrupt"0(,,;
!oid restrictmouse"int ($'int )$'int (2'int )2 { %EB-F; %RB-($; %:B-(2; geninterrupt"0(,,; %EB-; %RB-)$; %:B-)2; geninterrupt"0(,,;
!oid getmouse"int *+utton'int *('int *) { %EB-,; geninterrupt"0(,,; *+utton-%1B; *(-%RB; *)-%:B;
<:
<<
<@
#. 1.
CONCLUSION
The s(stem po)i%es #n e3"e''ent s*ppot to the "opo#te "'ient 0e"#*se the( "#n %ie"t'( m#i' thei po0'em on'ine.
2.
Comp*teie% s*)e(in$ s(stem po)i%es #n e#s(+ f#st #""ess #n% s*ppot fo the *ses.
.
The *s#$e of so67#e in"e#ses the e?"ien"(+ %e"e#ses the e-ot
".
It h#s 0een thoo*$h'( teste% #n% imp'emente%.
<
#.
REFERENCES <