You are on page 1of 74

A PROJECT REPORT

ON

TIME TABLE MANAGER


Submitted to

KURUKSHETRA UNIVERSITY, KURUKSHETRA


In Partial Fulfillment of Requirements for the Degree of B.Com. Computer Applications (VOC) (V emester) (SESSION 2013-2014)

Unde t!e Su"e #i$ion o%& !s. "ati harma Asstt. Prof. (Deptt. Of Comp. c. ) App.)

Submitted b'& An#ali Roll $o. %%&%'( *ni+. Roll $o.................... B.Com,III -Comp. App..

Department of Computer Science & Application

Mukand Lal National College


Yamuna Nagar -135001

CONTENTS

Certificate Acknowledgement Preface Introduction to Problem Area Objective of the Project Existing S stem !imitation of Existing S stem S stem Anal sis " #esign Pro$osed S stem Coding Out$ut Advantages of Pro$osed S stem !imitations of S stem %urther Sco$e Conclusion &eferences

'

TO WHOM IT MAY CONCERN

Certified that (s) Anjali #*o Sh) +o$al ,rishan a student of -)Com . Semester CA /.OC0 1niversit &oll 2o) )))))))))))))))))))))))))) of #e$artment of Com$uter Science and A$$lications3 ()!)2) College3 4amuna 2agar has com$leted the $roject entitled 5 TIME TABLE MANAGER" which is candidate6s original work) 7e wish her success in her life)

Ms Swati Sharma Assistant Prof) #e$tt) of Com$uter Sc) ()!)2) College 4amuna 2agar

Dr N!!ti Dar"a# 8ead3 #e$artment of Com$uter Sc) ()!)2) College 4amuna 2agar

Dr Shai#!sh Ka$%%r Princi$al ()!)2) College 4amuna 2agar

ACKNOWLEDGEMENT

Ex$ressing a sense of highl :ualified3 intelligent3 hard working and above all hel$ing $eo$le who have enabled me to accom$lish this might task of writing a $roject is something much more than a custom3 it is a feeling of thankfulness which comes from within me for all those big and small things that these $eo$le have done for me) %irst of all3 I would like to thank the su$reme $ower3 the almight +od who has alwa s guided us to work on the right $ath of our life) 7ithout his grace3 this $roject could not become a realit ) Secondl 3 m $arents who have alwa s ins$ired and encouraged me throughout m life) I feel obliged in taking the o$$ortunit to thank Dr Shai#!sh Ka$%%r &'ri()i$a#* and m worth thanks to Ms Swati Sharma &D!$tt %+ C%m$ S)i , A$$ * a(- Dr N!!ti Dar"a# &HOD C%m$.t!r S)i , A$$ * for their valuable su$$ort in making this $roject a realit ) Project is like a bridge between theoretical and $ractical working) 7ith this willingness3 I joined this $articular $roject) It;s a matter of great $leasure for me to submit this $roject) I would like to ex$ress m gratitude towards all those who hel$ed me to nurse this $roject from the idea stage to finished $roduct in our hands) <hough onl m name a$$ears on the cover but credit for this $roject belongs to m su$ervisors)

A(/a#i B C%m0III &CA*

'RE1ACE
In ever widening modern world3 the $resent s stem of education is facing new challenges) It is well known fact that toda is the age of com$uters) <here are so man major achievements in science " technolog fields) 2ow da s ever one is reali>ing the im$ortance of com$uter which is the achievement of modern age in fifth generation of com$uters) In the modern era of science " technolog as a $owerful nation3 India is still lagging behind due to slow advancement in com$uter technologies) <his $roblem can be overcome onl when the outh of India of the $resent generation give full co?o$eration in raising India as a $owerful nation b learning more and more com$uters)

INTRODUCTION TO 'ROBLEM AREA

<he $roject submitted is the com$uteri>ation of <ime <able (anager) -efore this3 all work was done b the 8umans) (an had to face man difficulties in doing this work manuall ) 8ere are the some of the common $roblemsA B 7e have to maintain the records of all <eachers available3 regarding their :ualification3 classes for teaching /under graduate or $ost graduate03 their subjects of teaching etc) It;s ver difficult task) 2) 7e have to maintain the records of all rooms available3 regarding their strength /seating ca$acit 0 etc) It;s ver difficult task) '0 7e re:uire number of files for maintaining the records3 and if3 in an case3 an file is mis$laced3 then it can lead to great $roblems for a man) 90 If3 in case an modification is re:uired3 then it is ver difficult for a man to make changes in all the files) =0 @0 If3 in case the de$artment catches fire3 then all the data will get lost) <here can be chances of mistakes in calculation regarding time table scheduling3 because a man is not $erfect in calculations) ,ee$ing these $oints in mind3 I have made this $roject so that the above $roblems can be easil overcomed)

OB2ECTIVES O1 THE 'RO2ECT

%ollowing are the objectives of the $rojectA B) 2) ') 9) =) @) C) D) <o know the true financial $osition of the firm <o know the Cash %low in an organi>ation) Avoid miscalculation in a firm) <o avoid fraud in a firm Cost Accounting $rovides a base for setting business $olicies) It is hel$ful in inter?firm com$arison) Internal Audit S stem) Ascertainment of Perfectibilit )

E3ISTING SYSTEM

Existing s stem is manual3 which is time consuming3 inefficient3 tedious3 and ineffective) It has several disadvantages) Problem definition is the initial $hase of s stem develo$ment life c cle which deals with a ver im$ortant :uestion i)e) what is the necessit for the change and to identif and understand the $roblem areas and domains) Problem definition includes the attem$ts made b can be ex$ected3 what interfaces are to be established) 7hat design constraints exists and what validation criteria are re:uired to define a successful s stem) <he techni:ues for gaining this information include observation of $roblem task and actual $erformance of task b the $lanner) <he ke re:uirement of the s stem and software are identified) software develo$er to identif what

information is to be $rocessed and $erformance are re:uired3 what t $e of s stem behaviour

LIMITATIONS O1 E3ISTING SYSTEM

B) 2) ')

Installing the com$uter re:uires a grueling and ex$ensive task of s stem anal sis and design) <he initial investment can be ver high though this can be mitigated to some extent) Since the lead time of installing is long and the hardware technolog is ra$idl advancing field3 some of the $eri$heral com$onents ma be rendered obsolete before even the are installed)

9) =) @) C)

<he need to obtain standb facilities in the event of breakdown of an $art of the com$uter s stem) (anual s stems though slow are vastl S stem) It is extremel difficult to obtain skilled anal sis and $rogrammers because of the increasing demand for them) -ecause of the s$eed develo$ment of new technolog in the field of electronics and electronic com$uters in $articular3 com$uter ma be technologicall obsolete before it is installed) flexible as com$ared to Com$uteri>ed

D)

!ack of judgementA Com$uter does not $ossess an judgement which has to be built into it b means of several $rogram checks) <his lead to investigation and re$rocessing of erroneous transactions)

E) BF) BB)

8uman beings can taken great man factors into) Cogni>ance which would be difficult to $rogram for the com$uter) <hus at higher levels3 E#P does not find much use) Com$uter does not have the learning abilit of the human beings)

BF

SYSTEM ANALYSIS AND DESIGN


SYSTEM A s stem is a set of integrated elements that res$ond the in$ut and $roduce some out$ut) THE BASIS SYSTEM ELEMENTS <he term anal sis is used to desirable the detailed stud of various o$erations $erform b as s stem and their relationshi$ within and outside of the s stem3 during anal sis data are collected on available files3 decision $oints and transactions handled b $resent s stem) <raining ex$erience and common sense are re:uired to collect information needed to do anal sis) #esign means a final s stem and the $rocess b which it is develo$ed designing includes technical s$ecifications3 constructions of $rograms and in what format) Secondl 3 in$ut data a master files have being designed to need the re:uirements of $ro$osed out$uts) %inall 3 re$ort includes $rocedural flowcharts3 record la outs3 re$ort la outs and a workable $lan for im$lementing the candidate s stem) SYSTEM DESIGN #esigning an thing is it $h sical3 arithmetic or social3 it is creative $rocess) S stem design is a logical a$$roach3 which im$lies S stematic move towards the end $roject3 each ste$ being the result of decision3 based u$on the $revious ste$) In fact $racticall efficienc 3 least cost3 flexibilit and securit are the main objectives3 which should kee$ in mind at the time of design of the s stem) %or accurate s stem design3 one should know the exact nature of out$ut needed and it;s exact la out needed3 s$ecification for in$ut is made and then logic is develo$ed and la out of files to be used is determined) <here are three $hases of the database design) %ile design In$ut design

BB

Out$ut design 1ILE DESIGN <his is the most im$ortant $art of the s stem design) S stem design is based on the s stem anal sis while designing the files care have been taken to the grou$ of data items in such a manner so as to avoid du$lication the file design begins with the name of database file3 the sure of the file3 the fre:uenc of getting in$ut to that $articular file) IN'UT DESIGN +reat care should be taken in designing the in$ut so that there should be no conflicts in the out$ut OUT'UT DESIGN <he major concern of the user in s stem is alwa s with the out$ut3 therefore the out$ut design must be designed intelligible and decision Im$elling) Once out$ut re$ort formats and contents have been fixed the s stem anal st can work backward and draw the in$uts3 going further back3 the s stem anal st would evolve suitable $rocedures and design the forms to ca$tures the in$ut data organi>ation) 1EASIBILITY ANALYSIS <he feasibilit is necessar to determine whether the $ro$osed s stem is feasible considering the technical3 o$erational and economic factor) TECHNICAL 1EASIBILITY <echnical %easibilit is related with the re:uired hardware and software6s availabilit in the market domain) %or $ro$er im$lementation of an s stem3 it should be technical feasible) ECONOMIC 1EASIBILITY Securit is essential re:uirement for an s stem) !eakage in securit can result to huge losses) <he $ro$osed s stem guarantees securit integrit and thus it is economic feasible) O'ERATIONAL 1EASIBILITY b means of authentication3 the data

B2

<he s stem has a +1I interface3 which interacts with the user hiding the internal com$lexit of the s stem) <he $ro$osed s stem is used and hence the s stem is feasible o$erationall )

B'

'RO'OSED SYSTEM

<he objective is to com$uteri>e the manual s stem or the current s stem to im$rove the functionalit ) (ain objective is to $rovide all sort of :ueries and re$orts which is re:uired b the de$artment) <he 1ser has the right to add the new record3 delete the record3 u$date the record etc) If we handle the s stem manuall 3 a large number of man $owers are re:uired) 7ith com$uteri>ation s stem man$ower ma be saved) <ime ma also be saved) &educing the time factor for $a ment if mone 3 com$uter will do the job accuratel 3 efficientl and in time u$ to date information ma be obtained from com$uter an time) <he out$ut generated b the com$uter will be in tabulated from which will be understood more clearl ) 2eatl t $ed results will be taken hence making the reading eas ) (ulti$le co$ies can be generated at a time3 thus saving the time) In order to success an record it will onl re:uire to give a suitable command to the com$uter and the desired record will either be dis$la ed on the screen or $rinter)

B9

CODING
*GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG 5<8E SC8E#1!E&5 <8E P&OHEC< IS (A#E %O& <8E EIEC1<IO2 O% <I(E <A-!ES) A CO((O2 P&O-!E( A&ISES <8A< A CO((O2 &OO( O& A CO((O2 <EAC8E& IS S8A&E# -4 <7O O& (O&E C!ASSES) <8IS P&OHEC< IS <O SO!.E P&O-!E(S !I,E <8IS) GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG8EA#E& %I!ESGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* JincludeKgra$hics)hL JincludeKstdio)hL JincludeKconio)hL JincludeKstring)hL *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG!E<S S<A&<GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGG<8E 7E!CO(E SC&EE2GGGGGGGGGGGGGGGGGGGGGGGGGGGGG* void first/0 M int gdN#E<EC<3gmO initgra$h/"gd3"gm35cAPPtcPPbgi50O setcolor/+&EE20O settextst le/93F3D0O outtextx /2FF3=F35<I(E50O setcolor/4E!!O70O settextst le/93F3D0O outtextx /BFF3BEF35SC8E#1!E&50O

B=

settextst le/B3F3B0O setcolor/&E#0O outtextx /9DF3'=F35<ime <able50O setcolor/-!1E0O outtextx /9DF3'CF35(gmt)S stem50O getch/0O restorecrtmode/0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG7O&, -E+I2SGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGG%12C<IO2 %O& <8E 6(AI2 (E216GGGGGGGGGGGGGGGGGGGGGGG* char file/0 M int gdriverN#E<EC<3 gmodO char iO initgra$h/"gdriver3"gmod35cAPPtcPPbgi50O setcolor/&E#0O rectangle/BCF3D=39'F3'D=0O rectangle/BC=3EF3 92=3'DF0O setcolor/+&EE20O settextst le/C3F390O outtextx /B'F39=35<I(E <A-!E (A2A+E&50O settextst le/C3F3'0O setcolor/4E!!O70O outtextx /2@F3E=35(E2150O settextst le/F3F3F0O setcolor/(A+E2<A0O outtextx /2FF3B9=35BLLE2<E& <EAC8E&)50O outtextx /2FF3BCF352LLE2<E& &OO()50O outtextx /2FF3BE=35'LL&E(O.E <EAC8E&)50O outtextx /2FF322F359LL&E(O.E &OO()50O outtextx /2FF329=35=LL.IE7 <EAC8E&)50O outtextx /2FF32CF35@LL.IE7 &OO()50O B@

outtextx /2FF32E=35CLLC&EA<E <I(E <A-!E)50O outtextx /2FF3'2F35DLL.IE7 <I(E <A-!E)50O outtextx /2FF3'9'35FLLEII<)50O setcolor/+&EE2R-!I2,0O outtextx /2FF3'@F35E2<E& 4O1& C8OICEA50O iNgetche/0O restorecrtmode/0O return /i0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGO1<!I2ESGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGG<8E CO((O2 #ISP!A4 %&A(EGGGGGGGGGGGGGGGGGGGGGGGG* void frame/0 M int x3 3i3jO clrscr/0O xNFO NFO for/iNFOiKCDOiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc532F=0O xRRO Q xNFO N2=O for/iNFOiKDFOiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc532F=0O xRRO Q BC

xNBO NBO for/iNFOiK2=OiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc53BD@0O RRO Q xNCEO NBO for/iNFOiK2=OiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc53BD@0O RRO Q gotox /B3B0O c$rintf/5Sc532FB0O gotox /B32=0O c$rintf/5Sc532FF0O gotox /CE3B0O c$rintf/5Sc53BDC0O gotox /CE32=0O c$rintf/5Sc53BDD0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGG<EAC8E& CO(ESGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGO1<P1< %O& <EAC8E&6S #A<ASGGGGGGGGGGGGGGGGGGGGGGGGGG* void teacher/0 M int iO BD

struct teacher M char namT2=U3subTB=U3roomTB=UO QtO %I!E Gf$O f$Nfo$en/5teacher)txt535r50O if/f$NN21!!0 M gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O exit/0O Q frame/0O textcolor/+&EE20O gotox /=320O c$rintf/52ame50O gotox /'=320O c$rintf/5Subject50O gotox /@D320O c$rintf/5Choice50O for/iN'OiKNCCOiRR0 M textcolor/4E!!O70O gotox /i3'0O c$rintf/5?50O Q iN9O while/fscanf/f$35Ss Ss Ss 53t)nam3t)sub3t)room0VNEO%0 M gotox /=3i0O $rintf/5Ss53t)nam0O gotox /'=3i0O $rintf/5Ss53t)sub0O BE

gotox /@D3i0O $rintf/5Ss53t)room0O iRRO if/i L 2F0 M clrscr/0O frame/0O textcolor/+&EE20O gotox /=320O c$rintf/52ame50O gotox /'=320O c$rintf/5Subject50O gotox /@D320O c$rintf/5Choice50O for/iN'OiKNCCOiRR0 M textcolor/4E!!O70O gotox /i3'0O c$rintf/5?50O Q iN9O Q Q fclose/f$0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG&OO( OPE2SGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGO1<P1< %O& &OO(6S #A<ASGGGGGGGGGGGGGGGGGGGGGGGGGGG* void room/0 M struct room M int ca$O 2F

char rtT2FU3rnTB=UO QrO int iO %I!E Gf$O clrscr/0O f$Nfo$en/5room)txt535r50O if/f$NN21!!0 M gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O exit/0O Q frame/0O textcolor/+&EE20O gotox /=320O c$rintf/5&oom50O gotox /'=320O c$rintf/5&oom Code50O gotox /@D320O c$rintf/5Ca$acit 50O for/iN'OiKNCCOiRR0 M textcolor/4E!!O70O gotox /i3'0O c$rintf/5?50O Q iN9O while/fscanf/f$35Ss Ss Sd53r)rt3r)rn3"r)ca$0VNEO%0 M gotox /=3i0O $rintf/5Ss53r)rt0O gotox /'=3i0O $rintf/5Ss53r)rn0O 2B

gotox /@D3i0O $rintf/5Sd53r)ca$0O iRRO if/i L 2F0 M getch/0O clrscr/0O frame/0O textcolor/+&EE20O gotox /=320O c$rintf/5&oom50O gotox /'=320O c$rintf/5&oom Code50O gotox /@D320O c$rintf/5Ca$acit 50O for/iN'OiKNCCOiRR0 M textcolor/4E!!O70O gotox /i3'0O c$rintf/5?50O Q iN9O Q Q fclose/f$0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG(AI2 %&A(EGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGG<8E <I(E <A-!E +&I#GGGGGGGGGGGGGGGGGGGGGGGGGGGGG* void frameB/0 M int x3 3i3j3hO clrscr/0O 22

frame/0O for/ N9O K2'O RN'0 M xN2O textcolor/4E!!O70O gotox /x?B3 0O c$rintf/5Sc532F90O for/iNFOiKCCOiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc532F=0O xRRO Q textcolor/4E!!O70O gotox /x3 0O c$rintf/5Sc53BD=0O Q xNDO for/jNFOjKCOjRR0 M N2O textcolor/4E!!O70O gotox /x3 ?B0O c$rintf/5Sc532F'0O for/iNFOiK2'OiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc53BD@0O RRO Q textcolor/4E!!O70O gotox /x3 0O 2'

c$rintf/5Sc532F20O xNxRBFO Q N9O for/jNFOjKCOjRR0 M xNDO for/iNFOiKCOiRR0 M gotox /x3 0O c$rintf/5Sc532F@0O xRNBFO Q RN'O Q gotox /B3B0O c$rintf/5Sc532FB0O gotox /B39E0O c$rintf/5Sc532FF0O gotox /CE3B0O c$rintf/5Sc53BDC0O gotox /CE39E0O c$rintf/5Sc53BDD0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGG<8E (AI2 #ISP!A4GGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGO1<P1< O% <8E <I(E <A-!EGGGGGGGGGGGGGGGGGGGGGGGGG* void timetable/char sem3char br0 M int i3j3x3 O struct time M char teachT2=U3subTB=U3roomT=UO 29

QtO %I!E Gf$O if/brNN6B60 switch/sem0 M case 6B6A f$Nfo$en/5semBcse)txt535r50O breakO case 626A f$Nfo$en/5sem2cse)txt535r50O breakO case 6'6A f$Nfo$en/5sem'cse)txt535r50O breakO case 696A f$Nfo$en/5sem9cse)txt535r50O breakO case 6=6A f$Nfo$en/5sem=cse)txt535r50O breakO case 6@6A f$Nfo$en/5sem@cse)txt535r50O breakO case 6C6A f$Nfo$en/5semCcse)txt535r50O breakO case 6D6A f$Nfo$en/5semDcse)txt535r50O breakO defaultA getch/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O 2=

getch/0O Q else if/brNN6260 switch/sem0 M case 6B6A f$Nfo$en/5semBece)txt535r50O breakO case 626A f$Nfo$en/5sem2ece)txt535r50O breakO case 6'6A f$Nfo$en/5sem'ece)txt535r50O breakO case 696A f$Nfo$en/5sem9ece)txt535r50O breakO case 6=6A f$Nfo$en/5sem=ece)txt535r50O breakO case 6@6A f$Nfo$en/5sem@ece)txt535r50O breakO case 6C6A f$Nfo$en/5semCece)txt535r50O breakO case 6D6A f$Nfo$en/5semDece)txt535r50O breakO defaultA getch/0O textcolor/&E#R-!I2,0O gotox /'F3B20O 2@

c$rintf/57&O2+ C8OICEVV50O getch/0O breakO Q else if/brNN6'60 switch/sem0 M case 6B6A f$Nfo$en/5semBciv)txt535r50O breakO case 626A f$Nfo$en/5sem2civ)txt535r50O breakO case 6'6A f$Nfo$en/5sem'civ)txt535r50O breakO case 696A f$Nfo$en/5sem9civ)txt535r50O breakO case 6=6A f$Nfo$en/5sem=civ)txt535r50O breakO case 6@6A f$Nfo$en/5sem@civ)txt535r50O breakO case 6C6A f$Nfo$en/5semCciv)txt535r50O breakO case 6D6A f$Nfo$en/5semDciv)txt535r50O breakO defaultA clrscr/0O 2C

textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O breakO Q else if/brNN6960 switch/sem0 M case 6B6A f$Nfo$en/5semBche)txt535r50O breakO case 626A f$Nfo$en/5sem2che)txt535r50O breakO case 6'6A f$Nfo$en/5sem'che)txt535r50O breakO case 696A f$Nfo$en/5sem9che)txt535r50O breakO case 6=6A f$Nfo$en/5sem=che)txt535r50O breakO case 6@6A f$Nfo$en/5sem@che)txt535r50O breakO case 6C6A f$Nfo$en/5semCche)txt535r50O breakO case 6D6A f$Nfo$en/5semDche)txt535r50O breakO 2D

defaultA clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O breakO Q else M clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O Q if/f$NN21!!0 M clrscr/0O gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O getch/0O exit/0O Q frameB/0O textcolor/&E#0O gotox /'3=0O c$rintf/5(O250O textcolor/&E#0O gotox /'3D0O c$rintf/5<1E50O textcolor/&E#0O gotox /'3BB0O 2E

c$rintf/57E#50O textcolor/&E#0O gotox /'3B90O c$rintf/5<8150O textcolor/&E#0O gotox /'3BC0O c$rintf/5%&I50O textcolor/&E#0O gotox /'32F0O c$rintf/5SA<50O gotox /'32'0O c$rintf/5S1250O gotox /BB320O c$rintf/5EAFF50O gotox /2B320O c$rintf/5BFAFF50O gotox /'B320O c$rintf/5BBAFF50O gotox /9B320O c$rintf/5B2AFF50O gotox /=B320O c$rintf/5BAFF50O gotox /@B320O c$rintf/52AFF50O gotox /CB320O c$rintf/5'AFF50O xNBBO N=O while/fscanf/f$35Ss Ss Ss53t)teach3t)sub3t)room0VNEO%0 M gotox /x3 0O textcolor/+&EE20O c$rintf/5Ss53t)sub0O gotox /x3 RB0O 'F

c$rintf/5Ss53t)room0O xRNBFO if/xLCE0 M xNBBO RN'O Q Q fclose/f$0O getch/0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGA2O<8E& %&A(EGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGGG<8E I2P1< %&A(EGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* void framei/0 M int i3x3 O xN2'O N=O clrscr/0O for/iNFOiK'=OiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc532F=0O xRRO Q xN2'O N2FO for/iNFOiK'=OiRR0 M gotox /x3 0O textcolor/4E!!O70O 'B

c$rintf/5Sc532F=0O xRRO Q xN2'O N=O for/iNFOiKB=OiRR0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc53BD@0O RRO Q xN=CO N2FO for/iNB=OiLFOi??0 M gotox /x3 0O textcolor/4E!!O70O c$rintf/5Sc53BD@0O ??O Q gotox /2'3=0O c$rintf/5Sc532FB0O gotox /2'32F0O c$rintf/5Sc532FF0O gotox /=C32F0O c$rintf/5Sc53BDD0O gotox /=C3=0O c$rintf/5Sc53 BDC0O Q *GGGGGGGGGGGG GGGGGGGGGGGGGGGGG<EAC8E& CO(ESGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGI2P1< %O& <EAC8E&6S #A<ASGGGGGGGGGGGGGGGGGGGGGGGGGG* '2

void teacheri/0 M int iO char namT2=U3subTBFU3roomT2FU3chO %I!E Gf$O f$Nfo$en/5teacher)txt535a50O if/f$NN21!!0 M gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O exit/0O Q framei/0O gotox /'2390O textcolor/&E#R-!I2,0O c$rintf/5C8EC, <EAC8E&50O gotox /2=3@0O textcolor/+&EE20O c$rintf/5B)E2<E& 2A(E O% <EAC8E& 50O gotox /2C3C0O gets/nam0O for/iNFOnamTiUVN6PF6OiRR0 if/namTiUNN6 60 namTiUN6W6O gotox /2=3D0O c$rintf/52)E2<E& S1-HEC< 50O gotox /2C3E0O gets/sub0O for/iNFOsubTiUVN6PF6OiRR0 if/subTiUNN6 60 subTiUN6W6O gotox /2=3BF0O c$rintf/5')E2<E& &OO( &EX1I&E#50O ''

gotox /2C3BB0O gets/room0O for/iNFOroomTiUVN6PF6OiRR0 if/roomTiUNN6 60 roomTiUN636O gotox /2E3BE0O textcolor/(A+E2<A R -!I2,0O c$rintf/5SA.E C8A2+ES / *n0Y50O chNgetch/0O if/chNN6 6ZZchNN6460 M f$rintf/f$35Ss Ss Ss 53nam3sub3room0O fflush/stdin0O Q fclose/f$0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG2E7 &OO(GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGI2P1< %O& &OO(6S #A<ASGGGGGGGGGGGGGGGGGGGGGGGGGGGG* void roomi/0 M int ca$3iO char rtTB=U3rnT=U3chO %I!E Gf$O f$Nfo$en/5room)txt535a50O if/f$NN21!!0 M gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O exit/0O Q clrscr/0O '9

framei/0O gotox /'2390O textcolor/&E#R-!I2,0O c$rintf/5C8EC,&OO(50O gotox /2=3C0O textcolor/+&EE20O c$rintf/5 B) E2<E& &OO( <4PE 50O gotox /2C3D0O gets/rt0O for/iNFOrtTiUVN6PF6OiRR0 if/rtTiUNN6 60 rtTiUN6W6O gotox /2=3E0O c$rintf/5 2) E2<E& &OO( 21(-E& 50O gotox /2C3BF0O gets/rn0O gotox /2=3BB0O c$rintf/5 ') E2<E& CAPACI<450O gotox /2C3B20O scanf/5Sd53"ca$0O gotox /2D3BE0O textcolor/(A+E2<A R -!I2,0O c$rintf/5SA.E C8A2+ES / *n0Y50O chNgetch/0O if/chNN6 6ZZchNN6460 M f$rintf/f$35Ss Ss Sd53rt3rn3ca$0O fflush/stdin0O Q fclose/f$0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGG<I(E <A-!E E2<&4GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG*

'=

*GGGGGGGGGGGGGGGGGGGGGGGGGGGI2P1< %O& <I(E <A-!EGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* void timetablei/char sem3char br0 M int i3j3k3$NFO char teachT2=U3subTB=U3roomT=UO %I!E Gf$O if/brNN6B60 switch/sem0 M case 6B6A f$Nfo$en/5semBcse)txt535w50O breakO case 626A f$Nfo$en/5sem2cse)txt535w50O breakO case 6'6A f$Nfo$en/5sem'cse)txt535w50O breakO case 696A f$Nfo$en/5sem9cse)txt535w50O breakO case 6=6A f$Nfo$en/5sem=cse)txt535w50O breakO case 6@6A f$Nfo$en/5sem@cse)txt535w50O breakO case 6C6A f$Nfo$en/5semCcse)txt535w50O breakO case 6D6A f$Nfo$en/5semDcse)txt535w50O breakO '@

defaultA clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O breakO Q else if/brNN6260 switch/sem0 M case 6B6A f$Nfo$en/5semBece)txt535w50O breakO case 626A f$Nfo$en/5sem2ece)txt535w50O breakO case 6'6A f$Nfo$en/5sem'ece)txt535w50O breakO case 696A f$Nfo$en/5sem9ece)txt535w50O breakO case 6=6A f$Nfo$en/5sem=ece)txt535w50O breakO case 6@6A f$Nfo$en/5sem@ece)txt535w50O breakO case 6C6A f$Nfo$en/5semCece)txt535w50O breakO case 6D6A 'C

f$Nfo$en/5semDece)txt535w50O breakO defaultA clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O breakO Q else if/brNN6'60 switch/sem0 M case 6B6A f$Nfo$en/5semBciv)txt535w50O breakO case 626A f$Nfo$en/5sem2civ)txt535w50O breakO case 6'6A f$Nfo$en/5sem'civ)txt535w50O breakO case 696A f$Nfo$en/5sem9civ)txt535w50O breakO case 6=6A f$Nfo$en/5sem=civ)txt535w50O breakO case 6@6A f$Nfo$en/5sem@civ)txt535w50O breakO case 6C6A f$Nfo$en/5semCciv)txt535w50O 'D

breakO case 6D6A f$Nfo$en/5semDciv)txt535w50O breakO defaultA clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O breakO Q else if/brNN6960 switch/sem0 M case 6B6A f$Nfo$en/5semBche)txt535w50O breakO case 626A f$Nfo$en/5sem2che)txt535w50O breakO case 6'6A f$Nfo$en/5sem'che)txt535w50O breakO case 696A f$Nfo$en/5sem9che)txt535w50O breakO case 6=6A f$Nfo$en/5sem=che)txt535w50O breakO case 6@6A f$Nfo$en/5sem@che)txt535w50O breakO 'E

case 6C6A f$Nfo$en/5semCche)txt535w50O breakO case 6D6A f$Nfo$en/5semDche)txt535w50O breakO defaultA clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O breakO Q else M textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/57&O2+ C8OICEVV50O getch/0O Q if/f$NN21!!0 M gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O getch/0O exit/0O Q for/jNBOjKN@OjRR0 M clrscr/0O gotox /'F3B'0O textcolor/&E#0O 9F

c$rintf/5E2<E& #E<AI!S %O& #A4 Sd53j0O getch/0O for/iNBOiKDOiRR0 M framei/0O textcolor/78I<E0O gotox /2E390O textcolor/&E#R-!I2,0O c$rintf/5 <I(E <A-!E #E<AI!S50O gotox /2=3C0O textcolor/+&EE20O c$rintf/5 B) E2<E& 2A(E O% <EAC8E& 50O gotox /2C3D0O gets/teach0O for/kNFOteachTkUVN6PF6OkRR0 if/teachTkUNN6 60 teachTkUN6W6O gotox /2=3E0O c$rintf/5 2) E2<E& S1-HEC< 50O gotox /2C3BF0O gets/sub0O gotox /2=3BB0O c$rintf/5') E2<E& &OO(50O gotox /2C3B20O gets/room0O $Nre$/sem3br3teach3room3i3j0O if/$NNB0 M clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/5<EAC8E& IS &EPEA<E#VV50O getch/0O i??O 9B

Q else if/$NN20 M clrscr/0O textcolor/&E#R-!I2,0O gotox /'F3B20O c$rintf/5&OO( IS &EPEA<E#VV50O getch/0O i??O Q else M f$rintf/f$35Ss Ss Ss 53teach3sub3room0O fflush/stdin0O Q Q f$rintf/f$35Pn50O Q fclose/f$0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG<EAC8E& +OESGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGG&E(O.I2+ <EAC8E& %&O( !IS<GGGGGGGGGGGGGGGGGGGGGGGGGG* void teacherr/0 M int iO struct teacher M char namT2=U3subTBFU3roomT2FUO QtO char nameT2=U3chO %I!E Gf$3GftO if/f$NN21!!0 92

M gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O exit/0O Q clrscr/0O f$Nfo$en/5teacher)txt535rbR50O framei/0O gotox /'F390O textcolor/&E#R-!I2,0O c$rintf/5&E(O.E <EAC8E&50O gotox /2=3@0O textcolor/+&EE20O c$rintf/5B)E2<E& 2A(E O% <EAC8E& 50O gotox /2C3D0O gets/name0O for/iNFOnameTiUVN6PF6OiRR0 if/nameTiUNN6 60 nameTiUN6W6O gotox /2C3BE0O textcolor/(A+E2<A R -!I2,0O c$rintf/5S1&E <O &E(O.E / *n0Y50O chNgetch/0O if/chNN6 6ZZ6460 M ftNfo$en/5tem$)txt535wb50O rewind/f$0O while/fscanf/f$35Ss Ss Ss53t)nam3t)sub3t)room0VNEO%0 M if/strcm$/t)nam3name0VNF0 f$rintf/ft35Ss Ss Ss 53t)nam3t)sub3t)room0O Q fclose/ft0O 9'

fclose/f$0O remove/5teacher)txt50O rename/5tem$)txt535teacher)txt50O Q Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG&OO( -!OC,SGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGG&E(O.I2+ &OO( %&O( !IS<GGGGGGGGGGGGGGGGGGGGGGGGGGG* void roomr/0 M int iO struct room M char rtT2FU3rnTB=UO int ca$O QrO char rnoTB=U3chO %I!E Gf$3GftO clrscr/0O f$Nfo$en/5room)txt535rbR50O if/f$NN21!!0 M gotox /'F3B20O textcolor/&E#R-!I2,0O c$rintf/5Cannot O$en %ileVV50O exit/0O Q framei/0O gotox /'F390O textcolor/&E#R-!I2,0O c$rintf/5&E(O.E &OO(50O gotox /2=3@0O textcolor/+&EE20O 99

c$rintf/5B)E2<E& &OO( 21(-E& 50O gotox /2C3D0O gets/rno0O gotox /2C3BE0O textcolor/(A+E2<A R -!I2,0O c$rintf/5S1&E <O &E(O.E / *n0Y50O chNgetche/0O if/chNN6 6ZZchNN6460 M ftNfo$en/5tem$)txt535wb50O rewind/f$0O while/fscanf/f$35Ss Ss Sd53r)rt3r)rn3"r)ca$0VNEO%0 M if/strcm$/r)rn3rno0VNF0 f$rintf/ft35Ss Ss Sd 53r)rt3r)rn3r)ca$0O fflush/stdin0O Q fclose/ft0O fclose/f$0O remove/5room)txt50O rename/5tem$)txt535room)txt50O Q Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGOOPSV A &EPE<I<IO2GGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGG%12C<IO2 <O C8EC, &EPE<I<IO2 O% I2P1< #A<AGGGGGGGGGGGGGGGG* int re$/char sem3char br3char teachT2=U3char roomT=U3int i3int j0 M %I!E Gf$O int mO struct cm$ M char teachT2=U3roomT=U3subTBFUO 9=

QcO if/brNN6B6 "" semNN6B60 goto nextBBO f$Nfo$en/5semBcse)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O nextBBA if/brNN6B6 "" semNN6260 goto nextB2O f$Nfo$en/5sem2cse)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O nextB2A if/brNN6B6 "" semNN6'60 goto nextB'O f$Nfo$en/5sem'cse)txt535r50O 9@

for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O nextB'A if/brNN6B6 "" semNN6960 goto nextB9O f$Nfo$en/5sem9cse)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O nextB9A if/brNN6B6 "" semNN6=60 goto nextB=O f$Nfo$en/5sem=cse)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M 9C

return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O nextB=A if/brNN6B6 "" semNN6@60 goto nextB@O f$Nfo$en/5sem@cse)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O nextB@A if/brNN6B6 "" semNN6C60 goto nextBCO f$Nfo$en/5semCcse)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M 9D

return /20O Q fclose/f$0O nextBCA if/brNN6B6 "" semNN6D60 goto nextBDO f$Nfo$en/5semDcse)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O nextBDA if/brNN626 "" semNN6B60 goto next2BO f$Nfo$en/5semBece)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next2BA 9E

if/brNN626 "" semNN6260 goto next22O f$Nfo$en/5sem2ece)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next22A if/brNN626 "" semNN6'60 goto next2'O f$Nfo$en/5sem'ece)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next2'A if/brNN626 "" semNN6960 goto next29O f$Nfo$en/5sem9ece)txt535r50O for/mNFOmKNiRjOmRR0 =F

fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next29A if/brNN626 "" semNN6=60 goto next2=O f$Nfo$en/5sem=ece)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next2=A if/brNN626 "" semNN6@60 goto next2@O f$Nfo$en/5sem@ece)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O =B

Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next2@A if/brNN626 "" semNN6C60 goto next2CO f$Nfo$en/5semCece)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next2CA if/brNN626 "" semNN6D60 goto next2DO f$Nfo$en/5semDece)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O =2

Q fclose/f$0O next2DA if/brNN6'6 "" semNN6B60 goto next'BO f$Nfo$en/5semBciv)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next'BA if/brNN6'6 "" semNN6260 goto next'2O f$Nfo$en/5sem2civ)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next'2A if/brNN6'6 "" semNN6'60 ='

goto nextB'O f$Nfo$en/5sem'civ)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next''A if/brNN6'6 "" semNN6960 goto next'9O f$Nfo$en/5sem9civ)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /B0O Q fclose/f$0O next'9A if/brNN6'6 "" semNN6=60 goto next'=O f$Nfo$en/5sem=civ)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O =9

if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next'=A if/brNN6'6 "" semNN6@60 goto next'@O f$Nfo$en/5sem@civ)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next'@A if/brNN6'6 "" semNN6C60 goto next'CO f$Nfo$en/5semCciv)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q ==

if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next'CA if/brNN6'6 "" semNN6D60 goto next'DO f$Nfo$en/5semDciv)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next'DA if/brNN696 "" semNN6B60 goto next9BO f$Nfo$en/5semBche)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q =@

fclose/f$0O next9BA if/brNN696 "" semNN6260 goto next92O f$Nfo$en/5sem2che)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next92A if/brNN696 "" semNN6'60 goto next9'O f$Nfo$en/5sem'che)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next9'A if/brNN696 "" semNN6960 goto next99O =C

f$Nfo$en/5sem9che)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next99A if/brNN696 "" semNN6=60 goto next9=O f$Nfo$en/5sem=che)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next9=A if/brNN696 "" semNN6@60 goto next9@O f$Nfo$en/5sem@che)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 =D

M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next9@A if/brNN696 "" semNN6C60 goto next9CO f$Nfo$en/5semCche)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 M return /20O Q fclose/f$0O next9CA if/brNN696 "" semNN6D60 goto next9DO f$Nfo$en/5semDche)txt535r50O for/mNFOmKNiRjOmRR0 fscanf/f$35Ss Ss Ss53c)teach3c)sub3c)room0O if/strcm$/c)teach3teach0NNF0 M return /B0O Q if/strcm$/c)room3room0NNF0 =E

M return /20O Q fclose/f$0O next9DA return /F0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG78IC8 SE(ES<E&Y GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGG%12C<IO2 %O& SE(ES<E&GGGGGGGGGGGGGGGGGGGGGGGGGGG* char semester/0 M char chO framei/0O gotox /2E390O textcolor/&E#R-!I2,0O c$rintf/5SE(ES<E&50O gotox /2=3C0O textcolor/+&EE20O c$rintf/5B)SE(ES<E&50O gotox /2=3D0O c$rintf/52)SE(ES<E&50O gotox /2=3E0O c$rintf/5')SE(ES<E&50O gotox /2=3BF0O c$rintf/59)SE(ES<E&50O gotox /2=3BB0O c$rintf/5=)SE(ES<E&50O gotox /2=3B20O c$rintf/5@)SE(ES<E&50O gotox /2=3B'0O c$rintf/5C)SE(ES<E&50O gotox /2=3B90O @F

c$rintf/5D)SE(ES<E&50O textcolor/(A+E2<A0O gotox /2C3BE0O c$rintf/5E2<E& C8OICEA50O chNgetche/0O return/ch0O Q *GGGGGGGGGGGGGGGGGGGGGGGGGGG78IC8 -&A2C8Y GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGSE!EC<IO2 O% -&A2C8GGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* char branch/0 M char chO framei/0O gotox /'B390O textcolor/&E#R-!I2,0O c$rintf/5-&A2C850O gotox /2=3C0O textcolor/+&EE20O c$rintf/5B)CO(P1<E& SCIE2CE50O gotox /2=3E0O c$rintf/52)ACCO12<S50O gotox /2=3BB0O c$rintf/5')-1SI2ESS S<1#IES50O gotox /2=3B'0O c$rintf/59)<AI A2# I<S P&OCE#1&E50O textcolor/(A+E2<A0O gotox /2C3BE0O c$rintf/5E2<E& C8OICEA50O chNgetche/0O return/ch0O Q

@B

*GGGGGGGGGGGGGGGGGGGGGGGGGGG<8E CO!!EC<IO2GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGG<8E (AI2 %12C<IO2GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* void main/0 M char chN6a63sem3brO clrscr/0O first/0O while/chVN6F60 M chNfile/0O textcolor/78I<E0O switch /ch0 M case 6F6A breakO case 6B6A teacheri/0O breakO case 626A roomi/0O breakO case 6'6A teacherr /0O breakO case 696A roomr/0O breakO case 6=6A frame/0O teacher/0O getch/0O breakO @2

case 6@6A frame/0O room/0O getch/0O breakO case 6C6A semNsemester/0O brNbranch/0O timetablei/sem3br0O breakO case 6D6A semNsemester/0O brNbranch/0O timetable/sem3br0O breakO defaultA textcolor/&E#R-!I2,0O gotox /'F3BF0O c$rintf/57&O2+ C8OICEVVV50O getch/0O breakO Q Q Q *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG<8E E2#GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG* *GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG*

@'

OUT'UT

@9

TIME TABLE MANAGER


MENU
B)E2<E& <EAC8E& 2)E2<E& &OO( ').IE7 <EAC8E& 9).IE7 &OO( =)&E(O.E <EAC8E& @)&E(O.E &OO( C)C&EA<E <A-!E D).IE7 <A-!E F)EII<

E2<E& 4O1& C8OICE

@=

MENU
B)E2<E& <EAC8E& 2)E2<E& &OO( ').IE7 &OO( 9).IE7 <EA8E& =)&E(O.E &OO( @)&E(O.E <EAC8E& C)C&EA<E <I(E <A-!E D).IE7 &I(E <A-!E F) EII< E2<E& 4O1& C8OICEA

@@

CHECK TEACHER
B) <EAC8E& 2A(E 2) S1-HEC< ') &OO(

@C

MONDAY TUESDAY WEDNESDAY THURSDAY 1RIDAY SATURDAY

4566 CO(P ' SS< 2 (A<8 B CO(P 9 (A<8 = 8I2#I @

76566 77566 SCIE2CE (A<8 B 9 SCIE2CE 8I2#I ' B 8I2#I E2+!IS8 2 2 (A<8 SS< 9 = 8I2#I E2+!IS8 @ @ E2+!IS8 SS< = '

78566 SS< 2 (A<8 B SS< ' #&+ = #&+ @ (A<8 9

7566 #&+ ' #&+ = SCIE2CE 2 SCIE2CE @ SCIE2CE B CO(P 9

8566 P2= P22 P2' #&+ B #&+ @ P2@

9566 S,< @ S,< ' #&+ B P22 P29 S,< =

@D

ADVANTAGES O1 'RO'OSED SYSTEM

S$!!-5 <he com$uteri>ation of activities of a business organisation hel$s in $rocessing the data $laced in several data files in a no time) <his feature is $ossible due to high s$eed of com$uters for $rocessing data as CP1 of the com$uter works at the s$eed of electricit 3 which is the highest ever3 attainable s$eed)

A)).ra)"5 #ata $rocessed b utili>ing the services of $ro$erl $rogrammed com$uters is highl accurate)

1#!:i;i#it"5 <he modern digital com$uters can be used for a variet of $ur$ose e)g) concurrent batch and online $rocessing)

<

St%ra=! Ca$a)it"5 !arge volume of data can be convenientl stored3 assessed and altered)

>

Ma(a=!m!(t I(+%rmati%(5 #ue to distinguished $rocessing ca$abilities of com$uter3 the can be used to $rovide useful information to management for control and decision making)

Data ;as!5 <he use of com$uter facilit in business organi>ation facilities the establishment of database such a database integrates data records and reduces data redundanc )

R!-.)ti%( i( 'a$!r w%rA5 <he use of com$uters for data $rocessing has hel$ed the management of business organi>ation to co$e with the increasing $roblem of $a$er work of handling not on s$eeding u$ the $rocess but also be eliminating some of the unnecessar through the storage of data in structured database) needs

@E

1a)i#iti!s r!$%rt $r!$arati%(5 #ata maintained with the hel$ of a com$uter facilities the $re$aration of various t $e of re$ort re:uired b organi>ation executives for the $ur$ose of decision making and control)

R!-.)!s th! ma($%w!r r!C.ir!m!(t5 <he number of $ersons re:uired for $erforming various organisation activities will be reduced b using a com$uter s stem)

76

I()r!as!- a;i#it" t% $!r+%rm )%m$.tati%(s5 <he use of com$uter has hel$ed in $erforming com$utation with s$eed)

CF

LIMITATIONS O1 SYSTEM

As an

s stem have their own advantages " disadvantages) <his s stem also have

limitations) <hese are asA

<here is no securit ) It is no $latform inde$endent) A $erson with no knowledge of com$uter language can6t access it)

CB

1URTHER SCO'E

<he objective of this a$$lication is to $resent the secure gra$hical user interface much friendl to the authori>ed o$erator onl 3 $erforming all the working of above mentioned modules efficientl ) It is aimed at making de$artment affairs getting rid off all the bottlenecks that are there in the manual s stem and enabling them to focus on the core activities of the administration3 thus hel$ing them strengthen the overall :ualit standards and at the same time make the job of $re$aring and maintaining the job of all records $leasurable and interesting

C2

CONCLUSION
%rom the working of this $roject3 we conclude that this $roject is ver familiar and eas to use b an user3 thus this $roject was eas to handle) <his $roject is ver useful in kee$ing $articular about an records) record) 7e can easil calculate cost) <hus hel$ful in maintaining

C'

RE1ERENCES
7hile making this $roject) I have referred the following books for getting an idea to make this $roject) <he name of authors of books referred b me are asA?

Sr N% B) 2) ')

B%%A !et us C Programming in C #ata Structure in C

A.th%r 4)P) ,A2E<,A& E -A!A+1&1S7A(I &obert !) ,ruse -ruce P) !eung Clovis !) <ondo

Sr N% B) 2)

W!;sit!s www)google)com www)wiki$edia)com

C9

You might also like