copa-lp-new 15-16.doc
-
Upload
sandip-chavan -
Category
Documents
-
view
227 -
download
4
Transcript of copa-lp-new 15-16.doc
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 1/32
[1]
Lesson Plan
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 2/32
Topics
Information Points
Spot hints
Institute Industrial Training Institute Mandvi
Name of the instructor Chavan S.M.
Trade C.O.P.A
Lesson /Topic
Lesson Plan no. !
Time "#e$uired% ! .hrs
Proposed date
&ate "conducted%
#ef.'oo(s page no. )lements of computer science *+,-+ "' A.0.Chadha%
Computer 1undamental !2-!3 "' P.0.Sinha%
Teaching aids !45hite 'oard +45hite 'oard mar(er pen64Pro7ector
O'7ectives
#evie8 #evi8e on decimal no. , to 9
MotivationImportance of :inar num'er sstem elated to computer it;soperations.
Topics
Information Points
Spot hints
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 3/32
Question: -1] what is the meant of Binary?
2] write down the binary no with their decimal no (0!"
3] #hat is byte?
$] #hat is bit % nibble?
&] #hat are the characteristice of n'mber system?
Summary:- Binary % decimal base concept base decimal no)s % it)s binary no)s
*emory 'nits % it)s con+ersion,
Assignment: - -ome wor. /'estions,
Next Lesson: -
Instructor Group Instructor Vice- Principal/Principal
[2]
Lesson Plan
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A
Lesson /Topic Conversion from 'inar to decimal
Lesson Plan no. <.!
Time "re$uired % ! hrs
Proposed date
&ate"conducted%
#ef.'oo(s page no. )lements of computer science +,-+ "A.0.Chadha%
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 4/32
1undamental of computer !2-!< "P.0.Sinha%
Teaching aids &ecimal to 'inar "direct method% chart
:lac('oard= Chal(.
O'7ectives :inar to decimal conversion tpes "methods% method =e>ample
&ecimal to :inar conversion tpes e>amples.
#evie8 #evision on :inar decimal 'ase concept.
Motivation Importance of conversion of num'er sstem.
Topics
Information Points
Spot hints
Base of n'mber
on+ersion of decimal
To Binary
In all n'mber system the +al'e of the
base determines the total n'mber of
different symbols or diits a+ailable in
the n'mber system,
*ethod 1] 3emainder method %
2] Power method45,1] Inteer no,is ! (3emainder method"
2 ! 2 $ 1
2 2 0
10
, 6, !(10"7(100" 2
*eanin of the base of
n'mber system?
*ethod of con+ersion of
decimal to binary,
Topics
Information Points
Spot hints
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 5/32
on+ersion by
Power method
Binary to decimal
on+ersion
By power method
(800" 10 7(" 2
-ere 3adi5 of binary is
2 29 2: 2; 2& 2$ 28 22 21 20
2&; 129 ;$ 82 1; 9 $ 2 1
#e note that 2&; are larest no, #hich
are less than 800 the i+en no?
2&; 2971<29
$$82 2&71<2&
12
9 2871<28
$
$ 2271<22
0
=s rower 2: 2; 2& 2$ 28 22 21 20 are not
represent these +al'es may be placed in
their representi+e pla'es after m'ltiplyin
with >ero I,e,
1<290< 2: 0<2; 1<2& 0<2$ 1<28 1<22
0<21 0<20
I,e, (800"107(100101100" 2 =*
Power method (100"27( "10?
7 1<22 @0<21 @ 0<20
7 $@0@0
I,e, =* (100"27 ($"10
3emainder % power
method?
Binary to decimal
con+ersion,
Question: -1] what is the meant by the base of a n'mber system?
2] 45plain the method of decimal to binary con+ersion with e5ample?
8] e5plain the proced're of binary to decimal con+ersion with e5ample?
Summary: -Base of n'mber *eanin of base con+ersion of binary to decimal %
+ice
Aersa *ethod % e5ample
Assignment: --ome wor. assinment problems,
Next Lesson: -
Instructor Group Instructor Vice-Principal/Principal
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 6/32
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A
Lesson /Topic
Conversion of :inar fraction to decimal fraction vice
versa.
Lesson Plan no. <.+
Time "re$uired% ! hrs
Proposed date
&ate "conducted%
#ef.'oo(s page no. )lements of computer sstem *+,-+ "A.0.Chadha%
Computer fundamental !2-!3 "P.0.Sinha%Teaching aids :lac('oard chal(
O'7ectivesConversion of fraction :inar to 1raction decimal 8ithe>ample.Conversion of fraction decimal to fraction :inar 8ithe>ample.
#evie8 #evision of conversion of :inar to decimal vice versa.
Motivation
Topics
Information Points
Spot hints
on+ersion of raction
Binary to fraction decimal
Cecimal e/'i+alent of (1011101" 2
Sol'tion
1] Inteer
(1011101" 271<2; @ 0<2: @ 1<2$ @
1<28
1<22
@ 0<21
@ 1<20
7;$@0@1;@9@$@0@1
7(!8" 10
2] raction (0,11" 271<21@1<22
71D2@1D$
78D$
70,:&
, , (1011101" 27(!8,:&" 10
raction
con+ersion
*ethod
Lesson Plan [8]
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 7/32
Topics
Information Points
Spot hints
on+ersion of ractionCecimal
To raction Binary
4, (0,1"107( "2 ? 0,1<270,2 0
0,2<270,$ 0
0,$<270,9 0
0,9<271,; 1
0,;<271,2 1
0,2<270,$ 0
0,$<270,9 0
0,9<271,; 1
0,;<271,2 1
(0,1" 107(000110011"2
=ns,
raction con+ersion
Question: -1]Ei+e Proced're of con+ersion of fraction Binary to raction Cecimal
#ith e5amples
2]Ei+e Proced'res of con+ersion of raction Cecimal To raction
Binary #ith 45ample,
Summary: -raction Binary to raction decimal on+ersion % +ice a +ersa
45amples
Assignment: --ome wor. /'estion ban. problems,
Next Lesson: -
Instructor Group Instructor Vice-Principal/Principal
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 8/32
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A
Lesson /Topic :inar Addition Su'traction
Lesson Plan no. <.6
Time "re$uired % ! hrs.
Proposed date
&ate "conducted%
#ef.'oo(s page no. )lements of computer science "A.0.Chadha%Computer 1undamental "P.(.Sinha%
Teaching aids !4 :lac('oard+4 Chal(
O'7ectives :inar num'ers=addition of :inar num'er=Su'traction of :inar num'ers
#evie8
Motivation #ules of :inar addtion su'traction.
Topics
Information Points
Spot hints
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 9/32
Binary =ddition 3'les
45ample
The addtion % S'btrction of
Binary n'mbers is done in way as
applicable to decimal systems
3'les
1] 0@070
2] 0@171
8] 1@071
$] 1@170 #ith 1 carry
o+er
=dd (110101"2@ (101111"2
110101
@ 101111
1100100 7=ns,
=ddition *ethod
3'les
Lesson Plan ?24
Topics
Information Points
Spot hints
45ample
3'les Ff S'btraction
45ample
*ore Than 2 no)s addtion
110101101 111011101
000111111
100101101
111110111
111111001101
1011010111010 7 =ns,
1" 0070
2" 1071
8" 1170
$" 0171 #ith one
barrow
1110101010
100101100
7=ns
1001111110
=ddition of 2 binary no)s %
moreThan 2 no)s=ddition,
S'btraction r'les,
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 10/32
Question: -1" #hat are the r'les of Binary n'mber addtion?
2" #hat are the r'les of Binary n'mber s'btraction ?
8" 45amples
Summary: -3'les of Binary addtion 45ample *ore than two n'mbers =ddtion
3'les of Binary S'btractione5ample,
Assignment: --ome #or. G'estion ban. problems,
Next Lesson: -
Instructor Group Instructor Vice- Principal/Principal
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A
Lesson /Topic <.2
Lesson Plan no. One;s T8o;s compliment
Time " re$uired % ! hrs.
Proposed date
&ate "conducted%
#ef.'oo(s page no. )lements of computer science.2+=26 "A.0.Chadha%Computer 1undamentals "P.0.Sinha%
Teaching aids
O'7ectives Num'er Sstem=One;s Compliment.T8os compliment=Su'raction ' is compliment.
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 11/32
#evie8 #evision on :inar su'traction.
Motivation :asic 1undamental of num'er sstem.
Topics
Information Points
Spol hints
omplementary
*ethod
Fne)s complement
Two)s complement
In case of binary n'mbers the
correspondin complement %
two)s complement respecti+ely,
The 1)s complement of a binary
no)s
*ay be obtained by s'btraction
each binary diit from 1,
The 2)s complement of a binary
no)s
Is it)s 1)s complement pl's 1,
Hnderstand the
complementary
*ethod
*eanin of 1)s %
2)s
ompliment
Lesson Plan ?4
Topics
Information Points
Spot hints
45ample
Binary no 11001
11001 1)s compliment00110
Question :1" #hat do yo' 'nderstant by complimentary s'btraction?
2" #hat is the mean of 1)s compliment?
8" #hat is the mean of 2)s compliment?
Summary :- omplimentary mthod1)s compliment s'btraction2)s complimentery
S'btractions Fn method % e5amples,
Assignment :- -ome wor. assinment,
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 12/32
Next Lesson :-
Instructor Group Instructor Vice- Principal/Principal
Lesson Plan ?<4
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A.
Lesson /Topic Su'traction using +;s compliment
Lesson Plan no. <.
Time "re$uired% ! hrs
Proposed date
&ate "conducted%
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 13/32
#ef.'oo(s page no. )lement of computer science 2+-26"A.0.chadha%
Teaching aids
O'7ectivesNum'er sstem= +;s compliment method=Su'traction using +;s compliment.
#evie8 Su'traction using !;s compliment.
Motivation !;s +;s compliment su'traction.
Topics
Information Points
Spot hints
Two)s compliment
ormal s'btraction
The 2)s compliment of a binary
n'mber Is it)s 1)s compliment pl's 1,
1010
1011
1
Topics
Information Points
Spot hints
2)s complimentary method
1010
@0001 (=dd 2)s compliment of
1011"
1111
0001
(ind 2)s compliments
%
attach a neati+e
sin"
Process of 2)scomplimentary
S'btraction method
Question :-1"#hat is 2)s compliment ?
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 14/32
2" 45plain the process of s'btraction of 2)s complimentary?
Summary :- omplimentary method2)s compliment % s'btraction by
2)s complimentary method,
Assignment :- -ome wor. % problems,
Next Lesson :-
Instructor Group Instructor Vice- Principal/Principal
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A.
Lesson /Topic Octal num'er sstem
Lesson Plan no. <.<
Time "re$uired% ! hrs
Proposed date
&ate "conducted%
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 15/32
#ef.'oo(s page no. )lements of computer science 62-6"A.0.chadha%Computer fundamental-!2-!"P.0.sinha%
Teaching aids :inar *decimale e$uivelent decimal "6 'it% chart. .
O'7ectivesOctal num'er sstem= conversion from octal to 'inar vice versa= Conversion from octal to decimal vice versa.
#evie8 :inar to decimal conversion vice versa
MotivationConversion of num'er sstem from one in to anotherno.sstem
Topics
Information Points
Spot hints
Octal number system:-
:inar to octal method@-
In the octal num'er sstem the'ase is .
So in this sstem there are onleight sm'ols or digits@,=!=+=6=2==<=3 "one less thanthe 'ase % there are onl digits in the octal 6,= 6 'its "+6 B% are sufficient represent anoctal num'er in 'inar.
)> @- "!!,,%+ B " %
Octal 'ase
6. 'its presentation
Lesson Plan ?34
Topics
Information Points
Spol hints
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 16/32
Fctal to binary
Cecimal to octal
Fctal to decimal
71<28@1<22@0<21@0<20
79@$@0@0
7(12"9 and
(12"9 7( "2
2 12
2 ; 0
i,e, (12"9 7(1100"2
2 8 0
ans
1 1
e, (11!"10 7 ( " 9 ?
here radi5 is 9
9 11!
9 1$ : i,e, ( 11!" 107(1;:"9
1 ;
am
e,, (11&:2"9 7 ( " 10 ?
71<9$
@1<98
@&<92
@:<91
@2<90
7$0!;@112@820@&;@2
7($!9;"10
ams
Binary to octal % octal to
binary
on+ersion,
Cecimal to binary
con+ersion %
Aie +ersa
Question :- 1" 45plain the process of binary to octal % +ie +ersa con+ersion
2" 45plain the process of decimal to octal con+ersion % +ie +ersa
Summary :- octal n'mber system binary to octal con+ersion % +ie +ersa
Cecimal to octal % +ice +ersa
Assignment :- home wor.s problems
Next Lesson :-
Instructor Group Instructor Vice- Principal/Principal
Institute Industrial Training Institute
Name of the instructor
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 17/32
Trade Copa
Lesson /TopicDe>adecimal num'er sstem.
Lesson Plan no. <3
Time"re$uired % !hrs
Proposed date
&ate"conducted%
#ef.'oo(s page no.
)lements of computer sstem-6,-62. A.( chodhacomputer fundamental-!2.! p.(.sinha
Teaching aids :lac('oard= chal(= cohort.
O'7ectivesDe>adecimal num'er sstem= conversion formhe>adecimal to 'inar to decimal vice Eera
#evie8 #evision on conversion of diff.num'er sstem.
Motivation Important of the conversion of
Topics
Information Points
Spol hints
Hexadecimal number
system
The he5adecimal n'mber system
is one with a base of 1;, The base
of 1; s'ests choice of 1; sinle
character diits or symbol, The 1st
10 diits of decimal system 0 to !
% the remainin ; diit are
denoted by = B C 4
,repecti+ely the decimal +al'e101112181$1&,respecbi+ely
th's larest sinle diits is f for 1&
(end less than the base"
-e5adecimal n'mber
system
Topics Information Points
-e5adecimal to decimal (2=B" 1; 7(" 10?
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 18/32
Cecimal to he5adecimal
n'mber
he5adecimal binary
Binary to he5adecimal
irst con+ert to decimal
system
72<1;2 @10<1;1@11<1;0
7&12@1;0@117(;98" 10ans
(88:0" 107(" 1;?
i,e,
1; 88:0
1; 210 10
18 2
,
, , (88:0" 2718210(C2=" 1;
(2=B:" 1;71st con+ert into decimal ( "2 ?
(2=B:" 1;72<1;8@10<1;2@11<1;1@:<1;0
791!2@2&;0@1:;@:
7(10!&&" 10
7(10!&&" 10
2 10!8&
2 &$;: 1 2 2:88 1
2 18;; 1
2 ;98 0
2 8$1 1
2 1:0 1
2 9& 0
2 $2 1
2 21 0
2 10 0
2 & 0
2 2 1 2 1 0
(11101100111" 27(" 1;?
(11101100111"
271<210
@1<2!@1<2
9@0<2
:@1<2
;@1<2
&@1<2
$@1<2
8@1<2
2@1<2
1@1<2
0
7102$@21&@2&;@0@;$@82@0@0@$@2@1
7(19!&" 10
ow
1; 19!& 1; 119 :
: ;
, , (11101100111" 27(19!&" 107(:;:" 1;
ans
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 19/32
Question: - 1)what is the base of hexadecima number system !
") #i$e the exam%e of con$ersion of hexadecima to decima
&$ice$erio
3) #i$e the exam%e of con$ersion hexadecima to binary &
$ece$ersa
Summary: -hexadecima number system base conce%t' con$ersion of
hexadecima to decima & $ice $ersa & con$ersion of hexadecima to binary &
$ice $ersa
Assignment: -%robem for homewor(
Next Lesson: -
Instructor Group Instructor Vice-Principal/Principal
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A.
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 20/32
Lesson /Topic Codes "computer codes%
Lesson Plan No. <
Time "#e$uired% 3 hrs
Proposed &ate
&ate "conducted%
#eference 'oo(s page no.)lements of computer sstem 2,-2! "A.(.chadha %Computer fundamental "p.(.sinha%
Teaching Aids :cn e$uivilent of decimal digits chart.
O'7ectives Computer codes= ASCII= :C&= ::C &IC codes.
#evie8
&iscussed a'out :inar num'ers= 8hich arecodes 8ho represent characters into computermemor.
Motivation A'out computer codes and its uses.
Topics
Information Points
Spot Dints
Computer code
Mout commonl used computercode@ -
Do8 the 'inar num'ers are coded
to represent characters in thecomputer memor.
!% :C&- i.e. :inar codeddecimal :C& is one of theeas memor codes .It is'ased on the idea ofconverting each digit of adecimal no. Into it;s 'inare$uivalent rather thanconverting the entiredecimal value into pure
'inar form.
Topics
Information Points
Spot Dints
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 21/32
ASCII code sstem@ -
ASCII tpes
):C&IC code
ASCII is nothing 'ut Americanstandard code for informationInterchange.Several American computermanufacturers on their computersinternal code popular in datacommunications is used almoste>clusivel to represent data
internall in microcomputer haveadopted ASCII.
ASCII-3 and ASCII * i.e. 3 'it and -'it respectivel. !+ "+3% *!st 'it are Fone 'its and 2'it are indicate digits ASCII-e>tended version. "+<% B"+% the additional 'it isadded to the Fone 'its.).g. Character ASCII. Code
Gone digit+ ,!! ,,!,
)>tended 'inar coded decimalinterchange code for +< alpha 'aticalcharacters .In ):C&IC =NumericCharacters are 'e placed after thealpha'etic characters.
Questions: - 1" -ow many different characters are possible in followin codes BC 4BCI
=SII: =C =SII9
2" Ei+e the f'll form of BC 4BCI and =SII,
8" #rite the $ bit BC code for followin no)s
(2&" 10 (;$" 10 (129" 10
Summary: -om%uter coding system' *+,' +,' AS ty%es.
Assignment: - /ome 0wor( uestions.
Next Lesson: -
nstructor #rou% nstructor 2ice rinci%a 4rinci%a
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 22/32
5!,%
L)SSON PLAN
Institute Industrial Training Institute
Name of the instructor Trade C.O.P.A.
Lesson /Topic Soft8are
Lesson Plan No. <9
Time "#e$uired% ! hrs
Proposed &ate
&ate "conducted%
#eference 'oo(s page no.)lements of computer science !+-!6 "A.(.chadha%1undamental of computer !9=!<, "v. #a7araman%
Teaching Aids :lac('oard= chal(
O'7ectives
5hat is soft8are= tpes of soft8are= language= Dll=Lll= machineLevel language= assem'l language= assem'ler
#evie8 #evie8 on 'asic computer concept i.e. s/8= h/8
Motivation Motivation on s/8 tpes= programming languages
Topics
Information Points
Spot Dints
Soft8are
Tpes of soft8are
Language
Tpes of language
Soft8are is 'asicall a set ofinstruction= grouped into program= thatma(e the electronic devices in the
computer to function in the desired8aComputer soft8are ma 'e classifiedin to three tpes@- sstem s/8=application s/8= development s/8.
Language is nothing 'ut developments/8 e.g. c= cHH= v'= oracle etc.Dll@ - high level languageLll@ - lo8 level language
Computer s/8
se of language
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 24/32
Topics
Information Points
Spot Dints
DLL
LLL
Machine language
Assem'l
Assem'ler
Dll@ - developed in earl !9<,;sThese are not machine dependent hence can 'e used on differentcomputer;s *the contain )nglish li(e
statement;sIt is lo8est form of computer languageLll classified in to machine level assem'l languageIt uses 'inar num'er;s * e>pressvarious operation codes= address 8ord;s
Operation"Code%
Address"Location%
In assem'l= mnemonics are used torepresent operation codes strings of character Assem'l code
Operation read Operandaddress (
The practical method of programmingin machine code=5here the machine code instructionsare involved ' mnemonics"mnemonics are letters that suggestsare function 'eing preformed ' thecorresponding machine code routive%
&ifferences into'et8een hll lll
Machine level assem'l levellanguage
se of assem'ler
Questions: - 1) what is software! *x%ain ty%es of s4w
") 6hat is anguage & define h' ' machine e$e anguage &
Assemby e$e anguage
3) 6hat is assember!
7) 6rite down the differences between h &
8) 6rite down the differences between assemby e$e anguage & machine
e$e anguage- s4w' ty%es' anguage' h' ' machine' assemby e$e
anguage' assember
Summary: -
Assignment: - /ome 0wor( uestions ban(.
Next Lesson: -
Instructor Group Instructor VicePrincipal /Principal
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 25/32
!!% L)SSON PLAN
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A.
Lesson /Topic Compiler vs. interpreter
Lesson Plan No. 3,
Time "#e$uired% !hrs
Proposed &ate
&ate "conducted%
#eference 'oo(s page no. )lement of computer science * 2=29-"A.0. chadha%
1undamental of computer- !<!=!<- "v. ra7araman%
Teaching Aids :lac('oard= chal(
O'7ectives Dll= compiler= interpreter= compiler vs. interpreter
#evie8 #evie8 on language= hll= lll= assem'ler
Motivation On language translator
Topics
Information Points
Spot Dints
Compiler
Language translator
It is a comple> programs that coverscomplete programs 8ritten in highlevel interpretiveLanguages li(e :ASIC into the directinstruction code of theMicroprocessors= there' ena'ling an
operation at muchJreater speeds A Sstem soft8are eliminates theneed to 8rite programs in the 'inarmachine language.Programs ma 'e 8ritten in assem'llanguage or hll translated into 'inaror same other form that can 'eunderstood e>ecuted ' thecomputer 8ith the help of languagetranslator
Need of languagetranslator
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 26/32
Topics
Information Points
Spot Dints
Tpes of translators
&ifference 'et8een compiler interpreter
Compiler interpreterInterpreter- the function of interpreteris the same as of a
Compiler 'ut in different stleThe interpreter translates onestatement at a time if error freee>ecutes it. The process of continuestill the last statement!4 )rror correction "de'ugging% is much simpler in the case ofinterpreter 'ecause it is done instages. The compiler produces anerror list for the entire program at theend+4 Interpreter ta(e more time for thee>ecution of a program as compared
to compiler= ';cos a statement has to'e translated ever time it is read.
&ifference 'et8eencompiler interpreter
Questions: - 1] what is anguage transator!
"] what is com%ier!
3] 6hat is inter%reter!
7] what is the difference between com%ier & inter%reter
Summary: - anguage transator' com%ier' inter%reter' difference between
om%ier & inter%reterAssignment: - home-wor( uestion ban(
Next assignment
Instructor Group Instructor VicePrincipal /Principal
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 27/32
!+% L)SSON PLAN
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A.
Lesson /Topic P#OJ#AM &)E)IOPM)NT ST)P
Lesson Plan No. 3!
Time "#e$uired% ! D#S
Proposed &ate
&ate "conducted%
#eference 'oo(s page no.Programming in 1o>Pro <3-<91undamentals of computer *!-6 "v. ra7a #aman%
Teaching Aids :lac('oard= chal(
O'7ectivesSteps of program development= program definition= algorithm =flo8 charts
#evie8 #evision on programming LAN= program mini
Motivation On programming steps
Topics
Information Points
Spot Dints
Steps in programming process The programming process is a set ofactivities that are carried out to
develop implements a computerprogram!%nderstand program specification+% &esign a program modem6% &etermine correctness of program2%Code program%Test de'ug program<%&ocument program"a% pro'lem defination "'%#e$uirement analsis-!%8hat is givenas i/p= 8hat is e>cepted as o/p ho8to arrive at the solution= snta>=e>ecution =logic=de'ugging =program
se$uence= selection= repetition etc.
Logic of program
steps in programmingprocess
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 28/32
Topics
Information Points
Spot Dints
&esign a program model
Algorithm
1lo8 charts
-once the pro'lem is clearl defined=algorithm can 'e developed
a se$uence of precise unam'iguous instructions for solvinga program in a finite no ofoperations .this is creating part ofprogram. The algorithm ma 'econstructed in 'oard terms to helpvisualise possi'le alternatives. Analgorithm is a formula= step-'-stepprocedure-the algorithm must
1) Arrive at a correct solution8ithin finite time +% :e clear=precise=umam'isious 6% :ein a format 8hich lends itselfto an elegant implementationin a programming language
A pictorial representation that usespredefined sm'ols to descri'edeither the logic of computer programor the data flo8 processing step of
a sstem
se of algorithm
Program clarit
Questions: -1" what is proram?
") e5plain the steps 'sed by the proram de+elopment?
3) #hat is alorithm % 'se of its?
7) #hat is flow charts % 'se of it?
Summary: proram +ario's step in proram de+elopment alorithm flow
harts ,
Assignment: - /ome 0wor( uestion ban(
Next assignment
Instructor Group Instructor VicePrincipal /Principal
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 29/32
!6% L)SSON PLAN
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A.
Lesson /Topic &ocumentation
Lesson Plan No. 3+
Time "#e$uired% ! hrs
Proposed &ate
&ate "conducted%
#eference 'oo(s page no.Programming in 1o>Pro *3+-361o>Pro +.-+2!-+2+- #.0.ta>ali
Teaching Aids :lac('oard= chal(
O'7ectives Program development step = program = documentation
#evie8 On programming step
Motivation On documentation of program
Topics
Information Points
Spot Dints
&ocumentation
&ocumentation method
Once the program has 'een 8ritten 'e de'ugged= it is read to use hence re$uires documentation or8ritten processor of ho8 to run the
program= enter data= 8hat pro'lem toe>pect etc.documentation of programconsist of flo8 charts/pseudodes=program listing detailed 8rittenstatements of algorithm procedureinvolved!% Self documentation *it is onemethod 8hich incorporates allnecessar components e>plaining thelogical flo8 in the program itself.
Method of documentationpreparation
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 30/32
Topics
Information Points
Spot Dints
Necessit of documentation
+% Automatic documentation - or
e>ternal documentation or manual1o>Pro 'uilt in utilit that can 'e usedto document the program file as 8ellas other file used ' program file. Itautomaticall indents the doK8hile-end..&o=if-end if =scan *end scan etc.it can help ou to find missing ormisplaced loops
&ocumentation include ever pieceof information a'out the programlogic= input output to the program=test data used etc.
&ocumentation is necessar forprogram maintenance= 8ithout properdocumentation it 8ill difficult tochange a program at a latter date
Necessit of documentationimportance ofdocumentation
Questions: - 1) what is documentation!
") *x%ain the documentation method!
3) 9Need of documentation gi$e the note!
Summary: - %rogram documentation' method of documentation' necessity of
,ocumentation
Assignment: - /ome 0wor( uestion ban(
Next assignment
Instructor Group Instructor Vice Principal/Principal
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 31/32
Institute Industrial Training Institute
Name of the instructor
Trade C.O.P.A.
Lesson /Topic 1lo8chart
Lesson Plan No. 36
Time "#e$uired% ! hrs
Proposed &ate
&ate "conducted%
#eference 'oo(s page no. )lement of computer science-!!-A.0.chadha.
Teaching Aids :lac( 'oard= chal(= transparancies
O'7ectives Program development= flo8chart= and flo8chart sm'ols.
#evie8 On steps of program development.
Motivation 1lo8chart of ever program.
Topics
Information Points
Spot Dints
1lo8chart@ -
1lo8 line@ -
Purpose@ -
One of the most important tools of the
computer programming is a flo8chart;8hich is used ' the programmers toplan the se$uence of the operations8ithin a program 'efore 8riting it .It issm'olic diagram of computerprogram. A flo8chart or 'loc( diagramis a graphical representation of andalgorithm 8hich is step ' stepmethod or a solving a pro'lemIn a flo8chart= flo8 lines 8ith arro8heads are used to indicate the flo8 ofoperation= i.e. the e>act se$uence in8hich the instruction are to 'e
e>ecuted
To depict the se$uence of operations =data flo8 control flo8 8ith a properflo8chart = the programmer ensuresthat all the possi'le conditions areaccounted in the program
Purpose of flo8chart
8/19/2019 copa-lp-new 15-16.doc
http://slidepdf.com/reader/full/copa-lp-new-15-16doc 32/32
Topics
Information Points
Spot Dints
Sm'ols or notations to'e used in flo8charts@ -
:o> Shape Operations
Oval 1or start stop
#ectangle 1or calculation
processe>pect adecision
&iamond 1or a decision
Parallelogram 1or input oroutput
Arro8 1or directionof flo8
Small circle 1or aconnection
5henever a flo8chart is too long it 'ecomesnecessar to continue it or another page= theconnection is re presented ' a small circle.
1lo8chartsm'ols
Questions: - 1" #hat is flowchart?
2" #hat is flow line!
3) 45plain p'rpose of flowchart?
$" Ei+e the notations to be 'sed in flowchart?
Summary: - lowchart flow lines p'rpose of flowchart symbols oflowchart,
Assignment -ome wor. /'estion,
Next assignment
Instructor Group Instructor Vice Principal /Principal