This document provides an instruction manual for teachers delivering the G.C.E. Ordinary Level Information Technology subject. It includes sections on instructional approaches for teaching algorithms using flowcharts, pseudocode and different programming languages. Examples of algorithms and programs are provided to illustrate the concepts. The document aims to guide IT teachers in their instruction to help students understand fundamental computing principles.
This document provides an instruction manual for teachers delivering the G.C.E. Ordinary Level Information Technology subject. It includes sections on instructional approaches for teaching algorithms using flowcharts, pseudocode and different programming languages. Examples of algorithms and programs are provided to illustrate the concepts. The document aims to guide IT teachers in their instruction to help students understand fundamental computing principles.
This document provides an instruction manual for teachers delivering the G.C.E. Ordinary Level Information Technology subject. It includes sections on instructional approaches for teaching algorithms using flowcharts, pseudocode and different programming languages. Examples of algorithms and programs are provided to illustrate the concepts. The document aims to guide IT teachers in their instruction to help students understand fundamental computing principles.
This document provides an instruction manual for teachers delivering the G.C.E. Ordinary Level Information Technology subject. It includes sections on instructional approaches for teaching algorithms using flowcharts, pseudocode and different programming languages. Examples of algorithms and programs are provided to illustrate the concepts. The document aims to guide IT teachers in their instruction to help students understand fundamental computing principles.
c:OoO I0.I.I co.:.S c.Dco. cc: _c.c c:._ DcO cc: c.co c.cc cO.c .c:. ocO. c c._ .o: co.:.S 4 c. .c.. c.c c.Dco. cc: cc ._c ccco _ ccc c:c..o c_ ...oo. o cc...c.c Ot _co .cDO.
o cc..c.c _co c_ c:O:o.. .cDO.
o c+c.c:o:c.c c c: c_ c:c D. cc cccc_. .cDO.
o ccc. cc c.co .c:c c.c.:c c:c D. cc .c:c c.c.:c .cDO.
c. ccco _ c:.tc .c:o c...o. ccoo. cc c::o (inputs), c.:c_. (Process) c: cc:o. (Output) c_o:coo. c:.tc DcO cc: c.cc c.c_o (Algorithm) _.: ccoo. c co.:..S c.:c:ccO ccc ocO:o:cOc cc cOc cc: c:oS coo.
c:OoO I0.I.2 Table-1
AB =18cm, AC=7cm Figure-1 Table-2
c:OoO I0.I.8 c.DS c. Serial No NAME Biology Chemistry Physics 001 Amal 25 36 46 002 Bimal 59 66 69 003 Chamal 45 98 65 003 Dinithi 63 74 41 004 Erosha 89 65 23 List of Books supplied Number of students Number of Physics practical books 45 31 G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
4 c:_.c:cO.c (Algorithm) .o cOc Algorithm .o c:.tcc DcO cc: cocOo. cco cO.D. coc.c_o _.: cDO.. c:.tcc Dc.S c.c o c:.tc Dc._co. cO o c:.tc cc: Algorithm .c:.o:cO o ccoc cO._c. _DO o ccoc cO._c. c.:cOc cc c:_O
_:cco I: c.c.: 8c ccc cO c::o (Inputs) : cO c.c.:c_ .co c.c.:c_ .cco c.c.:c c.:c_. (Process) : cccc cO c.c.:c .co c.c.:c .cco c.c.:c cc:o. (Output) : cccc
Algorithm : Enter the first number Enter the second number Enter the third number Total = First number + Second number + Third number Display the total
_:cco 2c c.c.: 8c c:O:o.. cc. .cDO c::o (Inputs) : cO c.c.:c_ .co c.c.:c_ .cco c.c.:c G.C.E.(O/L) IT Teacher Instructional Manual
Algorithm : Enter the first number Enter the second number Enter the third number Average = (First number + Second number + Third number) / 3 Display the average
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
6 c:OoO I0.2.I
co.:.S c.Dco. cc: _c.c c:_.c:cO (Algorithm) oc:co. cc: c:Dc c c:c DD. .Oc_O (tools) .co coO. c c.t .o: co.:.S 4c. .c.. ccc c:c..o.co ccc cc ._c c. c:c.co c:c. 1) cc cc...c.c Dc..o coc _coc_ cccc _c: c:oO cc: c:cO. (Graphical) c: _7cO. (Textual) oc:co.o ccoo. c:OoO I0.I.2 c c:c I ccc c:_ cccoo.
2) cc cc...c.c Dc..o coc _coc_ O...o. _c: c:oO cc: c:cO. (Graphical) c: _7cO. (Textual) oc:co.o ccoo. c:OoO I0.I.2 c c:c I ccc c:_ cccoo.
Assembly language program is translated in to machine code using an assembler.
Translato Source Program Compiler Interpreter Begin Input hw * hr Sal=hw*hr Display Sal 001101 100000 001001 101110001 00101 10001 111001111001 Assembler Object program Assembly language program MOV r0, #0C ; LOAD: MOV r1,(r0) ; CALL PRINT ; INC r0 ; JMP LOAD ; 0111101 10001 111001 10001 011101 10001 111001111001 0101 000100 10111 G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
12
Annexe 10.3.3
A Table
Language Generation
Special features or changes.
Languages
..
1...
2... . 3...
4
5
..
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
13
c:OoO I0.4.I
Visual Basic Integrated Development Environment
Title Bar Menu Bar Tool Bar Form Window Project Explorer Label Command Button Properties Window Form Layout Window Tool Box G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
14 c:OoO I0.4.2
co.:.S c.Dco. cc: _c.c .c:c:cc +c. c:. c.co c:c:cc. c:_ ccc: Oco (IDE) .c:o cc:cc coO. c co.:.S cccc. .c: c:c. cc cc co.:.Oc. ccc c:c..o cc ._c ccc: c:c ccc c:c _c.c coc c.:c:cc.Oc ...oo. o Visual Basic c:. c.co Dc+ccc c:. c.co cSc:c Oco.c (Design Window) _cco c.Dco. ccoo. o Dcc_ .Scc c:. c.co Dc+c cc Tool Box c.cc _cco c.Dco. ccoo. o Dcc_ .Scc c:. c.co Dc+c cc Project Explorer Window c.cc _cco c.Dco. ccoo. o Dcc_ .Scc c:. c.co Dc+c cc Properties Explorer Window c.cc _cco c.Dco. ccoo. o Dcc_ .Scc c:. c.co Dc+c cc Form Layout Window c.cc _cco c.Dco. ccoo. o Dcc_ .Scc c:. c.co Dc+c cc Code Window c.cc _cco c.Dco. ccoo.
Dcc_ .Scc c:. c.co Dc+c cO. o Windows Tool Bar c.cc Start cco. Oc Click ccoo. o Programs cco.. Microsoft Visual Basic 6.0 click ccoo. o _c. Standard.EXE c.co. (Icon) .c:c: Open, click ccoo. o c. ccco _ c:c... c:_ .c:.c .c:.: coo. o c.. c:_ Dc+c cO, c:cO c:o c.:c:ccS c_ ...oo. o c .c:.:cc .c_ ccco c:c.. ocO:o:cOcc cc cO. c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
15
c:OoO I0.4.8 c.DS c. Dcc_ .Scc .o cOc Visual Basic .o Do..:c cc: c:Dc: c_ c:c co.S c:. c.co ocO:o. cO cc: c:Dc: c_ c:c .Oc_Oc (tool). .O. ccc .co ccoc c:.c.co ocO:o. cO cc: ..::cc c:c ccoc c:c:cc. Dcc_ .Scc c:cSc cO. o Windows Tool Bar c Start cco. Oc Click ccoo. o Programs cco.. Microsoft Visual Basic 6.0 .oo .c:c: c Oc click ccoo. o c_c. Standard.EXE c.co. .c:c: Open or Ok Click ccoo.
Dcc_ .Scc IDE c:. c.co cSc:c Ococ` I0.4.I` cO.coO Dcc_ .Scc IDE c c:. c.co cSc:c Ococ` co. _:.co DD. .c:.c cc: c.c ..:O. ccc c.co c:c c.c.oc IDE cc. c:_ c:cc .c:.c oS cc c:c.
The Toolbox c:.c.co c:_cO cco cccc:.c Form cc. controls c:c_c ccO. tool box cc ..:: c:.o.
1 2 3 5 4 6 1. Form Design Window 4. Project Explorer Window 2. Tool Box 5. Form Layout Window 3. Properties Window 6. Code Window 4. Form Design Window 4. Project Explorer Window 5. Tool Box 5. Form Layout Window 6. Properties Window 6. Code Window G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
16
Properties Window Properties Window c .c:c:cc Object cc. c:_ Properties .coc.. cO Properties c:cScc cccc:.D (Development Stage) ccc. c ccc cO c:c.. Properties Window _. .c_c.c c:c Drop Down .c:c: c:c Form cc. ..:: c:c Objects .coc.. cO .c:..D cco. co Object cc. c:_ Properties Window c ccco _:.cc cc cc c:c ccc cc: .coc cO. c:c..
Form Layout Window c.c c:. c.co ccc Form cc .O:o.c. Oc Dc+c co cc:o. .coc.. ccc. oS .O. Occ c:Dc..o .coc c_ c:c.
Pointer Label Frame Check Box Combo Box Horizontal Scroll Bar Timer Directory List Box Shapes Image Box Object Linking Picture Box Text Box Command Button Option Button List Box Vertical Scroll Bar Drive List Box File List Box Lines Data Tool G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
17 View Code View Object Toggle folder
The Project Window c.c c:. c.co. c:_ .O:._ c: Forms _:.cccc .coc..
Code Window Dcc_ .Scc .cc (Codes) _DO. c:c cc:o.. Object ccc Oc Double click c.So cO Window cc _c: cc c:c. Project Explorer Window Project Explorer c.:c+cc_ _:.cc c: cc:.. c..c : ccco. cc.. Window Elements Code window cc cco. .D. o c. .c:c:cc c.cO c: cSco. _DO. c: c.ccco. cO. c_co.
Object window cc cco. .D. .c:c: cc item cc. c:_c objects .coc..
Toggle Folders
co co items .coco ccc c c c:c object folders .coDO, c:cO c cc.
List window :o. Dc+cc c:c Project cc cc: c c:c items ( form , modules, classes, Class Modules, user controls etc) .coc.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
18
Run End Project Explorer Tool Box Properties Window G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
19 c:OoO I0..I co.:.S c.Dco. cc: _c.c
Control c_ _cco(Properties) ccc. c ccc ccO.
c co.:.S cccc. .c: cc co.:.Oc. I0..2 c:Oo.Oc c cc ._c ccco _ c.:c:cc.Oc ...oo.
1 Lable ccc cc Command Button ccc form cc. c:c_c .c:. cOco ccc. coc c:_ _cco ccc ccoo. 2 Text Box ccc cc Command Button ccc form cc. c:c_c .c:. .co ccc. coc c:_ _cco ccc ccoo. 3 Text Box ccc cc Label ccc form cc. c:c_c .c:. coco ccc. coc c:_ _cco ccc ccoo. 4 Form cc. Text Box ccc c:c_c .c:. cccco cc.D c.co c:c:c.. c:_ _cco ccc ccoo.
_c.c
cco c:c c.c.o (fig - 1) c:c:c.. form cc Oc c:_ Controls c:c_c ccoo. .c:c:cc Control cc. c:_ _cco (Properties) .c:o occoo. c. ccc: c:c ccc. coc c:_ _cco .coc ccoo. c ocO:o. c interface cc ocO:o:cOc ._c cc cO. c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
20 c:OoO - I0..2
1.
2.
3.
4.
Properties Label Text box Command Name LblName TxtName CmdExit Caption Enter Your Name - Exit Background Color Blue Blue - Font Color Red Red - Font Type, Style, and Size Arial, Bold, 12 Arial, Bold, 12 Arial, Bold, 14 Properties Label Text box Command Name LblNumber TxtNumber CmdDelete Caption Enter Number - Delete Background Color Black Black - Font Color White White - Font Type, Style, and Size Impact, Bold, 14 Impact, Bold, 14 Arial, Bold, 16 Properties Label Text box Command Name LblPassword TxtPassword CmdOK Caption Enter Password - OK Background Color Green Greeen - Font Color Red Red - Font Type, Style, and Size Courier, Bold, 12 Courier, Bold, 12 Courier, Bold, 15 Properties Label Text box Command Name LblAddress TxtAddress CmdClear Caption Enter Address - Clear Background Color Magenta Magenta - Font Color Yellow Yellow - Font Type, Style, and Size MS Serif, Bold, 12 MS Serif, Bold, 12 MS Serif, Bold, 14 G.C.E.(O/L) IT Teacher Instructional Manual
Visual Basic Project ccc .c:. o:c.S O_c c.c coc. 1) Form cc Oc Controls c:c_c cO c:O` 2) Controls c_. _cco (Properties) ..O ccc. c _cco Properties) .coc cO` 3) Controls cc: event procedures _DO (Coding) Visual Basic cO ._c. c cc_c ..::co _co Controls Label Control Text Box Control Command Button Control VB c_ Controls oS c.S .c:_ oc c oO co cco.c D. .c. - No Spaces allowed ccc: _ccS .c: Underscore ( _ ) c:o cc Characters ccc cOoc ..:: cc c:c.. cc (.) c: co (-) _co c:o .coc Characters ..::cc .o:c:c. ccO Project cc c_ Forms .cc ccO oo c7. .o:c:c ccc Form ccc c_ ccO oo Controls .cc c7. .o:c:c.. Controls oS c.S cSc:..o cc oc c c_. coc_ co c Controls cc: So:O oOc ... c:c cc cO._c.c _D.S c_o: c:o.S cccc cc: c cc: D.cc cSc:..o ..:: c:.o. c:O:o...o Controls c.cc ...o c:O:o. o.Oc ccc: coc cOc cO Control c.cc c:c.. c: cSco. cco.c oO cc..o ..:: c:.o. _::- Control c.c oO Prefix c:c.. O_ oO o Label lbl caption lblcaption o Text Box txt name1 txtname1 o Command Button cmd cancel cmdcancel o Check Box chk sex chksex o Option Button opt subject optsubject o List Box lst topics lsttopics o Combo Box cmb grade cmbgrade o Timer tmr interval tmrinterval
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
22 Form Control cc Visual Basic Project ccc ocO:o. c.S O_c ccc. Form cc .D. Form cc. c:_ c:cc Properties cc Events cc.c c_c: c_O. oc Project ccc stander.exe .o.co c:cSc c_ D. O_oO cc. _:.co.o cc Form ccc.
Form Properties c.occ c._O Control c_. .OoO Form cc. 40c. c: _cco (Properties) c.c.:cc c:c. o cOccc cc. occO c:cc co ccc cOccc occ .coc cO. ccc. o:c. cc c:cc _cco (Properties) .cc cc c_c: c_O.
_cco (Property) Dccc. Name Form cc c_o: c:oO. c:cc .D. cOc .c:cO.. c.:c:cc. c:_ oOc . .c..
Caption Form c.c Title Bar c.c cco. co O:c+c:c. Ex:- My Bio Data Sheet
Form ccc. Controls ..O Tool Box Window cc Oco ccc. Controls Form cc Oc. ... c:c.. Form cc Oc. Controls ...S cO .cc.
1) cc.c Control cc Oc double-click c.Oo c:_ control cc form c.c O:. c:c_c .D. .OO control cc. o.c cO:o.c c:c. o:cc o:cc double-click c.Oo cc Oc cc co.c Controls form cc Oc ... c:c.. ccc .Oc: ccc. c:oc. Occ c:Dc..o .co.: c:c..
2) ccc. Control ccOc click cc mouse, form cc Oc. .co ccc. cO:o.. c:.Oo (drag) ccc. cO:o.. Control ccc c: cc c:c.. o:cc Control ccc c:O. o:ccc c:_ Control cc Oc click cc form c.c ccc. c:o ccc. cO:o..o mouse drag c_ .c..
.O.c Controls ...S c.. c:.Doc oOc cc..c.c .... command1, command2 c: cc..o` ccc ccc. oS .OO oO, c_o:cc c:c c .coc c_ c:c.. c.cO Caption Property cc cc..c.c .... c. ccc. c .coc cc cc c:c.. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
23
Label Control c:Dc ccoo:. .coc c .o:c:c .c:ccc: c:. c.co c_ cco. cO. Label Control ..:: cc c:c.. ccoc c:. c.co c_ c.occ Control cc: O:c+c: ...S cc c:.c.co c.:cOc c.S _:.co ccc_ ccco. cO c:o c..c cc: .OO Control cc ..:: co _:.S. Tool Box ccc_ Label Control co. _:.co c:c:c.
Form cc c_. c:c_c cco _ Label ccc
Label Control c.c c..:cocc Properties
Property Dccc.
oO (Name) Label cc c_o:c:oO. cc.cc.. Ex:- lblcaption Caption Label cc Oc cco. co cco. c:c.. Font Caption c.c ccc:c_ cO:o., ccc., ccc: c:c:c. (Bold, Italic) c:. ccc cc.. Alignment Form c.c cO., co., O:. c: .cc.O cO:oc Caption cc c_.o cc.. Foreclor Caption c.c ccc: c_ c:c:. oco. cc.. Back Color Label c.c cc7.S c:c:. oco. cc..
Text Box Control c:. c.co c.:cOc co cccc:.D cc c:c_c cO cc: Text Box Control c.:o cc..o ..:: c:.o. Tool Box cc c_ Form cc Oc cco. co c:c:c.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
24 Text Box Control ccc c:c c..:cocc Properties
Property Dccc.
oO (Name) Text Box cc c_o: c:oO. cc.cc.. Eg:- txtname Text Text Box cc Oc cco. co cco.c:c.. Font Text c.c ccc:c_ cO:o., ccc. c: c:c:c. (Bold, Italic etc) c: . oco. cc.. Alignment Text Box cc c_ Text c.c ccO cO, co, O:, .cc.O cOc c: cc..o` Max length Text Box cc Oc _D. c:c _cO ccc:_ccS c.c.:c. .O. 0 oS cO: cccc _D. c:c. Forecolor Text Box cc Oc ccc:c_ c:c:. oco. cc.. Back Color Text Box c.c cc7.S c:c:. oco. cc..
Command Button Control Visual Basic c_ cc_c c:Dc: co Control cc Command Button cc.D. c:. c.co c_ .Oc c.:cOc ccDO. Dc+c cO. .c: c:cO. c:o c:c..o cc: Command Button cc Oc Click cO ..:: co. Tool Box c.c Form cc c_ .coO
Caption - Command Button cc Oc cco. co cco.c:c..
Property Dccc.
oO (Name) Command Button cc c_o: c:oO. cc.cc.. _: :- cmdcancel Caption Command Button cc Oc cco. co cco. .c: c:c.. .c:.c _: Cancel
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
25 c:OoO - I0..4
Table 1
Table 2
Table 3
Table 4
Properties Label Command Name lblName cmdExit Caption Enter Your Name Exit Background Color yellow - Font Color Red - Font Type, Style, and Size Arial, Bold, 12 Arial, Bold, 14 Properties Text box Command Name txtNumber cmdOk Caption - Ok Back Color Light blue Yellow Fore color Dark Blue - style - Graphical Font Impact, Bold, 14 Arial, Bold, 16 Properties Label Text box Name lblPassword txtPassword Caption Enter Password - Back Color Green Pink Font Color Red Black Font Type, Style, and Size Comic, Bold, 12 Courier, Bold, 12 Properties Text box Form Name txtAddress cmdMyfirst Caption - My First Program Back Color Magenta White Fore color Yellow - Font Type, Style, and Size MS Serif, Bold, 12 MS Serif, Bold, 14 G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
26
c:OoO I0.0.I
co.:.S c.Dco. cc: _c.c cc c:_.c:cO.c, ccoc cO ._c.c cc. cccco. ccO.
cc _c.c c_. coc cO ._c.c _.oo. .S coc. co.:.S 4c. .coo. cc cc co.:.Oc. ccc cco O:c+c: c:._` cco cc c:._cc c:co cc ._c _:.co c:c. c co.:.O. _:co c:._c DcO cc: c:_.c:cO.c c:Dc: cc ccoc c:.c.coc _.oo.
c:._ I c.c.: 2c _c: cO c.c.: ..cc .coc .c:.oo. 2 c.c.: 2c _c: cO c.c.: ..cc coc. .c:.oo. 8 cc c.c.:cc cc.` cc c.c.:cco _S.` .c_ D. _:.co _ccc. .c:.oo. _S. 0 .o:co D.` 4 c.c.: 8c cccc .c:.oo.
c. _:co c:._c DcO cc: Dcc_ .Scc c:Dc: cc c_c ccc: Ococc ccc ccoo. cO ._c. c.:cOc cc occ.c:c. cccoo. c .c:.:cc .c_ ccc:o c:c.. ocO:o:cOcc cc cO. c:oS coo. .c:oc (file) cc Project c_c cc:o.c Save ccoo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
27 c:OoO I0.0.2 cc _c.c ccc: Ococ (Interface) ccc cO cc .cc(Code) _DO. Start Programs Microsoft Visual Studio Visual basic 6 Standard Exe Op en Form cc Oc. Label co..:_ c, Text Box co..:_ 2c cc Command Button ccc .co c:c.. c ccc ccoo.
c:c.. c Caption Properties .coc ccoo. Text Box 2, label I cc Command I c Name Properties ccc c .coc ccoo.
Text1 txtfirst Text2 txtsecond La ble1 lblan s Command cmdadd
Text Box 2 c Text property c c:c Oc: Ooo. Label 1 c Caption Property cc Oc: Ooo. Command Button c.c Caption Property Oc +_co ..:oo. c:O co..:_.cO Font Size ccc:c_ Dc:_cc.` c: ccoo. Command1 (Cmdadd) Oc Double click ccoo. c. o Code editor window cc cco c:c. Command Button c.cc click .coD cc cc: c:_ .cc. (code) _ .oo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
28
Run Start c_Oco c.c.:c c_Oco Text Box cc. c:c_c ccoo. c_c c.c.:c .co Text Box cc. c:c_c ccoo. Command Button cc Oc click ccoo. ._c_. Oc _:.co c_cc ccc: cc c_oo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
29 c:OoO I0..I 1) ccc cScco ccoo. 2) X c cc. .cocco D. Y c cc. occo. ccoo.
c:OoO I0..2 co.:.S c.Dco. cc: _c.c
Dc_..o cc o.c.o cc: cc ccc (Data Types) c:Dc: ccO.
Dc_..o (Variables) cc o.c.o (Constants) c:o cc.c:..c _c: c:oO. c.DS c. .c:o c.coo.
c:OoO I0..8 c c:c cc _:.c cc cc ccc (Data Types) coc ccc cc ccoo.
Data Types list o 125 o 2346% o 2345678 o 34568902334555 o 3/4/2005 o 3455568889904433221 o Rs235.00 o 345 o Rs456.00 o Palitha o Kalutara o 2/5/1980 o 266123.45
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
31 c:OoO I0.. c.DS c. Dc_..c (variable) .o cOc cccoc.. Occ cc.:.D cc cc.: c c:c ocDc cc:o.c Dc_..c ._c c:o.D. Dc_..c oS ccO cc cco c cc Dc_..c .o, cccoc.. Occ cc.:.D cc cc.: c c:c ocDc cc:o.c. .O. c:Dc.. c:oO cc:, cO cc:o.. oOc . .c.. .O._c Dc_..c cc: oOc .S cocOo. c .c oc cc cOc.c :occ .c.. Dc_..c cc: .o oO .cc .c:.. cccco c:cSc D. .c.. o ccc ccc:, _ccS underscore( _ ) cOoc ..:: cc c:c. o:cc.O cc c:Dc: c .o:c:c Characters 255 c cc: c D. c:c. cc c:c..c c cc oOc cc ccc cOoc ..:: cc c:c. Dcc_ .Scc c .co cc c:c oS (reserved words) Dc_..c cc: ..::cc .o:c:c. Dc_..c cc: oOc _o cc, c. c. ccc. cc ..:: cc c:c.. _: c.. cc.c c:. c.co c ccc. cc c:ccD. c:c.. :Constant ccc, c:.c.co c ..:: c:oO. ccc. cc:cc cc.c cc.: .c:. cc:c:oO. ..:: c:.o. Eg:-Pi=3.142
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
32 c:OoO I0.8.I
co.:.S c.Dco. cc: _c.c cO ._c cc: Operators c:Dc: ccO.
cO .c:.c c.DS c. c_ c:c _c.c c_. coc c:OoO I0.8.2 c c:c c:._ ccoc. c:Dc: .o:.c:. Dcoo. ccc, cc: ccoc c:Dc: .c:. Dcoo. o Visual Basic Dc+c .c:. c_c Project ccc c.o coo. o Form cc Double Click cc Code Editor cc. .oo. o cc _. cS .c_c.c c:c Object Combo Box c.cc Form co .c_c.c c:c Event Combo Box c.cc Activate .oo .c:coo. o c:c .cc _.oo. o cO._c. c.:cccoo. c_cc: ccoo.
.co .c:.c
c co.:.S cccc. .c.. ccc c:c c:._c_o ccc cc ._c c. _c:... o \ Operator cc c:Dc cco c.c.: .cc .c.S cco c.c.:c (Integer) _c: c:oO. o Mod Operator cc c:Dc .c:. c.c.: .cc .c.S _:.co c. _c: c:oO. o ^ Operator cc c:Dc .c:. c.c.:cc c_. _c: c:oO. o & Operator cc c:Dc .c:. cco (Strings) ccc cO. Visual Basic c:cSc.c:. c:._c. c:_.co ccc: Ococc (Interface) ocO:o. ccoo. c:_ Cording _.: cO._c. c.:cOc (Run) ccoo. Form cc cc Project cc Save ccoo. c:c. ccc:o.. ocO:o:cOc cc cOc. c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
33 c:OoO I0.8.2
Operators List (Arithmetic, Comparison, Logical, Concatenation) Part 1 Arithmetic Operators
1) Print 7^2 2) Print 7*2 3) Print 7/2 4) Print 7\2 5) Print 7 Mod 2 6) Print 7+2 7) Print 7-2 8) Print (7^2+3 Mod 2) 9) Print (7*2+25 Mod 7*2) 10)Print (3+5^2 Mod 3*2/3)
Concatenation Operators 1) Print 2+4 2) Print 2+4 3) Print Information +Technology 4) Print Information & Technology 5) Print Information & &Technology 6) Print 2 & 4
Logical Operators 1) Print (2>3) AND (3>2) 2) Print (2>3) OR (3>2) 3) Print NOT (3>2) 4) Print NOT (5>4) AND (3<2) 5) Print NOT (5>4) OR (3<2) 6) Print (2<3) AND (5<4) OR (7>6) 7) Print (4+5>2) AND (9-3<3) 8) Print (9-4<8) OR (8+`3>5)
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
34 c:OoO I0.8.8
c.D.S c. coc ccO (Arithmetic Operators) c.c.:cc c_. _c: c:oO cc: ^ Operator cc c:Dc cc.. cO c.c.:.D c_. co.o .co c.c.:c.. _:- o 2^3=8(the cube of 2) o 10^3=1000(the cube of 10) o 15^2=225
c.c.: .cc c: cO cc: * Operator cc ..:.. _:- o 25*2=50 o 15*3=45 c.c.: .cc .cO cc: / Operator cc ..:.. Eg:- o 14 / 4 =3.5. o 23/2=11.5
c.c.: .cc .c.S cco c.c.: .c:.c (Integer) cOoc _c: c:oO. \ Operator cc ..: co.. Eg. o 14 \ 4 =3. o 25\2=12 c.c.: .cc .c.S _:.co c. _c: c:oO. Mod Operator cc ..:: co. Eg:- o 15 Mod 4 =3 o 25 Mod 2=1 o 10 Mod 2=0
ccc cO. + Operator cc c. cO. Operator cc c:Dc: cc.. Eg. o 25+15 =40 o 25-15=10
o Concatenation Operator cc Arithmetic Operators ccc .o:co ccc Operator cOcc: c_.c._c Arithmetic Operators c_. ccc c: comparison Operator c_. .cc cc... Concatenation Operator cOcc: c _c._c Arithmetic Operators c_. ccc cc.o ccc Boolean Operators c_. c_o c c...
Logical Operators Logical Operators Oco Boolean cc:co.c c.c.o. .c:. Boolean cc.c _c: ... Operators .cc c:c oc: AND c: OR Binary .c.. co Operator ccc c:c oc: NOR Operator cc unary .c..
Operator -- Operation: o =-- equals o <>-- is not equal o <-- less than o >-- greater than o <=-- less than or equal o >=-- greater than or equal cOcc: coc.c_ Arithmetic Comparison Logical Exponentiation (^) Equality (=) Not Multiplication and Division (*,/) Inequality (<>) And Integer division (\) Less than (<) Or Modulus arithmetic (Mod) Greater than (>) Addition and Subtraction (+,-) Less than or equal to (<=) String concatenation (&),(+) Greater than or equal to (>=) G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
36
c:OoO I0.0.I Option Buttons Check Box Combo box Horizontal Scroll bar Vertical Scrollbar G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
37
c:OoO I0.0.2
co.:.S c.Dco. cc: _c.c
Form ccc.c c:Dc: .c:. cO._c.c .c:. ocO.
c. c:c cO._c. c_oo. (Soft Copy) c.D.S c. c_ c:c .c:o cc.c:. cccoo. c co.:.S cccc. .c.o c:c. ccc c:.t c:o. ..cc c:c c:.t cco cc c:co c:.t .cc co.:.S ccc cc ._c .c: .o c:c.
cO co.:.O Form 1 cc: c:c Controls ..:: coo.
o ccc ccco. c:Dc..o .co.cD c_o _cocc. _c: _o D. c. ~:coc.Dc_. cccco. ccoo. (Scrollbar, Text Box2, Lable2 c:Dc: ccoo.) formula C=5/9 (F-32) o c:c _.cccco c:O ccc.c c: 7O ccc.c .c:c: Print cO. (Combo Box 2c, Lable 2 c c:Dc: ccoo.) o Label ccc c:c cco.c Italic cc ccc c. Undo cO. (Check Box 2c, Lable 1 c c:Dc: ccoo. ) o Form cc c:. cO cc: c:. coc ..O (Option Button 3c, Lable 1 c c:Dc: ccoo.) .co co.:.O Form 2 cc: c:c Controls ..:: coo.
o Label cc Oc Click c.S cc c:. .coc DO c: c.c oO ccco. DO. o Label cc Oc Double Click c.S cc c:. .coc DO c: c.c oO ccco. DO. . o Label c.cc Mouse .co.:.S cc ccc: O:c.:O. o Form cc Load D.S Label c.cc c:. .coc DO c: oO ccco. DO. cO._c. cc: Visual Basic ccc: Ococ (Interface) .c:.ocoo. cc c:.tcc. cc Form cc c:co Form .cc ccO Project c.c ocO:o. ccoo. cO._c. c.: ccc: (Run) occ.c:c. c_oo. c.c .co.S cccS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
.c:c: c:oS ccc.c cO. c:c cccc: cc: Check Box ..:: co. .Oc Value Property cc Check Box cc Check D c:c D. cc o:c.c:c 7._c .D.
Combo Box
Combo Box ccc Oco .c:c: c:oS ccc.c cc c_ c:c. .c:c: c:oS cO:o. c:co D. Combo Box cc Oc Scroll Bar ccc c:c_c .D. Combo Box c.cc c:c _:.cc.co (list) ccc .c:c:c:oO. .c: c_c ccc c:c_ cO. c_co. c_cco _ .c:c: c:oO combo box c.cc text property cc cc. cc.D.
ccc c: ccc Scroll Bars
.OO Scroll Bar ccc _cO c: ccO cc.c c:c. .Sc: Scroll cO Oco _cO c: ccO cc. ccc cc.c c.. _c:. c:c.
Option buttons Check Boxes G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
39
Form1 Coding Codes for Option buttons Private Sub optBold_Click() lblHead.FontBold =True End Sub
Private Sub optReg_Click() lblHead.FontBold =False End Sub Codes for Check boxes Private Sub chnormal_Click() lblHead.FontUnderline =False End Sub
Private Sub chUnder_Click() lblHead.FontUnderline =True End Sub Codes for Scrollbar Private Sub HScroll1_Change() txtFont.Text =HScroll1.Value lblHead.FontSize =HScroll1.Value End Sub
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
40 Codes for Form Load Private Sub Form_Load() optBold.Value =False optReg.Value =False chUnder.Value =0 chnormal.Value =0 End Sub Codes for Show &Hide forms Private Sub cmdMove1_Click() Form2.Show Me.Hide End Sub
How to add items to a Combo Box 1)Private Sub Form_Load() cmbCapital.AddItem "Kathmandu" cmbCapital.AddItem "Colombo" cmbCapital.AddItem "New Delhi" cmbCapital.AddItem "Beigin" End Sub 2) Combo box ccc. items c:c_c ccO, Property Window c List property Oco c c:c..
cmbCapital cmbCountry G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
41 Codes for Combo box Private Sub cmbCapital_Click() lblCap.Caption =cmbCapital.Text End Sub
Private Sub cmbCountry_Click() lblCoun.Caption =cmbCountry.Text End Sub Codes for mouse move Private Sub lblCap_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) lblCap.Caption =" " End Sub
Private Sub lblCoun_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) lblCoun.Caption =" " End Sub Codes for mouse single click Private Sub lblMessage_Click() lblMessage.Caption ="You have clicked once" lblMessage.BackColor =vbWhite lblMessage.ForeColor =vbRed End Sub Codes for mouse double click Private Sub lblMessage_DblClick() lblMessage.Caption ="You have double clicked " lblMessage.BackColor =vbBlue lblMessage.ForeColor =vbWhite End Sub
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
42 c:OoO 10.10.1 co.:.O c.cco. cc: _c.c
cco c:oO cc: If - Then- Else c: End If .c:o.c cc:c.o conditions statements) ..:: coO
c co.:.O cccc. .c:, ccc :c.co cc_ cO._c ccco ccc c:co cc ._c ccc: c:c. c coc c:_ c:c..o c occ coo. o c.c.: .cc cc cc:.. cccc _oD. c. ccc:c c:ccO o cc_.c.c c.c _oD. c.c:.. co c_. c :. c:ccO o c.c c.c.:cc _oD. oc:c. .oo c: c... c.c.:cc _oD. c:c. .oo c:ccO o cc.c:o:c.c c, c_ cOc cc cccc_. _oD., cccc_. c:c. oc:c. .oo c:ccO cc.: c:c c.DO c. cc cocc I, 2 c: 8 .c: o c...o. ccoo c:o:ccc.c ccc: cc:o ccO. IfThenElse c: End If .c:o.c cc:co ..::.co c:c c:c:c. c_oo :o c. c:cc c:c cO ._c. .c.cc cc.:o. ..:O ccoo c:c _:cco. coc:c..o c.c cO._c. _.oo c.. form ccc .c:.ocoo cc:o ccc ccO. cO.c c_o:c:oO. _cc:c ccoo cO._c. c.:cOo cc, DD. cc.o _c:, c coc _:.co ccc_c_ occ.c:c. ccccoo c. cOc c:._ cc cc:. _c: _o Dc_O _:.cc cc ccoo c:c. ccc:o.. ocO:oc_ cc cOc. c co.:.O c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
43
c:OoO 10.10.2 c.DO c. If Then Else .c:o.c cc:c.
ccc :c.co form ccc c: .cc c..c cO._c. c_coo. cOco ..Oc.c _co c:c_c c D. c.. c:_ ccc_. _:.c.
Tmark Textbox cc c _co c:c_c cc CResult Command Button cc c_c c D. Lresult Label cc Oc cOc .c: ccOc passed or failed) .o.co _:.c. .OO c:c:c.. cO ._c.c cco .cco .c cco.c oc:co. ccO. c:Dc .c.c. Form
1 cocc.
.cc c.co ccc :c.co .cc c.c.oc IfThen cc Else cc:c.o Oco cOc ccOc ccc_.o .cO _c:.. .OO ccc_ .cO _c: c:oO. If .c:.c cc Else .c:.c c7. .c .D.
2 cocc.
2 .cc.
TMark LResult CResult If cc Then ccc c:c .c:o.c. .c:o.c. ccco D. cc:o. c .c cc:c. .c:o.c. .o:ccco D. cc:o. c .c cc:c. If cc Then ccc c:c .c:o.c. .c:o.c. ccco D. cc:o. c .c cc:c. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
44 3 cocc. Else .c:.c .o:O:cc cc cO._c. c.:cOc cc, c.o _:.co.. Pass ccc_. cOoc. .O.o .OO .c:o.c cc:c. cc: Else .c:.c cc.cc. .o:co cc c:c:_ .c. c.OoO If Then cc:c. End If cc:c..o ccco DO coc:c. .c.
If Then..... Else.... cc:c. _.o c.c: (Syntax)
If Then
Else
End If
4 cocc.
Condition Statement(s) Statement(s) .c:o.c. Oco DO. cc.c cc c_ .c.. cc. c:c .c: .o:c:c` .OO cc:c .c:o.c. cc.co D. cc:o. .c.c.
.OO cc:c .c:o.c. .o:cc.co D. cc:o. .c.c. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
45 c:OoO I0.II.I co.:.S c.Dco. cc: _c.c
cco c:oO cc: Nested If cc Select Case .c:o.c cc:c.o Conditions Statements) ..:: coO
c co.:.S cccc. .c: c:OoO I0.II.2 c :c.co cc ccco ccc cc ._c _c: c:c. c coc c:_ c:c...c o cccoo. o _cocc.. coc c_.. cccc:c ocOo. ccO o cD _co coc Dcc D:_.. .cc c:c coO ocOo. ccO o c:c.c:cc.c _ cc c:o. c_ co:cO c: c:c.c:cc.:.c ccc. coc cD.S cc. ocOo. ccO o c.c coc cc_.c.c c:o.. ocOo. ccO ccc cc:o c_o: c:oO cc: c:c ccc c...o. ccoo o cco c:o.S ..:: c:.oo Variables o cc. cc:c.. coc:c cccc.o (Conditions) c.:cOc cc .coc cO._c ..co c. c:_ cO._c. .c:c: .co c. ccc cc c:c c:c:c. c...o. ccoo (syntax and form). c.cS c. coc:c..o cO._c. _.o c:c:c. c:_c.c c...o. ccoo :o, c _cc variables and conditions ..:: coo cO ._c. _.oo c Dco ccc cco _ cO ._c. c.:cOc ccoo DD. cc. cc:c.o c:c_c cco cO ._c.. occ.c:c. cccc:cc c_oo c:c. ccc:o.. c.c cc:cS, Oco _o c:.t c: .._ Dc_S c:. ocO:oc_ ._c coc.. cc cO. c co.:.O c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
46
c:OoO I0.II.2 c.DS c.
Nested If Control Structure ccc :c.co cO._c. c...o. ccoo
c TMark text boxcc c. _co c:c_c .c:. CResult button cc Oc c_c c D. Lgrade label cc Oc c.c ccc: O..O c.c
1 c:c. -The Form
cco ccc.c c:oO cc: if structure cc ccc D.c ..::.co c:c c:c:c. ccc .cc c.co c:_D. c. cc.c:. cccc c:c co c:c. ccc cO._c. O_ c. c.:cOc co ccc .c:o.c. o c:c cccc:c cO co cc: .c:c oc:c cccc:c. coc:c ccc _c:..
2 c:c.- cO._c c.co
.OO cO._c..o .o_ _co 40. c. oO Weak .oo, cc:o. .c:. End If cc:c..o cO._c. ccco .c. TMark LGrade CResult 1 2 3 4 G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
47 .o_ _co 40. c. .o:.D oO c_. .c:o.c. c_c: c:._. .o_ _co 0. c. oS Good .oo, cc:o. .c:. c:_ End If cc:c..o cO._c. ccco .D. .O c:c:c.. .c:o.c. oc:c cccc:c cO co cc: .c:c oc:c cccc:c. coc:c ccc _c: cO._c. ccco .D. .
If Then else cc:c. _.o c:c:c. (syntax)
cc.oc. ccccc .o:co coO. If Then else End If .cc. ccc c c.oc cc.o c:c:c.. co.:.S ccc c:c. (nested) .
cc Dccc cco _ cO._c.. Else statement cc c co.:.S cc c:c c:c:c. ccc c:c..o .coc: c:c.
3 c:c. .
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
48 co Dc_..c. c: Dc_..o c.c.:cc c:Dc..o cc cco c:oO Nested If .cc. ccc c:c:c.., c: Dc_..o c:c.O cc: ..::cc c:c.
Form
4 c:c.
.cc.
c:c. cc cO._c. Oco cc cccc:cc cccco I .c: 2`.c: _co 40. c:..o _c: cc.o:c c .c.c.
6 c:c. .co cO..o ccc ocOo c_. cZ. c:c. o cccco .c.O _co 4. c:..o _c: cc.o:c _cc c:.O:_:c. .c.c o 0c c ccc _c: cc.o:c O_c c:.O:_:c. .c.c o 0. c..co _c: cc.o:c cc_ c:.O:_:cc. .o:.c.c
TMark1 TMark2 CComment G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
49
Case cc:c. (Case Statement)
ccc cO._c. c c_o _cc cO._c c_. cO:o.. c.cc Case cc:c. ..:o c:c:c.. .coccS cc.c co. _:.S.
o .cc _.o c:c:c. nested if c:c:c.. c.: .coc.D. o Case statement cc. ccc. cc Dc_..c cOoc c:c.O. cc.D. nested if Oco Dc_..o ccc.c c:c.O. c:c.D. o c cO .c:..c _cc _:cco., cc Dc_..c cOoc c:c .c.o Case statement c:Dc..o c:c.. c:c..
c:c.
8 c:c. - .cc c.co
Select Case Statement TMark LGrade CGrade G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
50 Case cc:c. _.o _co c:c:c. (Syntax)
Select Case <Expression> Case <Value> One or more VB statements Case <Value> One or more VB statements Case <Value> . Case<Value> One or more VB statements Case <Value> Case Else One or more VB statements End Select
Ex Select Case Text1 (cccc - String) Select Case Val(Text1) (c.c.:O. cc.c ) cc.o (values) cc:c. Expression) cOc coc:c D. .c.. cc:c. c.c.:O. oS cc. c.c.:O. D. .c..
cc:c.o Expressions) cc.o (values) cOc cc: c:_.co cc:c. c.:cOc co ccc c.oc case cc:c.o .o:c_c: c:.c.
c:_.co cc:c.c .o:O:c oO, Case Else cc:c. c.:cOc .D.
ccc cc.co, _cocc. .coc co D. c_.. cccc:co .cocco c:c:c. cc: c:c. _cocc. c:c_ .c:. c.. coc:c c_.. cccc:c _c: c:oO. c_c ccc: Ococc cOc cO._c.c ocO:o. ccoo (Nested If control Structure cc c:Dc: ccoo`.
c.DS c..oc I c: 2 c:cc.co .S cc: c...o. ccoo.
Determining various states of water by temperature.
Temperature in Celsius State of water Equal to or less than 0 0 Ice Less than 27 0 and greater than 0 0 Cool water Less than 100 0 and greater than 26 0 Hot Water Greater than or Equal to 100 0 Steam c. _co Oco DccD.:_. .ccO ccc cc.co, cc c ccc.c DccD.:_.. .ccO cc: ccc. cco _co cD _co O..O .coc.. c_c ccc: Ococc c:_cS cc Select Case control structure c:Dc..o c_ccS _co c:.O:_:c .cDO. cO._c.c _.oo. c.DS c..oc c: 8 c:cc.co .S cc: c...o. ccoo. Z Score Nature of Selection From 0 to 1.5
Not Selected 1.6 to 1.9
Bio Science 2.0 to 2.4
Veterinary Greater than 2.5 Medicine
c:c.c:cc.:.c cccc. c: _cc c:o. c:c_c c D. c..O O..O oco. ccO
ccc cc.co cco c:.co. Oco cD.S _c: .o coO .coc.. c_c ccc: Ococc c:_cS cc c:c.c:cc.:.c cccc. c: _cc c:o. c:c_c c D., cD.O oco. ccO cc: Nested If Control Structure c:cco cO._c.c .c:. ocoo.
Status Total amount of Purchases in rupees Discount More than100, 000 10% Registered Customer Less than 100,000 5% More than 100,000 5% Other customer Less than 100,000 No Discount
c.c coc cc_.o ccc ccO ccc cc.co c.c coc cc_.c ccc c c:c c:c:c.c :c.D. c_c ccc: Ococc c:_cO cc Select Case control structure c:cco c.c c:c_c c D. c:o.. _c:c:oO. cO._c.c c:_cS ccoo. .O cc: c.DS c..oc c: 8 .o c:c c.co _c..:c cc coo.
Age Age group 3 to 17 years Child 18 to 40 years Young 41 to 60 years Middle aged Above 60 Old G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
52 c:OoO I0.I2.I co.:.O c.cco. cc: _c.c For-Next loop c:Dc..o cc cc:cc c.:cOc co c:c..c cc: cO._c.c _.O c co.:.S cccc. .c: cc co.:.Oc. cc c:co ccc :c.co c:c..o ccco ccc cc ._c ccc: c:c. c coc c:_ c:c...c ...oo o 1 c. 0 cc: c.c.: .coDO cc: cO._c.c _.: c.:cOc ccoo o c.c oO c cc:cc _.DO cc: cO._c.c _.: c.:cOc ccoo o 9 c. I cc: c.c.: .coDO cc: cO._c.c _.: c.:cOc ccoo o _co 8 cc:cc cco. DO cc: cO._c.c _.: c.:cOc ccoo c.DS.c... cO .c:.c c.c: For-Next loop cc _.o c:c:c. c: c.o cO._c.c .c:.oco c:c:c. cc cc.c:..c _c: coo c.DS .c... .co .c:.c c.c: c:c c:c.. cc: cO._c.c .c:.o:cO. ccc. ococ: c: :oO _cc: coo c _cc: cc :oO c:c..o cO._c. .c:.ocoo cO._c. c.:cOc cc occ.c:c. cccc:cc c_oo c:c. ccc:o.. ocO:oc_ cc cOc. c co.:.O c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
53 c:OoO I0.I2.2 c.DS c. cO .c:.c Loop structures .o _c.c o:cc o:cc c.:cOc ccO. ..::co _co cc:c.c. .OO _c.c, _c. c .o _co .S cc cc.c (counter value) cc: _.: co cc: o:cc o:cc c.:cOc .D. cO ._c. c.:cOc co c:c coo loop counter . Oco coo. .c.c.
c.:cOcco c:c coo oo: cccc:c_ For loop cc ..::c:.o. c:c c:cOcc cc.c c. c:c ccc:o cc.c cc: .OO _c. For loop) c c:c _c.c c.:cOc .D. For loop cc _.o c:c:c. Syntax) For <CounterVar>=<Start Value>To <End Value>step <increment or decrement value> Statement Next<CounterVar>
Figure 1: Flow chart of For-Next Loop structure cO._c. c.:cOc co c:c coo c:cScc cc. c: ccc:o cc. Oco cco. .c.c. c.OoO cc ccc c .c: cc .o cc. _c. c cco c c:c.. c.c c .c: cc .o cc. cco cc o:coS c:O:o. c:c:c.. cc cc.c c:co c .c: cc ...
_: I
For X=1 TO 4 Loop body Next X .Oc cc. cc ccc. cc c:co c .. (X=X+1) cO cc, X is 1. .co cc, X is 2. cccco c:c.. X c cc. 4 D _c. ccco .D. _: 2 For X =1 To 9 Step 2 Loop Body Next X .Oc ccc cc. .c c:co c ...( X=X+2) cO c:c.. X is 1. .co c:c.. X is 3. X c cc. 9 c D. _c. occ. CounterVar <=End Value CounterVar=Start Value+1 Increment CounterVar True False Loop Body G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
54 _: 8 For X =9 To 1 Step -2 Loop Body Next X
.Oc ccc cc. .c c:co cc ...( X=X-2) cO c:c.. X =9 .co c:c.. X is 7. X c cc. 1 c D. _c. occ. .co .c:.c 1. Command button ccc c_c c D. 0 c. 8 cc: c.c.: _DO. for-next loop ..:: coO. Private sub Command1_ click () For i=0 To 8 Print i Next i End Sub cc cO ._c.., For- for loop i - integer 0 -starting value To between start and stop (end) value 8 stop value Next go to next step (if i>8 then end for loop). 2. Command button ccc c_c c D. Hello .o cco. co ccc _DO cc: for-next loop cc ..:: coO. Private sub Command1_ click () For i=0 To 2 Print Hello Next i End Sub cc cO ._c.., For- for loop i - integer 0 -starting value To between start and stop (end) value 2 stop value Next go to next step (if i>2 then end for loop).
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
55 c:OoO 10.13.1 co.:.O c.cco. cc: _c.c
Do-While loop c:Dc..o ccccc c.:cOc co cO._c.c _.O c co.:.O cccc. .c: ccc :c.co c:c..o ccco ccc cc ._c _c: c:c. c coc c:_ c:c...c occcoo. o I. c. c.c.: cco. ccO cc: cO._c.c _.: c.:cOc ccoo o I4. c. c.c.: cco. ccO cc: cO._c.c _.: c.:cOc ccoo o I2. c. c.c.: cco. ccO cc: cO._c.c _.: c.:cOc ccoo o II. c. c.c.: cco. ccO cc: cO._c.c _.: c.:cOc ccoo c.DS c..oc cO .c:.c c.coo Do-While loop structure cc cc cO._c. .c:.o:.DO cc: ccc. .cc c_o: coo .OO c._O .c:.c c.c: cc: cc .c: cc.c:..c _c:coo :o c. ccc: c:c c:c... c:_ .c:.c c_o: coo c. o:cc .c:o c.c: c.c cO._c. _.oo c. c.:cOc cc occ.c:c. cccc: ccoo c:c. ccc:o.. ocO:oc_ cc cOc. c co.:.O c:oS coo.
Do While _c. _.o c:c:c. - I cO. Do While <condition> Statement(s) Loop .c:o.c. c_c: c_:, _c. c c:c _c.c c .:cOc .D.
Do-While loop - _:cco.
Output:
Example 2: Do-While loop Do While _c. _.o c:c:c. - 2 cO. Do Statement(s) Loop While <condition> _c.c c:c _c.c ccc c.:cOc D .c:o.c. c_c: c:._, G.C.E.(O/L) IT Teacher Instructional Manual
cc _:cco.. start button c_c c_D. I c. I0 cc: c.c.: Oo.D n I0. c.: c: c D. _c. occ.
Example 2 Do Loop Until
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
59
Output:
cc _:cco.. start button c_c c_D. I c. I0 cc: c.c.: Oo.D n I0. c.: c: c D. _c. occ.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
60
c:OoO I0.I4.I
ccc cco cc.D cco .c oS cc co c..c co.:.O ccoc c:c.
Name Group Hema A Kamal B Nihal A Mala B Raja C Mari A Theja B Kamala B Perera A Peter C nayoma B
c7. c:c co.:.O
GroupA 1. Hema 2. Nihal 3. Mari 4. Perera
GroupB 1. Kamal 2. Mala 3. Theja 4. Kamala 5. Nayoma GroupC 1. Raja 2. Peter G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
61 c:OoO I0.I4.2 co.:.S c.Dco. cc: _c.c
Arrays c:Dc: cc cO._c.c .c:. ocO.
c c._ .o: co.:.S 4c. .c.. ccc cco cO ._c. c._O co.:.S c_. ccco _:.S. o ccc cco c Interface ccc cc coo.
o Button .c cc: Name Property cc cmdStart c: cmdExit ._c Caption Property cc c_.c_o Start c: Exit ._c .coc cc coo. o ccc cco .cc (Code) cO c:c:c..O c:c_c cc coo.
Dim NumArray(4) As Integer 'Declaring an array as NumArray Dim num As Integer Private Sub cmdStart_Click() NumArray(0) = 10 'Assigning values to the array NumArray(1) = 20 NumArray(2) = 30 NumArray(3) = 40 NumArray(4) = 50 For num = 0 To 4 'Display the out put If NumArray(num) <> 0 Then Print NumArray(num) End If Next num End Sub Private Sub cmdExit_Click() End End Sub Arrays ccc c_oc:O, Arrays ccc. cc.o c:.c cO, Arrays c:Dc: cO cc cO._c..o cc.c:.cc coo. ccc cco c.:c:ccS cc ._c co.:.S 4 ccc .c: .o _:.S. o c.c.: cc.: cc c:oO cc: Arrays c:Dc: cc cc c:c c.c c.c.: coo cc c:oO. o cc ._c _c: cc c.c.: cOc.c Arrays ccc cc.: cc cc c:c Dc:_cO c.c.:c .cDO. o Key Board Oco c:c_c cco _ c.c.: Array ccc cc.: cc cc c:c cD.D c.c.: c_ cccc .cDO. o cc ._c _c:cc c.c.: cOc.c Array c_ cc.: cc .o _ c.c.:cc Array cc c_ cc.: cc c:c cc:o. .c:.: c:oO. c .cc _c: c:c c.:c:ccO c.c: .cc:S coo. c. co.:..S c:O:Sc.o cOc c:cDc: ccoo. cO ._c c_ Arrays c:Dc: cco c:c:c. c.DS c. c:cco cc.c:. cc coo. Visual Basic c:cSccc .S c.:c:ccO. c_c Interface ccc ocO:o. cc coo. c cc: ccc. .cc (Code) c:c_c cc Project cc c.:cOc cc oc:c cc cccc: cc coo. ccc:o.. c Oco _o c:._, cc:. _c:_o Dc_S c:co _c cc:c c:c..o ocO:o:cOc co.:. cc cOc. c:o coo. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
62
c:OoO I0.I4.8
c.DS c. Arrays c_oc: O ccO oo c_oco, c.co. cco _ (Indexed), Variables cOc.c Array ccc oo c_oc..
ccO ccc.. (Type) cc cOc.c cO ._c.c c:Dc: cco D. c cc: .co .coO Variables c:Dc: ccoc:. c.: Array c:Dc: cO c.:c ..:c. .D.
_:cco.c ._c cO ._c.c c_ cc_.o.c oS c..c cc.: cO c_cO. .S cc: .co .coO Variables c..c c:Dc: ccoc:. c.: Array ccc c:Dc: cO _Dc.. Array ccc c:c cc .co .c:. c_o: c:oO. cocc c.co.cSubscript)c:Dc: cc.. .O. Array Index o .D.
_: Name(1), Name(2), Name(3) c: cc..o
Declaring Arrays .S cc: Dim cc:co. Statement) c:Dc: cc.. c. ccc c:c:c.. _D. c:c.
Dim arrayName(lower boundary to Upper boundary) as dataType _:cco. Dim Name(1 to 10) as string Dim Name(1 to 10) as string .OO cc:c. (Statement) Oco Declare .c.co Array c.c cO Element cc Name(1) co ccc ccco Element cc Name(10) .D.
Array Variable c_oc:O ccc c:c:c.. c.ccccc c c:c. Dim ArrayName (Upper Boundary) As Data Type. cc Variable c_oc:O Oco _:.co Ot Elements c.c.:c Upper Boundary c_ c:c cc.. c.: ccco c:.. _:cco. Dim CusName(10) as String .OO c_oc:.S Elements coo IIc. CusName(0) c. CusName(10) cc: Data Type coc:O coc:c. .o:.D. c_oc:.o .o:_:cc.c:c c. Variant Type ._c co.
Array ccc cc _c: O cc cc _c: c:oO. .S cc: Loop Control Structure c:Dc: c_ c:c.
num array cc. cc _c: O _:cco. - Dim num(10) As Integer For i = 0 to 10 Num(i) = i*10 Next i
num array c.c c:c cc.o _c: c:oO _:cco. For i=0 to 10 Print num(i) Next i
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
63
Sample Program 1 c.c.: cOc.c c::o. (Input) cc .S c.c.:cc Array ccc c_ c:c cc:o. (Index) cc .c:.: c:oO.
.cc (Codes) ccc: Ococ (Interface)
Dim num(11) As Integer Dim i As Integer Dim place, countp As Integer
Private Sub Start_Click() countp = 0 i = 0 place = 0 For i = 0 To 10 num(i) = InputBox(" Enter Number" ) 'Read numbers from key board Next i MsgBox (" Number entering is over" ) place = InputBox(" Enter the number that you want to find the index" ) Do While num(countp) <> place countp = countp + 1 Loop Form1.Print countp 'Display the output End Sub Sample Program 2 I c. I0 cc: c.c.:c_ ccc O_. .c:.: cc: Text Box Oc .coDO.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
64 The codes Dim Numarray(1 to 10) As String Dim num As Integer
Private Sub Start_Click() For num = 1 To 10 assign values to an array Numarray(num) = num ^ (1/2) Next num For num = 1 To 10 'display the out put If Numarray(num) <> " " Then Text1 = Text1 & " , " & Numarray(num) End If Next num End Sub Private Sub Exit_Click() End End Sub
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
65 c:OoO I0.I.I co.:.S c.Dco. cc: _c.c
Functions cc Procedures c:Dc..o cO._c.c .c:. ocO.
c c.t .o: co.:.S cccc. .c.. ccc c:c..o ccco ccc c co.:.S c_. cc ._c c:c.co c:c. Label ccc ccc:c_ c:. (Fore Color) cc cc7.S c:. (Back Color) .coc cO cc: cO._c.c _.oo. cc ccc ccccS c:cc. .c.. o Option Button c:Dc: cc ccc:c_ c:. (Fore Color) cc cc7.S c:. (Back Color) .coc c.S c:c.:c o c:_ Scroll Bar c:Dc cc cc .c: c: o_ cco .coc c.S c:c.:c
c.c.: .cc ccc cc ccc_. Text Box ccc .coDO cc: cO._c.c _.oo. o cOc c.c.: .cc cccc _c: c:oO cc: Arguments Pass cco Function ccc _.oo. c. ccc c:c..o .co c Buttons c_ Click Event cc. Call ccoo. o Add Button - Event Procedure cc c_ Dc_..o cc: c:.c co cc.o.c cccc _c: . .c.. o Key Board Button -.cc: ccc:c Oco c:c_c cco c.c.:c_ cccc _c: . .c..
cOc:o ._c_.. cc .co ._c_.. Caption cc: String Dc_. Arguments Pass cO. Procedure ccc _.oo. ccc c:c.. c_co c:c:c.. cO Procedure cc, cc cc Button cc cc: Call ccoo.
o Button ccc Click cco D. cc Caption cc. cO:o ccoc.c cOco ._c_.. c. c:_.co cc..o .co ._c_.. c.co D. .c..
c+c.c:o:c.c c.cc c_. c: cc. .c:.: ccc_. cDO cc: Form 3 c_ Functions .cc _.oo. c:_ Button Click c_ D. .o _ O:o.o. coc c.cc c_. cc cc. coo. co c.o cc Functions c:O Form cccO c:_ Button c_ Click Event cc: Call ccoo. 2 1 G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
66
o .S co.:.O. ccco _ c:.tc .c:o c...o. ccoo. o c.DS c. .c:o c...o. cc Functions cc Procedure c.: cco c:c:c. cc.c:. cc coo. o VB 6.0 c:cSc cc c:_ ccc: Ococ (Interfaces) ocO:o. cc cO._c .c:. ocoo. o c:_.co cc..o ..:: cO ._c ccc: ccoo. o c co.:.O c.Dco.. .c:.:cc . ocO:o:cOcc cc cO. c:oS coo.
occ c:Dc: co coc ccO ccoc cc Controls c:ccDS cc c:c .O.c.S c: o:cc o:cc c:Dc co .c: cc._ c:Dc co .c: cc.o .c:occ cc: c:oO cc: Procedures c..:cocc .D. The Syntax Private Sub ProcedureName( parameters/arguments ) statement(s) End Sub
Procedures ccc cO._c c_ c.:o c:c oS o Procedures ccc cO._c.c c.c .o:O:c cO._c.c. c.: ccc.co oc:c cS c c:c DO. o cc cO._co.c c:Dc: cco Procedures c: ct .coc cOc cc .c: c.c .o:O:cc .c: .coc cO._co.c cc: ..:: cc c:cDO. o cO._cc.o (Programmers) ccc ..oc. ccO cO._co.c (Programme) Oc c:.c_ c:c DO Visual Basic c_ c:c:c .cc Procedures c:c. Sub Procedures - cc..o (Value) c.c. _c: .o:.. Functions - cc..o (Value) _c: .. Functions cc Procedures ccc c.:o .coc oS Functions c. Call cco Procedures cc. cc.o _c: .o ccc Procedures c.c .o:cO.. Event Procedures .OO .c:..c c:cDc: .o.c.c` c_o .cocc c_o: c:oO cc: Functions cc Sub Procedures .c:_.D General Procedures ._c c_oco _:.S.
Sub Procedures Sub Procedure ccc .o D.ccc c:c..o ccc .c: ccc.c cco cO._c .c:.cc. c.. .coO oOc c:c ccc cO._c.. .coO .c:.cc ._c _.o _c.. Private Sub ProcedureName( parameters/arguments ) statement(s) End Sub
Procedure ccc oS c.S ccOo Dc_..c (Variable) oS c.S ccOo. cO:o.. Procedure ccc cc: .c:c:coo: oO cO Procedure cc cco c:c.. Dccc co ccc D. .c.. Sub Procedure ccc .cc cct.D (Code Window) .c_oO _ D. c:c.
_:cco. I ccc _:cco..o Procedure ccc _.o c:c:c. cc c. .coc Procedure ccc. c:co (Call) c:c:c. .coc.. Private Sub callproc_Click() Call Firstprocedure calling statement of procedure End Sub
Private Sub Firstprocedure() Print " Aubowan" End Sub G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
68
Functions Functions c:O:o. Procedure ccc. cO:o.. oOc Function ccc c. Call cco Procedure cc. cc.c (Value) _c: .. (Pass). _c: .o (Pass) cc ccc. (Data Type) Visual Basic c_ c:Dc: co So:O cSOc cc ccc.c (Data Type) D. c:c..
The Syntax Private Function Function Name (parameter1 As data_type, parameter2 As data_type, ) As return_data_type Statement(s) Function Name =Return value_that_the_function_returns End Function
Functions cc: .c:c: coo: oO Oco c. cco c:c.. Dccc D. .c.. Functions c_oc:.S ccoc.. ccc:o.. c:c return-data-type .o.oo Functions cc Oco _c: .o cc.. (Value) cc ccc. (Data Type) _c: ... Function ccc ccc c.o .coc Procedure ccc. c:D. c:c.
Procedure/ _c Programme .c:.c cccc Private Sub cmdAdd_Click() Dim Num1 As Integer Dim Num2 As Integer Dim Sum As Integer Num1 = 2 Num2 = 3 Sum = Num1 + Num2 Sum.Text = Str(Sum) End Sub
Option Explicit '----------------------main procedure ----------------------------------------------- Private Sub cmdadd_Click() Dim Num1 As Integer Dim Num2 As Integer Dim Sum As Integer Call GetTwoNumbers(Num1, Num2) Call AddTheTwoNumbers(Num1, Num2, Sum) Call DisplayTheSum(Sum) End Sub '----------------------procedure 1----------------------------------------------- Private Sub GetTwoNumbers(a, b) a = 2 b = 3 End Sub '----------------------procedure 2----------------------------------------------- Private Sub AddTheTwoNumbers(c, d, e) e = c + d End Sub '----------------------procedure 3----------------------------------------------- Private Sub DisplayTheSum(d) sumtxt.Text = Str(d) End Sub
Arguments/Parameters c_ cc ccc. (Data Type) Arguments c_ c:O:o. (Default) cc ccc. Variant ccc. .D. oOc c cc: .coc cc ccc.c (Data Type) c_oc: O. ctco. _:cco ._c ccc Procedure c String Arguments c:cco _c..
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
70 _:cco Interface
Private Sub cmdshow_Click() Dim msg As String Call welcome(msg) End Sub
Private Sub welcome(message As String) message = " You Are Welcome" Print message End Sub
cc Procedure ccc c_ Procedures cc Functions coo:cc c7. c:c.
_:cco 0 Private Sub cmdAdd_Click() Dim total As Single ExplainPurpose () total = AddNums(2, 3) PrintNums(2, 3, total) End Sub
Private Sub ExplainPurpose( ) MsgBox (" This program displays a sentence identifying two numbers and their sum" ) End Sub
Private Sub PrintNums(num1 As Single, num2 As Single, theTotal As Single) MsgBox ( " The sum of " & num1 & " and " & num2 & " is " & theTotal ) End Sub
Public Function AddNums(numA As Single, numB As Single) As Single Dim theTotalValue As Single theTotalValue = numA + numB AddNums= theTotalValue End Function
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
71 c.co :- cmdAdd-Click Event Procedure cc coS .Oc c.:o Procedure cc c: cc_ c: c.DO. ccc D c:c. cc c..c D. .cc cc c.t Dccc co co Procedures cc Functions c_. c:c c:c.
Public c: Private .._S c_ cc:c. Functions .c: Procedure c_oc: .S Public .._ D. c. cOcc Project cc c_ c:Dc: c O. c:c. c.cO Private .._ D. c:_ Module cc c_ .c: Form cc c_ cOoc c:Dc: c_ c:c.
_:cco. ccc Forms c: cOc c:c cc:. c:_ Codes .c:o c...o. c_ D. Function ccc .c: Procedure ccc c_oc:.S Private cc Public .o .._S c_ c..:co c:c:_ co c:c. Form 7 c.cc (Form 7) Convertcelcius oS Function cc Public ..:: c_oc: c:c. cO oc: cO Function cc Form 8 cc. (Form 8) c:DO c_ c:c. oOc Public .oo .coc. Private .oo ..:: cco oS cc Function cc Form 8 c_. c:D. (Call) .o:c:c. .coc Form ccc c:c cc:o Public Function ccc c:co D. Form c.cc oO cco c_ .c..
Option Explicit
Private Sub Celcius_Click()
Dim fahren As Byte Dim cels As Byte
fahren = txtfahren cels = Form7.convertcelcius(fahren) lblResults.Caption = cels & " degrees of Celsius" End Sub Option Explicit Dim far As Byte Dim cels As Byte Public Function convertcelcius(f As Byte) As Byte convertcelcius = (f - 32) * 5 / 9 End Function Private Sub Celcius_Click() far = txtfahren cels = convertcelcius(far) lblResults.Caption = cels & " degrees of Celsius" End Sub Private Sub Command1_Click() Load Form8 Form8.Show End Sub Private or Public G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
72 c:OoO I0.I0.I co.:.S c.Dco. cc: _c.c
Timer Control c:Dc ccO.
c c.t .o: co.:.S cccc. .c.. c.c c.Dco. cc: cc ._c ccco _ ccc cco c:c..o c_ ...oo. cc. Oc c:O cccc.cO coD.. cco. cO. cc.. c.S c. co. c+cc.c c_o. cco cccO Start cc Stop Buttons Oco c_o. o:c:cDO cc o:cc c.:cOc ccDO. .Dc. c:_o. cO. Scroll Bar c:Dc: cc cc.. c c. cc. c+cc.c c_o. cO. c+c.c:o:c.c c_ .o _ cO:cc. cO cO..o c: cO.
Timer Control c: Timer Event c:Dc. cc.c:. cc c:oO cc: c.DS c. .c:o c.coo.
c:O cccc.cO c:_. cco. cO. Timer Control ..:: co.o .c.c. o c:oO., I co c:c.. c:c Form 2co c:c..c c:c Property Window cc 8co c:c.. c:c Codes c...o. ccoo.
c.:c_.c .Dc. c:_o. cO. Interval co:.c. (Property) .coc cO cc: Text Box c:Dc: cco.o .c.c. o c:oO. 4co c:c.. c:c Form cc co c:c.. c:c Codes c...o. ccoo.
Timer c.oco.o (Start) cc ccco cco.o (Stop) .c.c. o c:oO. 0co c:c.. c:c Form cc co c:c.. c:c Codes c...o. ccoo. c.c Interface ocO:o. cO cc: c. c:c cO._co. (Program) c...o. cc Controls .c:c: coo.
Timer Event c:.:c..o Timer Control c .coc cco _co co:.c (Properties) c_o: coo.
.OO cO._c.. c.c c.c. cD.D c.c.:c_o .co cc c:oO. c:c.. c.c.: ccc. .coc co D. c coc cc c:. .cocDO Shape Control Oco cc.. .Oc Scroll Bar Timer c Interval co:.c. (Property) .coc cO. c:Dc: cc.. Interval Text Box Oco Scroll Bar cc: o. c:c cc. cco. cco _c..
c. c:..c c:O. ccc. oS coc Controls Form Oc c:cc c:c:c.. cOc c:.. c:coo. Property Window c Shape co:.c. (Property) c. c. c+cc.c cc c:oO. _cc:c coc: c:c.
.OO D.:o. Oco ..Oc. c:cSc .D. .OO D.:o. Oco ..Oc. occco _c.. .OO D.:o. Oco Shape Control c cco. .coc cco _c.. .OO D.:o. Oco _ccS _DO I c. c:cSc .D. ..Oc. c.:cOc co D. c. I c:co ccc cc..` .OO D.:o. Oco Scroll bar c_o. cco D. Interval co:.c. .coc cco cccO c. Text Box c cco. cco _c.. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
76
c:OoO I0.I.I
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
77 c:OoO I0.I.2
co.:.S c.Dco. cc: _c.c
cc cc cc.: (Data Bases) c_o cc (Data) _c: c:oO. cO._c _.O.
c co.:.S cccc. .c.. cc cc co.:.O. o.c cco _ ccc (Table) c:c cc cc.: o.:.(Sample Database) c_ c:c.
o c.c c:Occ_ .c:ccc: c..c ccc o .ccc.o.c .c:ccc: c..c ccc o Dc:c _co _:.cc .c:ccc: c..c ccc o cco.c .c:ccc: c..c ccc c.DS c. .c:o c.c: .cc:S.co Visual Basic Project ccc Oco cc c:c.c c:c cccc. cSco.co c:c:c. .co coo. Dcc_ .Scc c:cSc cc oc Project (Standard EXE) Dc+ccc Data Environment ccc c.. ccc cc c. o.O cc c:c ccc. cSco. coo. Standard Tool Bar c c:c Save Button Click ccoo. c cc:cO: Dco o.O cco _ Folder c.cc (Data Environment, Form c: Project) Save ccoo c.c co.:.O. ccc: c:c c:c:c.. c:OoO I0.I.8` Form c:_cS ccoo. Form cc Save ccoo. Program Run ccoo. c. Text Boxes ccO cc cc .c.oD. Program End ccoo Sample Data Base c c:c c co.:.O. o.c ccc c_ c:c fields, Text Boxes c_. Link ccoo. c cc: Text Boxes c_ ccc c.co Properties c_c c:c:c.. .coc ccoo.
DataSource, DataMember cc DataField
o Program cc Run ccoo. Buttons Click cc c_co c_oo. Program cc ccco ccoo Project Explorer Window c c:c c.c Form oc:co. cco Icon cc Double Click cc form design window .coO. c_ccoo. First Button Oc Double Click ccoo. cc.cc c:c c_Oco Record cc. cOo cO. Click Event cc. .cc. _.oo. Previous Button cc Oc Double Click cc cc Record cc. .:O cc: Click Event cc. .cc. _.oo. c._cO, Next Button Oc Click cc cc.cc c:c c_c Record . cOo cO. .cc. _.oo. Last Button cc Oc Double Click cc cc.cc c:c ccc:o Record . cOo cO. .cc. _.oo. Program cc Run ccoo. Buttons Click cc c_co occco. ccoo Last Button Click cc Next Button click cc.Oo Error Message ccc _:.SD. c.. .ccc cOc Next Button cc: _. .cc. oc:c ccoo. First Button Click cc Previous Button Click cc.Oo Error Message ccc _:.7. c.. .ccc cOc:. .c:.oo Previous Button cc: _. .cc. oc:c ccoo. o Program cc Run ccoo. Buttons Click cc c_co c_oo. Project cc Save ccoo. c.c .coS cccS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
78
c:OoO I0.I.8
cO c:o co.:.O cc: c:_ ccc: Classes
.c:o co .:.O cc: c:_ ccc: Employees co c:o co.:.O cc: c:_ ccc: Marks
ccc c:o co.:.O cc: c:_ ccc: Students
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
79
cO c:o co.:.O cc: c:_ Form cc
o Form cc Objects c_ Properties cc.c cc: c:c c:c:c.. .coc ccoo
.c:o co .:.O cc: c:_ Form cc
Object Name Caption / Text Form1 frmClasses Classes Label1 lblClass Class Label2 lblTeacher Teacher Label3 lblBoys No of Boys Label4 lblGirls No of Girls Text1 txtClass Text2 txtTeacher Text3 txtBoys Text4 txtGirls Command1 cmdFirst First Command2 cmdPrevious Previous Command3 cmdNext Next Command4 cmdLast Last G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
80
Form cc Objects c_ Properties ccc cc.c cc: c:c c:c:c.. .coc ccoo
co c:o co.:.O cc: c:_ Form cc
Object Name Caption / Text Form1 frmEmployees Employees Label1 lblEmployeeNo Employee No Label2 lbName Name Label3 lblAddress Address Label4 lblSalary Salary Text1 txtEmployee Text2 txtName Text3 txtAddress Text4 txtSalary Command1 cmdFirst First Command2 cmdPrevious Previous Command3 cmdNext Next Command4 cmdLast Last G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
81 Form cc Objects c_ Properties ccc cc.c cc: c:c c:c:c.. .coc ccoo
ccc c:o co.:.O cc: c:_ Form cc
Object Name Caption / Text Form1 frmMarks Marks Label1 lblName Student Name Label2 lblEnglish English Label3 lblScience Science Label4 lblMaths Maths Text1 txtName Text2 txtEnglish Text3 txtScience Text4 txtMaths Command1 cmdFirst First Command2 cmdPrevious Previous Command3 cmdNext Next Command4 cmdLast Last G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
82
Form cc Objects c_ Properties ccc cc.c cc: c:c c:c:c.. .coc ccoo
Object Name Caption / Text Form1 frmStudent Student Label1 lblAddNo AddNo Label2 lbName Student Name Label3 lblAddress Address Label4 lblDOB DOB Text1 txtAddNo Text2 txtName Text3 txtAddress Text4 txtDOB Command1 cmdFirst First Command2 cmdPrevious Previous Command3 cmdNext Next Command4 cmdLast Last
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
83
c:OoO I0.I.4
cc _c.c
cc c:c.c(Database) cccc (Table) c:c Records cco. cO cc: Visual Basic c_ Data Environment ocO:o. cO.
Sample Database c Contact Table cOc cSco. .cO. (C:\ict\sample.mdb)
1) Visual Basic c:cSc cc New Project Window c Standard EXE icon select cc, Open click ccoo.
2) Click Project Add Data Environment
3) DataEnvironment Window c c:c Connection1 Oc Right click cc Properties Oc Click ccoo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
84 4) Data Link Properties Window c Microsoft OLEDB Provider for ODBC Drives Select cc Connection Tab Oc Click ccoo.
5) Connection tab c Use Connection String Option Button click cc Build Button Click ccoo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
85 6) Data Source Window Select cc Machine Data Source Tab Oc Click ccoo. cc. Ms Access Database Oc Click ccoo. Ok Click ccoo.
7) Login Window c.c Database Button cc Click ccoo.
8) Select Database Window c.c c Database(sample.mdb) Save cco _ Drive c: Folder Select cc.co List c.co c:_ Database .c:c: .co Ok click ccoo.
9) Login Window c.c Ok Button Click ccoo.
10) Test Connection Button cc Click ccoo. c .OO Window cc _c: cc.c oS Ok Click ccoo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
86 11) o:cc Data Link Properties Window c.c Ok Oc Click ccoo.
12) Connection1 Oc Right Click cc Add Command Oc Click ccoo.
13) Command1 Oc Right Click cc Properties Oc Click ccoo.
14) Database Object c Table Select cc Object Name c Contacts Select ccoo. 15) Ok Click ccoo. 16) Data Environment Window Close ccoo.
17) Project cc Save cO cc: Save Button Click cc Data Environment Data Environment1 ._c Form. Frmcontacts ._c Project as My-School(in ICT folder in drive C) ._c Save ccoo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
87 18) .OO Window cc _:co D. No Oc Click ccoo.
19) Form Oc (Label) ._c_ c c:c_c cc cc:.. Caption Properties ccc cco c:c:c.. .coc ccoo. Contact ID, Name, Home, Phone, Mobile Phone, Email
20) Form cc. Text Boxes c ccc ccoo. Text1, Text2, c:. Delete cc Text Properties ccc ccoo. Name Properties cc.D c:c:c.. .coc ccoo.
Object Name Name Text1 txtContactID Text2 txtName Text3 txtHomePhone Text4 txtMobilePhone Text5 txtEmail
21) Form cc. Command Buttons cccc c:c_c cc cc:.. Caption cc Name properties cc.D c:c:c.. .coc ccoo.
22) Form cc. ._c_.c ccc ccoo. cc Caption Property cc Employee Contact Numbers ._c .coc ccoo. 23) Design cco _ Form ccc c.co c.D.
24) Program Run ccoo. Text Boxes c_ cccc cco. .o:.D. 25) Form . Close ccoo.
Object Name Name Caption Command1 cmdFirst First Command2 cmdPrevious Previous Command3 cmdNext Next Command4 cmdLast Last G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
88 26) Project Explorer Window c c:c c.c Form oc:co. cco Icon cc Double Click cc c. .coO. c_ccoo. 27) Contact ID ._c_. c.. c:c Text Box c (txtContact ID) Properties ccc c.co c.c_. ccc ccoo.
Data Source Data Environment1 Data Member Command1 Data Field ContactID
34) Project cc Save ccoo. 35) Project cc Run ccoo. Buttons Click cc c_co c_oo.
Last Button Click cc Next Button click cc.Oo Error Message ccc _:.co c:c. c.. .ccc cOc Next Button cc: _. Click Event Code cc oc:c ccoo.
Private Sub cmdNext_Click() If DataEnvironment1.rsCommand1.AbsolutePosition < DataEnvironment1.rsCommand1.RecordCount Then DataEnvironment1.rsCommand1.MoveNext End If End Sub
Private Sub cmdPrevious_Click() If DataEnvironment1.rsCommand1.AbsolutePosition > 1 Then DataEnvironment1.rsCommand1.MovePrevious End If End Sub G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
90 c:OoO 10.18.1
F O R M
1
F O R M
2
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
91 c:OoO I0.I8.2 co.:.S c.Dco. cc: _c.c
cc c:c cccc c:c Records .:ccc:_o ccO.
c c._ .o: co.:.S 4c. .c.. c co.:.O ccc ccc :c.co c:c..o ccc: c:c. o c.c.. .c:ccc: c:c_c cO, save cO c: cc cO cc: buttons ccc form ccc o .ccc.o.c .c:ccc: c:c_c cO,save cO c: cc cO cc: buttons ccc form ccc o cco.c _co .c:ccc: c:c_c cO,save cO c: cc cO cc: buttons ccc form ccc o cco.c .c:ccc: c:c_c cO,save cO c: cc cO cc: buttons ccc form ccc
Visual Basic c:Dc: cc Records c_co c:c_c cO (Add) o. ccco Records .coc cO (Edit) c: ccco Records cc cO (Delete) cco c:c:c. c. c:c c.DS c. (Reading Material) c_o c_o: coo. Visual Basic c:cSc cc .cc c.:c:cc.S ccco _ Project cc Dc+c cc coo. c.DS c.. c_ cco c Data Environment Window c_ c:c Connection1 cc Command1 c_ Properties .coc cc coo. Form cc. Button 8 c:c_c cc coo. cc:.. Caption Property cc c.c_o ccc c .coc cc coo. Add, Save, Delete o Form cc c. cc.: c:c c:c.. I0.I8.8 c:Oo.Oc` .Oo cco c:c. Project cc c.:cOc (Run) cc, Button Oc Click cc c_co.o cOc. occo. cc, Project cc ccco (End) ccoo. Add Button cc Double Click cc, Record ccc c_co c:c_c cO cc: c .cc ccco _ .cc. c:c_c ccoo. cO c:c:c.. Save Button cc Delete Button cc: .cc c:c_c ccoo. Project cc c.:cOc cc cc cc Button cc Click cc c_co . c_o: coo. Add Button cc Click cc c:_ Text Box c_. cc c:c_c cc Save Button cc Click ccoo. Project cc ccco cc (Stop), One Record Saved .o coD.. .coDO cc Save Button c Click Event cc. .cc. c:c_c ccoo. Project cc Save cc coo. c.c .co.S cccS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
92 c:OoO 10.18.3 Group One
Group Two
Group Three
Group Four
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
93 c:OoO I0.I8.4 cc _c.c
Visual Basic c:Dc..o cccc c:c cc c:ccDO.
1) .cc c.:c:cc.S ccco _ Project cc Dc+c cc coo. Visual Basic c:cSc cc Recent Tab Button cc Oc Click cc c:_ Project cc Double Click ccoo.` 2) Project Explorer Window c_ c:c Data Environment1 Oc Double Click ccoo. 3) Data Environment1 Window c_ c:c Connection1 Oc Right Click cc Properties .c:c: coo. 4) Data Link Properties Window c_ c:c Advanced Tab Oc Click ccoo. cD. .coco Access Permission List c.co ReadWrite .c:c: .co Ok Button Oc Click ccoo.
5) Data Environment Window c_ c:c Command1 Oc Right Click cc Properties .c:c: coo. cOD. cco. co Window cc Oc c:c Advance Tab Oc Click ccoo. Lock Type List cc c_o 3 - Optimistic .c:c: .co Ok Button Oc Click ccoo.
6) Project Explorer Window c_ c:c frmEmployee Form cc Oc Double Click ccoo. 7) c_co Command Button 8 c Form cc c_. c:c_c cc .co ccc cco c Properties .coc cc coo. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
94 Control Name Caption Command 1 cmdadd Add Command 2 cmdsave Save Command 3 cmddelete Delete
Private Sub cmdAdd_Click() DataEnvironment1.rsCommand1.AddNew End Sub
9) cO c:c:c..O Save cc Delete Button Oc Double Click cc ccc cco .cc (Code) c_.c_o c:c_c ccoo.
Private Sub cmdSave_Click() DataEnvironment1.rsCommand1.Update End Sub
Private Sub cmdDelete_Click() DataEnvironment1.rsCommand1.Delete End Sub
10) Project cc c.:cOc cc .OO Button Click cc c_co . ocoo.
c.co Delete Button cc ccc Click cc o:cc ccc Click cco D. Error Message ccc cco. .D. .O. o. c:c Record cc ccDO oc: c_.D. .O. Occcc: c:oO cc: Delete Button cc. c:_ Click Event cc ccc c .coc cc coo.
Private Sub cmdDelete_Click() DataEnvironment1.rsCommand1.Delete DataEnvironment1.rsCommand1.Update MsgBox (" Program will be terminated to effect the refreshment of the table." ) Unload Me End Sub
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
95 c:OoO 10.19.1
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
96 c:OoO 10.19.2
co.:.S c.Dco. cc: _c.c
Dcc_ .Scc c_ cc c:c.c, Table ccc c:c Records c.__O cco. cO. c co.:.S cccc. .c.. c cc cc co.:.O. o.c cco _ ccc. (table) c:_ Data Grids ccc Form ccc _:.co c:c.
o coc .c:ccc: c..c Data Grid ccc o cc: Oo._.. .c:ccc: c..c Data Grid ccc o c:c ccco _co c..c Data Grid ccc o cco.c .c:ccc: c..c Data Grid ccc
Dcc_ .Scc c:cSc cc c_o c.:c:cc.Oc c Dco c:o _ Project cc Dc+c ccoo. c.D.S c. c_o (Reading Material), Form ccc. Data Grid ccc c:c_c cco c:c:c. c: c Oc Table ccc c:c cc oc:co. cco c:c:c. .c:.: c.c: c co.:.O. o.c DataGrid (c:OoO 10.19.3 cc) ocO:o. ccoo. Project cc c.: (Run) cccoo. Data Grid cc c:Dc..o ccc c.co .coccS c_ ccoo.
o Field ccc ccc_ cc. .coc ccoo. o Table cc. c_co cc c:cc:cc (record) ccc ccoo. o c:cc:cc (Record) Oc: Ooo. Form cc cc:, Project Explorer Window c.cc o c:. cco Form cc Oc Double-click ccoo. Data Grid Oc Right-click cc Properties click ccoo. Allow add new .cO cc_.c cc Ok ccoo. Program cc c.:cOc cc c_co cc c:cc:cc (record) c:c_c c_ c:c . c_oo. c.occ Properties .O._c .coccc c_oo. c.c .coS cccS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
97 c:OoO 10.19.3 cO co.:.O cc: Data grid ccc Form cc
.co co.:.O cc: Data grid ccc Form cc
coco co.:.O cc: Data grid ccc Form cc
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
98 cccco co.:.O cc: Data grid ccc Form cc
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
99
c:OoO 10.19.4 cc _c.c
cc c:c cccc c._O records cco. cO cc: Dcc_ .Scc Form cc. ` ccc c:c_c cco.o .c.c
1) c_o c.:c:cc.S c:o _ Project cc Dc+c ccoo. 2) Project Component, click cc, Microsoft Data grid control 6.0 (ODBC) c:c. .c:.c .. c:c Check Box cc Oc Click cc _co ..:oo. OK Button cc Click ccoo. cD. Data Grid Control cc Tool Box cc. ccc.D.
4) Project cc. c_c Form ccc c:c_c ccoo. Project Add Form Form Open
5) Form c.c oO Frmgrid ._c oS cc Save ccoo. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
100 6) Tool Box c.c Data Grid Oc Click cc Form c.c Data Grid cc c: coo. (ccc c:c.. coO.)
7) Contacts Table c.c c:c Records cco. cO. ccc. c Data Grid cc ccc ccoo. c cc: ccc cco Properties, Properties Window c:Dc: cc ccc ccoo Data Source Data environment 1 Data Member Command 1 ccc. c ccc:, c:. c:. .coc c_ c:c..`
8) Data Grid cc Right Click cc Retrieve Fields .Oocco. .c:coo. 9) Message Box c.c Yes Click ccoo.
10) Data Grid cc Oc Right Click cc Properties cco. .c:coo. ccc c:c.. coo Check Boxes .c c:c. ccc:cc OK, Click ccoo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
101 11) Form cc Save cc ccc c:c.. coO. Startup Object cc ._c Frmgrid .c:c: Ok ccoo. Project Properties
12) c:. c.co c.:cOc cc ccc co.S ccc_.c _c: coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
102
c:OoO I0.20.I
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
103 c:OoO I0.20.2
co.:.S c.Dco. cc: _c.c
Dcc_ .Scc c:Dc: cc c:cc:cc (Report) ccc ccO.
c c.t .o: co.:.S cccc. .c.. I0.I c.: c:cc.S c Dco c:Dc: cco _ cc c:c. _c..:c cc .co c:cc: c.._ cO cc:, ccc cco c:cc: c_o ccc c co.:.O. _:.co c:c. o coc .c:ccc: cc c:cc:cc o cc: Oo._. c_c c:cc:cc o ccco _co c:cc:cc o cc. .c:ccc: cc c:cc:cc I0.I0 c.: c:cc.S c Dco Save cco _ c.:c+c. Dc+c cccoo. c.DS c. c I .c:.c c.c: c.:c+c.. cc c:cc:cc (Data Report) c:c_c cco c:c:c. .co coo. c.DS c. c 2 .c:.c c.c: Data Report c Data Source cc Data Member Property ccc cco c:c:c. c...o. ccoo. :o .S co.:.O. c:cc:o c:cc:c c:_cS ccoo. c:cc:.D O:c+c:c (Heading) cc Column Headings ..O cc: ._c_ c:Dc: ccoo. c_c ccc: c.:, cco cc ccc: cO:o c:Dc: cc c:cc:.D O:c+c:c (Report Heading) c_.c:c ccoo. Report Design Window c Detail .c:..cc c. c:_ c cc.D c:c Field coo. cO:o Text Box c.c.:cc c:c_c ccoo. c.DS c. c c:_ .c:.c c.c: cO Text Box c. c:_ cc.D c:c Fields cOc cSco. (Link) ccoo. c .O.cc cco _ c:c.. Save ccoo. c.c Project ccc c:c Form cc .c:c: c. Oc. Command Button ccc c:c_c ccoo. cO Button c Caption cc View Report .o.co .coc ccoo. c c_.._ cco _ c:cc:c c_: c:oO cc: c:_ .cc. cO Button c Click Event c.cc _.oo. c.DS c. I .c:.c` c.c Project cc o:cc Save ccoo. Program cc Run cc View Report Button Oc Click ccoo. :o cco c:cc:c c c_:.c:.c:ccc c:c:c.. ccc D c:c :. occo. ccoo. c.c .coS cc:cS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
104 c:OoO I0.20.8
c:c:._ .c:ccc: cc c:cc:
coc .c:ccc: - c:c. 1 (cO co.:.O cc:`
.ccc.o cc .c:ccc: c:c. 2 (.co co.:.O cc:`
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
105 _co Dccc. c:c. 3 (.cco co.:.O cc:`
cco cc .c:ccc: c:c. 4 (cDco co.:.O cc:`
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
106
c:OoO I0.20.4 c.DS c.
Dcc_ .Scc c:Dc: cc c:cc:cc (Report) c_.._ cco.o .c.c
I0.I c.:c:cc.S c:Dc: cco _ Sample Database c c:c Contact ccc (Table) c:Dc: cc c:cc:cc ccc ccO. .S cc: cO c.:c:cc.S ccc c_ Data Environment ..:: coO. Dcc_ .Scc c:cSc cc c_o c.:c:cc.Oc c Dco c:o _ Project cc Dc+c ccoo.
1) Project Add Data Report c. ccc cco Do..:c c.co c:c.
2) Data Report Do..:.D Title Bar Oc Click ccoo. cc c:cc:.D (Data Report) Property Do..:.D ccc cco Properties .c occc ccc ccoo.
Data Source - Data Environment1 Data Member - Command1
3) Page Header cc Report Header ccc c:c . cO:o. Page Header- Section 2 .c:.c c_. c:.Oo c. ccoo. Occ .c:.o.c. Page Header-Section 2 c c_ :c. .cc .co .oo. cD. Occ .c:.o.c. _co cc. c:.c. cO cccc:.D Occ c cS cc .c:ccO c cc.co (Press G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
107 and hold) Occ .c:.o.c. c_. .co .:.Oo cO .c:.c 2c ccc cccc. c.cc c:oO.c Occ .c:.o.c. cc_. c:.co .:.Oo cO .c:.c .c ccc cccc. c: cc c:oO.c c:c.`
4) Detail-Section1 .c:.c cc_. c:.co .:.Oo Page Header .c:..c . c: cc coo. 5) Tool Box c c:c Label c.co. Oc Click cc Page Header .c:..c ._c_.c c:coo. 6) ._c_.. (Label) Property Do..:.D Caption .o cco.. .. c:c .c:.c c_ c_c ccoo. 7) cc ccc cco cco c:c_c ccoo. Mahanama Central College .c: .S c:c._ oO` 8) ._c_.. Property Do..:c c:Dc: .c:. ccc: c.:c (Font), cO:o. (Font Size), cco. (Color) .o:. c. ccc. c:c:c.. .coc ccoo. ccc. oS ._c_. ccc. cO:o.. ccc ccoo (Resize). .S cc: ._c_. Oc c_c .c:., cc .c_cc c_. Occ .c:.o.c. .co .c:c cS cc Button c_c cc .co ccc. c:c. Occ .c:.o.c. .co .oo.
8) Page Header .c:.c. ccc ._c_ 8c c:c_c ccoo. cc:.. Properties ccc c .coc ccoo. Monaragala Employee Contacts List ***********
9) Report Design Do..:.D Title Bar Oc Click ccoo. Data Report c ccc cco Properties c. ccc. c:c:c.. .coc ccoo. Top Margin, Bottom Margin Left Margin, Right Margin
10) ._c_.c c. ccc. c:oc. cc:o cc cO cc: ccc cco Property c cc.o .coc ccoo. Top, Left .c: Occ c:Dc: cc cO ._c_ c:.co .:.Oo (Drag) ccc. c:o ccoo.` .S cc: cc ocO:o. c_ : ccc c c .D.
11) c_c oOc ..:: c:cc:c Save ccoo. 12) Project Explorer Do..:c c_ c:c frmcontact c.co. Oc Double Click c.Oo Form Design Window _c: coo.
13) .OO .c:cO. (Form) Oc. Command Button ccc c:c_c .c:. cc Caption cc Show Report .o.co .coc ccoo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
108 14) Show Report Button cc Oc Double Click .c:. Code Do..:c _c: coo.
15) ccc cco .cc., Show Report Button c.c Click Event c _.oo.
109 17) c.c c.:c+c. Run ccoo. Show Report Button Oc Click ccoo. cD. ccc c c:cc:c cco c:c.
c. c:cc:c cco. .o:D Report width is greater than paper width .o.co _:c.o:c cO coD.. _:co Do..:c Close ccoo. Report Do..:c Close ccoo. Form Do..:c Close ccoo. o:cc Report Design Do..:c .. .co cc c_ c. ccoo. c cc: Do..:.D cc c:c Scroll Bar c:Dc: ccoo. ._c_ o:cc c_c cc:oc_ cc: Save ccoo. Program cc o:cc Run ccoo. Show Report Button Oc o:cc c_c .c:. Report cc occo. ccoo.
18) o:cc Report Design Do..:c cc. .c:. Page Header .c:.c ._c_ cc.c c:c_c .c:. cc:.. Caption ccc c .coc ccoo. Contact ID Name of the Teacher Mobile Phone Home Phone E-mail
Tool Box c c:c Line Tool c:Dc: .c:. ._c_ c_. cc_o .cc:cc coo. :o Report cc ccc c cco c:c.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
110
19) o:cc c:cc:c Save ccoo. Program cc Run ccoo. Show Report Button cc Click .c:. c:cc:c o:cc occo. ccoo. c. ccc c c .D.
20) Report Do..:c o:cc Close ccoo. Report Design Do..:c cc. ccoo.
21) Detail (Section) c_ Text Box c c:c_c cco o. cc: Page Header .c:..cc c:c ._c_ (Field Headings) c_. .o ccc ccoo.
22) Contact-ID Field ._c_. .. c:c Text Box .c:c: cc Data Field Property ._c Contact- ID .c:coo. c Text Box c_ Data Field ._c Name, Work Phone, Mobile Phone, Email Name .c:coo.
23) .OO Text Box c_. cc_o Line Tool c:Dc: .c:. .cc:cc coo. Detail Section cc Page Footer Section ccc c:c . c. ccoo. Page Footer cc Report Footer ccc c:c . c. ccoo. .O.cc c:_cS c_ c:cc:c (Report) ccc c.c: c.D.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
111 24) c:cc:c o:cc save ccoo. c:.c.co o:cc Run cc Show Report .c:ccO Oc Click .c:. c:cc:c occoo. c. ccc c cco c:c.
c:cc: (Data Report) Do..:.D c_ cS c:c.c c:c c_O Button cc Click c.Oo Print Dialog Box cc _:.co c:c. cc c. ccc. c. c.c _c: .OO c:cc:c Oo. cccc c:c.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
112 c:OoO II.I.I oc cc:.c c.c c.co c:c c.co
Nervous System - co:. c.c . Muscular System - .cc c.c . Circulatory System - c:c c.cco c.c. Digestive System - c:c:c cco c.c. Skeletal System - ccc c.c. Excretory System - cccc:D. c.c. Respiratory System - ccco c.c.
c .c:c:cc c.c. cOc c.c co.:.O c_ ccc c:c..o ccoo. c.DS c. c_ Dccc co c c_c cc cc c .S cO.c .c:c:.co cc cc ccoo. c ccc cc c_c cO.c c:Dc..o Dc._co. ccoo. Dc._cc .c:ccc: c_c: c.c. c.cc.o.. ccc. co .c_ c_o: coo. c.c .coS cc:cS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
c:OoO II.2.4
c.DS c. c.c c.cc.o cc.. cccc: (Phases of SDLC) c.c c.cc.o cc.. cc.oc. cSco.c ccco DD. cccc:co cDcccc c:cO.
c.c c_o:c:oO (System Identification) c.c c.cc.o cc.. cO c.cc c.c c_o:c:oO.. ccO..o c.c. cc O_c c...o.c c_ cc c.c. c_o: co _:.S. ccc c:Dc ccoo:.c ccc.c:c.o .c c:c cO:co c:c_c c.c. cSco. c:o c...o.c .c.c. :o. .S c:c:c.c c.c.c c:coS .Oc c. .S c:c:c..o c...o. cco _co ccc c_cO c.c.c oS c.. cO:o .coc c.c.c c_c c...o. .c.c.
c.c. c c_co c._O c:c..o cc c:cc ccc. cOc cco cocc c.:co O_OooO cc.c:. cc c:oO cc: DD. cO .Oc c:Dc: .c.c. :o. c:c _. c.D_ ccc: cO c_co co.o c...o. c.c. ccc:cooo c: c:Dc: ccooo cOc cSOc c:cDc: c:c:cDO cco:c_ Oco cc _c: c:oO c.c.c c:c cc:o.. .c:c c...o. c: cO Oco cccO:o c.c. cc cc.c:..c _c: cc c:c..
c.c Dc._co. c.S O_c cc:o.
c:Dc ccoo:.c ccc.c:c.o ccc:_o c oc c.c. ccc D c:c :. c_o: c:oO. oc c.c. c c_o:cc c.:c:ccS c: cocc c.:co cO:oc_c ccc cO.
cc cc cO. c:Dc c c:c c.O:c:.o
o cSOc ccco. : c..:co.. cooo c: c.c.. cSco.co c.occ cc_.o Oco. Oco cOD c:cDc: cO. o cco:c_. : ccc. .c:ccc: _c:cc c:c co c cco:c_ c:: cOco .c:ccc: _c: c:oO. o _c ._co : 7_cc cccc .c:cO ccccc: c:.
o occo. : c:_ cc:o.. .c:c c.c.c_ c_co . c...o. cO. o c:cDc: : co .c: cO c c:cDc: c:c:cDO cc Dc._co. c: ccc cO. o c:c:.ccc cO
o cc c: ccc:c c:o c:cO. c:c:c..o :cDO
o .coc c_c cO.c G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
120
c:OoO II.8.I co.:.S c.Dco. cc: _c.c
cc .c:ccc: c.c ocO:o. cc .c:. ocO.
c .c:c: coo: _ .c:ccc: c.c. ccc cco co c.c_. cccoo. o cc Input cO. ccc: Ococ ocO:o. ccoo. o cc Output cO. ccc: Ococ ocO:o. ccoo. o .c:ccc: c .c.. c:_ cc cc.: c:coS cc: ocO:o ccoo. o Dc_O .c:.: c:oO cc: coc_.c_. ccc c_ c:_S c.co coo. o cc c:_S c.co. c:_ Code _DO cc: cO ._co c:c:cc c:DDD ccoo.
cDcccc ocO:o. - Detailed designing .OO cccc:.D ccoc. cSco. c..c c.o c:.oo ccc c.c ocO:o cO cScco .D. c.ccc ocO:o. cO ccoc c.c.. o_ ccc:c c:o.. coS .o _ c:._cc. Dc_S .cD.S c:_c cc.cO cco c.:cOc O_c c:._ Dc.S _:.co cc.c c_. cO:o D. .c.. .OO cccc:.D c:Dc: cco cO ._co c:c:c c: ccoc. cco. cccc .c.. ocO:occo. cc: cO.D ccc.c c:Dc: .c.c. cc: oS, Flow Chart Data Flow Diagram (DFDS) Data Dictionary Structured English Decision Table Decision Tree G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
121
.c:ccc: c.c ocO:o. cO ccc cco cccc: cOc ccc D ccc. ccc: Ococ ocO:o. cDc: ccoo: cc: ccc: Ococ ocO:o. o Input Design o Output Design cc c:c ocO:o cc c:c ocO:o .o Files ocO:o. cO .c: cc c:c ocO:o. cO.. O+_c:.c ocO:o ccoc O+_c:.c ocO:o. Coding oc c.c. ocO:o. c.Oo ccc c. ccoc.. .c.co c:c:cc. cccco. c_ .c.. c cc: ccoc c:c:cc c:Dc: c_ .c.. .O.c coding cc.S cO._co .c:.o:.c.. cO._co. .c:.c cc..o .c:.o:cO c.: c:c.ccO .D. .OO c.c cO._co c.c (programming stage) ._c c:o.c.. c.c ocO:o. c: cSco. c.c.o ccc: Ococ ocO:o. c:Dc: ccoo:.c ccOc. c ccc: Ococ ocO:o. o Design Input o Design Output
ccc:c ocO:o.
O+_c:.c ocO:o.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
122
c:OoO II.4.I
co.:.S c.Dco. cc: _c.c
cc .c:ccc: c.c ccc:.c:. c.:cOc ccO.
c co.:.S 4c. .c.. c ocO:o. c_ .c:ccc: c.c ccc c.co cocO.. coc c:c ccc: ccoo. o ccc .c: .O:._ ccc: cO (Unit or Module testing) o cScco c.c. co ccc.c ._c ccc: cO (Integrated or system testing) o c:Dc: ccoo:.c c_c:oO ccc: cO. (User acceptance testing) O_c c:.tc DcO. ccc cc: c:c c.:c Oc c.S cO c:Dc: cc .c:ccc: c.c. cc:co. ccoo. o cO:occ c.:cOc ccDO (Parallel Implementation) o c.c c.:cOc ccDO (Phase Implementation) o .c_oO c.:cOc ccDO (Direct Implementation)
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
123
c:OoO II.4.2 c.DO c. c.c ccc: cO (Testing)
oc c.c o.O cc..o c.:cOc cO. .cc c.c.. Test Run ccc c_cc Bugs c:c oc:c cO` o:c c .c.. c:ccc c.c.c .OO c.c c7O c: c:cc.. c.c.. O_ Program ccO Code cc ccc:o c D. .o _ Data c_. Test Plan cc c.cc.o. cc Run c_ .c..
Test Data cOc ccc c.co Test Run c_ .c.. ccc .c: .O:._ ccc: cO (Unit or Module testing) cScco c.c. co ccc.c ._c ccc: cO (Integrated or system testing) c:Dc: ccoo:.c c_c:oO _.c: ccc: cO. (User acceptance testing) ccc .c: .O:._ ccc: cO (Unit or Module testing) .Oc c.c . ocO:o. ccO. ..::cc .O:._ c_. c:_ .cc _.: c:. cco cc cc.. .co c: D. c:oS cccc Test Data cOc .co .coO ccc: c_ .c.. cc cc cc .c:..c c:c c:c, oc:c cc cc .c.. cScco c.c. co ccc.c ._c ccc: cO (Integrated or system testing) c.c ccc co. c:c:cD.Oo ccc c.c.. c:c oc:c cc .co c:c. .OO cccc:.D Test cco _co.o o.O cc.o c:c.co.. Ot c.c.O c.:cOc co.o (Execute) o.O cc.o c:c.co.. c.c.. c:O c.c.cO c.:cOc DO, ccc_ c: cc:o. Dc._co. cc c:c. ccc_ Dc._co.. cc c_:.c:.c:cc co Output cc. .o:c:_.co Output ccc _:7. c:c. cD. c.. c:_ cO._c .c:.c c_o:.co .. oc:c Output _c: c:oO. c..c c_ .c.. c:Dc: ccoo:.c c_c:oO _.c: ccc: cO. (User acceptance testing) .O.c Test Run Oco c.c. c:c c_o occc Run co cc .cc:S cc ccc oc:c cc (Actual Data) cOc c:DDD ccoo:. co.c ccc.c:c.o . co cc .cocoo. c.c cc:co. ccO (Implementation) c.cc.o. cco _ oc c.c. c:Dc: ccooo c_c:o.Oo ccc cc:co. c.S c.c c.o c:.o. .OO c..c o.:.o, c:..:cc cc c.. cc.c.c. .OO c..c c._O c.c.. cO ._c c:Dc: G.C.E.(O/L) IT Teacher Instructional Manual
o Manual ccc_ ccoc cc c c.c.. ccc_ cOc cocoo. c_ c:c. o ccoc cc c.c.. O_ c.c c_ cc:ccc c:c.c c:ccc.c:c c. c.oc c.D.occ .c:.c. c:o.c .o:.D. Ococ: .c Manual System cc c.O c.: cco c:Do.
gov - c:c. c:.co edu - c..:coc c:.co org - _:c .o:_co c:.co mil - .O. c:.co com - coo.Do c.:c:c.. cSco. c:.co net - ccoc c:_ cSco. c:.co
.OO c.:o ..:.So oS c_. cOccc cc cc c.c .co cc..o c_o: c:oO cc: ..:.So oS c:c. lk - c _.c:c uk - cccc c:c.:o. au - Sc.D_.:c us - cccc coc. jp - cc:o. coccc:_. c_ c:Dc: co.o ..:.So oS c_. c:_ IP _c o.o oc: c:O .cS cccc.c.O, ..:.So oS, IP _co.o. c:cDO cc:, Domain Name System (DNS) oS cccc.c ccc...
_: - Microsoft Internet Explorer Netscape Navigator
.ccS .oc (Search Engines) URL .o:oo: .cS c.D .c:.: c:oO. _D .D. cc. ccc. c:co. c.c c:_ .cS c.D cc _:.cccc cc. _c: .. _: - yahoo, msn, google, altavista
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
133 c .ccS .oc.c c.:cOc cco D. c c_ c:c cc c:c.c (Database) c..c .c:ccc: c:c.co c ..:o cco. .c: cco cc. ccc .cS c.D _:.cccc cc .coc.. . cOccc c:c (image) c:. .c:.: cc c:c. G.C.E.(O/L) IT Teacher Instructional Manual
Delete Check mail Button cc .c: Inbox Button cc Click c_D. c.c _c c: .o:c.c _c co. _:.co cc cc c:cDc: c._O. .Oc _c . cc c:c Check Box cc .c:c: Delete Button cc Click c.Oo _c. Oc: :. c:c.
.Oc Dccc cc c:c Screen Layout, Button c: .c_ O+_c:.c. .:ccc:_o c.S .coc D. c:c cc c_coo. G.C.E.(O/L) IT Teacher Instructional Manual
c co.:.S 8c. .c.. c Online c:Dcccooo cOc Chat ccoo. Web site c.c c:c _c.c c:Dc:cc c _.:c.D coo. c. cc ._c .c:c:coo: _ cc _c.c O:_:cc cc.: c:c. Chat Room cc. Login DO. User Name c: Password Occ cc coo. Chat c:c. cc: _c.c O:_:c Dc+c cc coo. c.oc c. cOc cocc cSco.c: .c:. oc: coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
140 c:OoO I2.8.8
cc _c.c co.:.S I c.cc I
www.onlanka.com c.c Browser Oc Type cc onlanka page cc. cD.coo.
c co.:.S 8 c. .c.. ccc c.:c:ccS c co.:.S ccc cc ._c .c: .o c:c. o c:co c:.:c:c.c c.ccco. cO o cc c:.:c:c.c. ccc c.:c:c.c .c:.cc ccc cO o c:oc.c ocO:o. cO Photoshop Dc+c ccoo. c.D.S c. .c:o c.c: .cc:S coo. c.c c.:c:ccO. c:_ .c:.c. ccc. Tools, Menu c.cc c:. cc.c:. cc coo. c.c c.:c:ccO. c:_ c.cc.o cocOo. cco c. .c:. ocoo. c:cc c.cc.o c:o c.co cc: coo. ocO:o. ccco.c:. Save ccoo. c.c .co.S cc:cS c:c.co ocO:o:cOc ccc c cOc cc: c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
146
c:OoO I8.I.2 c.DS c. Photoshop (Ver. 7.0) c_o: coO.
cc Tool ccc ...c Tools ccc.c c:c D. c Oc Right Click cc c.oc Tools _c:cc c:c. _: - Marquee Tool Oc Right Click cc c ...c c:c Rectangular Marquee Tool cc. cOccc c.oc Elliptical, Single Row .c: Single Column .o Marquee Tools _c:cc c:c.
Jpeg - Web c. c:cc.S cc:. ccc. c:.:c:c cc: .OO File ccc. c:Dc: cc.. .:c:c c. cc.c co.
Psd - Photoshop c_ ocO:o. cco File ccc jpeg .c: gif c:o File ccc ._c Save c_ D. c. o:cc .coc cS cc: c:Dc: cO cccc .c.. psd .o Photoshop c_ File Extension cc.D. psd ._c File cc Save c_ D. cc. c. o:cc Photoshop c_ Dc+c cc ccc.co .coccS c_ c:c.
Undo/Redo Undo c: Redo c:Dc. c_cc .coc Application Package c_ c. .c: cc.c:..c c:c. cc cc. ccc D.c Undo c_ c:c. oOc Photoshop c_ Undo cc ccc cOoc Redo cc ccc cOoc c_ c:c.
History Palette c:Dc. Windows Menu c.c History Palette .c:c: co o. .Oc c cco _ c.:c:ccS Record D ccco c:c. c. c:cc _c: cc .c cccc:cc .O.o .c:c: cc c:c.
Flower c:.:c:c. Layer c_ .c:.c ._c c:c cc .c.o cO cc cc .c:.c .. c:c c:c Oc ccc Click ccoo. cD. cO .c:.c c:.:c:c..o .o:.co .o c:c. o:cc cO cc:o.. Click c.Oo cO .c:.c o:cc cco. co c:c. .OO Layer c_ .c:.c .coc c.Oo c:.:c:c. o:cc c.ccco. c_ c:c.
.OO Layer Palette c.c ..O c:c Icon c_. Mouse Pointer cc cco Create a New Layer oo Icon ccc c:c cc c_o: coo. c. c_c Layer ccc c:oO cc: c:Dc: cco cc Occ cc: coo.
Save cO. .OO cc Flower c:.:c:c. ccco.. psd Extension ccc File ccc ._c.. coS Photoshop File ccc ._c.. .O. Web c.cc. _c: c:oO. File Save as .c:c jpeg .c: gif c:o File ccc.c ._c Save cc cc .c.. cc cccc:cc File co o:cc c.ccco. cO. c_:.c:.c:cc .D oS psd File ccc Save cc cc: cc .c..
c:oc.c ocO:o. ccO.
File New Oco c_c Document ccc coo. Name cc cc: Banner .o.co .oo. Preset Size Custom .c:coo. Width 8 inches Height 3 inches Resolution 72 ._c coo. Ok .c:coo.
Layers co. o:coS Windows Layers Oco Layer Palette cc coo. Layer Palette c.c Create a New Layer Click cc c_c Layer ccc coo. Tool Palette Oco Gradient Tool cc .c:c: coo. Menu cc. .o c:c Option Bar c.co Click to Edit the Gradient .c_c.c c:c cc_ cc Oc ( Click to Open Gradient Picker ) Click ccoo. :o c.o Gradient ccc .c:c: .S ocO:o. ccc c..D Click cc Drag ccoo. cD. c.c cc: Gradient ccc _:.S. Tool Palette Oco Type Tool cc .c:c: coo. :o c..D Click cc c_c c Information Technoloty Club ._c Type ccoo. Text cc c:c Layer Click cc Ctrl + T Press ccoo. :o Text c.c Dc:_cc., ccc. c .coc cc Enter ccoo.
Text cc ccc Layer c.c Right Click cc Rasterize Layer .c:coo. Magic Wand Tool cc Click cc Shift cc Press cc.co cc.oc ccc: Oc Click ccoo. cD. Ot Text cc Select cc cc c:c. Rasterize Layer .c:c: o:cc .O. c_ cO. cccc D. c:c.` Open c_ c:.:c:c.. Click ccoo. Select All Oco c. cScco..oO Select ccoo. :o Edit Copy Oco Copy cc Text cc c:c c.c Oc Click ccoo. Edit Paste into Oco cocc. Paste ccoo. :o c.c Text cc. c:.:c:c.. .c:.cc _:.co c:c. cScco Text cc. cocc.. .c:.c _:7 o:coS Text cc. c.: cocc. c.: D. c:c. c.c oS Ctrl + T Press cc cocc. ._:c cc Enter ccoo. Layer Layer Style Blending Option .oo. Bevel and Emboss Click ccoo. c.occ .coccS cc c:.:c:c.. c _co .coc cS occo. ccoo.
c:co cocc.c c.ccco. cO.
File Open Program File Adobe Photoshop Sample Oco Old Image Open ccoo.
File Save as Oco .coc oOco Save ccoo. cocc. Maximize cc Zoom Tool cc .c:c: .co c:.:c:c. Oc Click cco c. Dc:_ cc coo. cD. .coc c_ .c cc:o oc:cc .c.oo c:c. ._ O_ cccc:c. c:oO. Tool Box c.c Hand Tool Oc Double Click ccoo. .OO cocc. Tools ccc.c c:Dc: cc c.ccco. c c:c. Clone Stamp Tool cc Oco Edit cO. Clone Stamp Tool .c:c:.co Patch cc c:c c.c.. c7. .c Color cc. cO:o c.c.c Alt cOc Click ccoo. :o Patch cc Oc Drag ccoo.
Patch Tool Oco cc Oco Edit cO. oO Patch Tool cc Oco Patch cc Select cc,Patch cc c:c c.c.. c7. .c cco c_. c:_.co c.c.c. c: OooDrag ccoo`.
Key Frames Key Frame ccc .o Frame cccO co ccc D.cccc. co.. c.c ocO:o.. .S .cocc c_ c .c co.o Key Frame ccc Oc c. DO.. Time Line c.c c_ c:. ccco Key Frame ccc .coco _c..
Time Line c.c c:c Frame c: Key Frame cOc c:. cO Time Line c.c Frame c: Key Frame ccc:co Frame c_ cc.c: c:c DD. Object Movie cc c_ .c.oo c:c:c. ccc c_ c:c.
Frame c: Key Frame c_. ccc cco .c_ c_c_ c:c. Insert, Select, Delete and Move c_c Layer ccc. .c: ccO Layer cc c_ Drag cO. Copy, Paste Key Frame ccc Frame ccc cc. cc cO. Key Frame ccc. Library c.c c. .Oc ccc cO. c. Stage cc. O.
Time Line cc. Frames ccc cO. ccc So:O c.ccc ccc: c_ c:c.
Key Frame .c: Frame cc cO. ccc. Frame cc .c: Frame c.c.:c .c:coo. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
155 Insert Remove Frame
Line, Ovals cc Rectangles c:O. Tool Box c.co Line, Ovals .c: Rectangle Tool cc .c:coo. .Sc:.. DD. Properties .coc cO. Property Inspector cc c:Dc: c_ c:c.
_: Fill Color, Stroke Color
Rectangle c_ Corner Shape .coc cO. Rounded Rectangle Modifier (Rectangle Tool cc Select D c:c D. Tool Box c.c .. .coc..` c:Dc: c_ c:c.
.S cc: cc Click cc Corner Radius cc. .oo. 7._c .o cccc O_ (Square Corner) .D.
Oval c: Rectangle c:.S Shift cc cOc co D. cOcccc.c .c: ccOc c:. c:c.
Line Tool cc cc: Shift c:Dc: c_ D. c.cc 4o 4. c:. c:c.
Free Transformation Tool Free Transformation Tool cc c:Dc: .c:. DD. .coc cS c_ c:c. _:cco ._c c:cc:DO, cO:o. .coc cO, c:.. .coc cO. ccc. Object cc Select ccoo. Free Transformation Tool c.c Click ccoo. Select D c:c c.c. ccc: Mouse Pointer cc cOo ccco Mouse Pointer .c c_co .coc DO occo. ccoo. c c cccc:c_ c_co .cocDS .cc:S coo.
Eraser Tool cocc. .c:.c O:cO. Eraser Tool cc c:Dc: c_ c:c. .S cc: Eraser Mode cc c:Dc: cO. Eraser cc Select c cc Tool Box c.c ccc c:c Eraser Mode Oco .ccS c_ c:c. Eraser Normal, Eraser Fill c: ._c`
Publishing (Export Movie) c.c cSDcco. oOc cc c. Flash File ccc ._c ccc. Flash File cc Web c.cc. cSco. .o:cco ccc c cc: c Oco c:: coo: Movie File cc c:Dc: c_ .c..
.S cc: File Export Movie c:Dc: ccoo.
Flash File cc fla Extension cc Movie File cc swf Extension cc ccc. .. Flash Movie cc .coc c_ .c.DoS c cc: fla File cc ccc..D. swf File cc .coc c_ .o:c:c.
1) ctc Flash Document ccc coo. 2) Text Tool cc Select cc Stage c.c Click c.Oo cc F ccc Type ccoo. 3) Time Line c.c .co Frame c.c Click ccoo. 4) Key Frame ccc Ooo. (Insert Key Frame) 5) .co Key Frame c.c Click cc c. Select ccoo. 6) Text Tool cc Select cc Stage cc Oc Click cc L ccc Type ccoo. 7) cc c.c_ cocOo. cco A, S, H ccc: Type ccoo. 8) o cc Key Frame ccc.c O: ccc Blank Frame ccc.c Ooo. 9) Stage c.c Click cc Property Inspector cc c:Dc: .c:. Frame Rate G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
156 cc ccc ._c ` coo. 10) Save c.Oo cc Control Test Movie Oco c.c ocO:o. c_oo.
Shape Tweening (Objects)
1) c_c Flash Document ccc .co cc ccOc coo. c.D c (Stroke) cc ccoo. 2) Dcco (20) Frame c.c Click cc Blank Frame ccc ..:oo. Insert Blank Frame 3) o c.c Stage cc Oc cccc c. .o:c:c. 4) o Stage cc Oc .c:.cc coo. .Oc c.. cc ccoo. 5) Time Line c.c Frame I c. I0 ccc Click cco .S cO:cc ccO ccco cc occo. ccoo. 6) cO Frame c.c Click ccoo. 7) Property Inspector c.c Tween Property cc None c. Shape cc: .coc ccoo.
8) Time Line c.c c:. .cocDOc c occo. c_: c. _: .c:_ c:. co c:c. Motion Tween c_ o_ c:. co c:c.` 9) Save ccoo. Control Test Movie 10) Movie cc co c.O c_co ._c .coc cco.o .c.c . c_O. cO Key Frame c.c Right Click cc Copy .c:coo. 11) 40 co Frame c.c Right Click cc Paste Click ccoo. 12) 20 co Frame c.c Right Click cc Property Inspector cc c:Dc: .c:. Tween cc Shape ._c coo. 13) Save cc c.:cOc ccoo.
Motion Tween (Symbols)
1) c_c Document ccc .co ccOc coo. Arrow Tool cc c:Dc: .c:. c. Stage c.c c_o ccoo. 2) Arrow Tool cc c:Dc: .c:. ccO Select ccoo. O_ ccOO Select D c7O coc:c. cc c_coo. 3) Insert Convert to Symbol 4) Behavior Option cc Graphic ._c c:c. c_oo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
157
5) Symbol cc. oOc .oo.
6) Insert Key Frame Oco Frame 30 c_ Key Frame ccc Ooo. 7) c_O Key Frame c.c Click cc Tween cc Motion ._c coo. Time Line c.c cc cc _:c.o:c c Symbol ccc ._c cco _ .coc cO ccScco D. .c.. c.c oS o:cc ccoo. 8) Insert Key Frame Oco I co Frame c.c Key Frame ccc Ooo. 9) Arrow Tool cc c:Dc: .c:. Symbol cc Stage c.c cc. .co coo. Shift cc cOc Move c_.c:c .c_oO cc_. cc c:c` 10) Save cc c.:cOc ccoo. (ControlTest movie) G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
158 c:OoO I8.8.2
co.:.S c.Dco. cc: _c.c
cc. .c:occ (Audio File) ocO:o. ccO.
c co.:.S cccc. .c.o c:c. c. c:c cc _c.c .c:o c.c: .cc:S coo. c Dco c.: .c .cc ccc c_ .cc c:c. c cc: c.: .c .cc cc.: coo. cc: ccc .c:. A c: B ._c .co .coO Save ccoo. A File c.c c. .co ccoo. cc .Dc. 200% co c: ccoo. B File cc. .:.c:c. ccc ccoo. A File c.c cO .c_. cc .c:. c. C ._c Save ccoo. cO A File c.cO ccc:o .c_. cc .c:. c. D oo Save ccoo. B File c.c c c:Oc O:o .c:.cc .co c. E ._c Save ccoo. cc cOo .c: File .cc cc.oc cSco. ccoo. c.c .coS cccS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
c:OoO I8.8.8
cc _c.c
Sound Recorder cc c:Dc: cO.
Sound Recorder cc c:Dc: .c:. c. cS. ccc cO, .coc cO, .:co. cO (Play), cS. ccc cO c:. c_ c:c.
Sound Recorder cc c:Dc: cO Sound Recorder cc c:cSc cO cc: Start All Programs Accessories Entertainment Sound Recorder Sound Recorder cc c:Dc: cO. Sound card ccc c: Speakers c7. .c.. ccc cO cc: Micro Phone ccc..D.
ccc cO 1) Microphone ccc c:Dc: c_ .c.. 2) File New 3) ccc cO c:cSc cO. Click ccoo. 4) ccco cO. Click ccoo. 5) Save ccoo.
.:co. (Play) cO 1) File Open Oco c. ccc. File cc .c:c: coo. 2) Click cc .:co. ccoo.
3) Oco occ ccoo.
.coc cO G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
159 .c:.cc Oc: O File Open c. cc cO. ccc. c.c.. Slider cc .co .oo. Edit Delete Before Current Position .c: Delete After Current Position .c:coo.
Sound File ccc cO. File Open Sound File cc ccc c_ .c c:o. Slider cc .co .oo. Edit Mix With File ccc c_ .c File cc .c:coo.
Sound File ccc. DD. .coccS ccc cO .:.c:c. ccc cO File Open Effects Add Echo
.Dc. .coc cO File Op en Effects Increase Speed (by 100%) .c: Decrease Speed .c:coo.
c. .coc cO File Open Effects Increase Volume (by 25%) .c: Decrease Volume .c:coo.
c:cc .:co. cO File Op en Effect Reverse o .:co. cc (Play) c_oo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
160 c:OoO I4.8.I
co.:.S c.Dco. cc: _c.c
.cS c. ocO:o. cO cc: HTML c:Dc: ccO.
c co.:.S cccc. .c.o c:c. c.D.S c. c:Dc: .c:. .c:ccc: cDO cc: c:Dc: cco HTML Tags c:o cc.c:.. _c: coo. A c: B ._c HTML Files .cc c. _:.co c:c. c.c c:c.. co.. A File cc, B File cc c:c:c.. .coc cO.. MS Internet Explorer c:Dc: .c:. A c: B File .cO Dc+c ccoo. File .c c.coo. cc .coccS c.co cccoo. A File cc B File cc c:c:c.. .coc cO. ccc. co HTML Tags c.D.S c. Oco .c:.: coo. A File cc. c:_ Source Code _c: coo. c.D.S c. c:Dc: .c:. A File cc B File cc ._c .coc cO. c:_, c .c:.:cc HTML Tags c:Dc: .c:. c:_ .coc cS ccoo. ccc:o.. A File cc Save cc occ Browser cc c:Dc: .c:. c:_ .coccS oc:cc c_D c:c. c_oo. c:c. ccc:o.. c.c .co.S cc cS Oc coSc ocO:ocOc co.:.S ccc cOc cc: c:oS coo.
c:OoO I4.8.2
c.D.S c.
HTML File ccc c_o:coO
HTML Oco Hyper Text Markup Language .o o .ccc cc.. HTML .cS c. ocO:o. ccO. c:Dc: cco c:c:cc HTML File ccc Text File ccc co ccc cc c.: Markup Tags cocccc .D. Web Browser c.co Page cc .coco c:c:c. Markup Tags Oco cc.. HTML File ccc Extension cc htm .c: html D. .c.. Text Editor ccc c:Dc: .c:. HTML File ccc ocO:o. c_ c:c. HTML cO._co c:c:cc (Programming Language) .o:.D.
HTML Elements c: HTML Tags HTML File ccc HTML Elements c: Tags c_o cOoDc .c.. _:cco.c ._c HTML c_ ccc: Bold cO. <b> Tag ccc cc .c_.c cc: <br> Tag ccc ..:.. .Sc:.. c_.c_o b, br .o o HTML Elements .D.
c:O:o...o Tags .c_ ._c ccc. _: - <b> cc </b> cO Tag cc Start Tag cc ._c .c:oo End Tag cc ._c c_oc.. .S .c ccc ccco Text, Element Content ._c c_oc.. HTML Tags, Case Sensitive .o:.D. coS <b> c: <B> Oco ccO Tag cc oc:co. .D. Browser cc. Tag ccc c_o:cc .o:c:c oS c. .o:c_c: c.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
161
O_c HTML Tags
Tag Dccc. <html> HTML File ccc c:cSc. cc. <body> HTML File ccc cocccc.. c:cSc. cc. <h1> to <h6> O:c+c: ccc 0c oc:co. cc. I-0` <p> .c.c c:cSc. oc:co. cc. <br> cc .c.c _c: ... .S Tag c.c .coc cccc c:c_c .o:.D. (empty tag) <hr> ccc cc _c: .. <!-- comment --> Web c..D .o:.coco ..c cc: ..:. <li> _.cccc (List) c:O. ..:. <ol> c.c ccc _.cccc c:. <ul> c.c ccc _.cccc c:. <a> ccc .Oc. cSco..c oc:co. cc.
HTML File ccc c.c. _:cco I
<html> <head> <title>This is a test</title> </head> <body> <!-- Comments --> <h1>Heading</h1> <p>A sample paragraph showing format</p> </body> </html>
ccc c:c .c:.c Notepad c Type cc File Name .c:..D mypage.htm ._c type cc, Save as type c_. All Files .c:c: Save ccoo. <html> <head> <title>Title of page</title> </head> <body> This is my first homepage. <b>This text is bold</b> </body> </html> Browser cc Dc+c ccoo. (Internet Explorer)
File Open
o _:.co Dialog Box c.co Browse .c:c: c Save c_ File cc _c: coo. cD. c.c File cc. c:_ _co. (Address) Dialog Box cc c_. _:.co c:c. o Ok Click c_ D. c.c c.c Browser cc c_o c. c:c.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
162 _:cco 2
<html> <body> <b>This text is bold</b> <br> <strong>This text is strong</strong>
<br> <big>This text is big</big>
<br> <em>This text is emphasized</em>
<br> <i>This text is italic</i>
<br> <small>This text is small</small>
<br> This text contains <sub> subscript </sub> <br> This text contains <sup>superscript</sup> </body> </html> Browser cc c_o co c:c:c. This text is bold This text is strong This text is big This text is emphasized This text is italic This text is small This text contains subscript
This text contains superscript
Tables Table ccc cc: <table> Tag cc c:Dc: cc.. Table ccc .c_ (Row) cocccc co ccc .c_ Data Cell c_o cOo Dc .D. .c_ cc: <tr> Tag cc Data Cell cc: <td> Tag cc ..:.. td Oco Table Data oc:co. cco ccc Data Cell ccc ccc: cocc .c c: .c_ c7. c:c.
Tag Dccc. <ol> c.c ccc _:.cccc cc. <ul> c.c ccc _:.cccc cc. <li> _:.cc.D c:c cc c.cO.c cc. <dl> Dccc ccc _:.cccc cc. <dt> Dccc .c.co c.cO. cc. <dd> Dccc. cc.
c.c ccc _:.cc _:.cc.D c.cO c.c cccc cc.. <ol> Tag c.co c:cSc cc.. c.cO.c <li> Tag c.co c:cSc.D.
<ol> <li>Coffee</li> <li>Milk</li> </ol> Browser cc c_o co c:c:c. 1. Coffee 2. Milk
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
165
c.c ccc _.cc .OO c.cO Bullet cOc cc.. <ul> Tag c.co c:cSc.D. c:O c.cO.cO <li> Tag c.co c:cSc.D.
<ul> <li>Coffee</li> <li>Milk</li> </ul> Browser cc c_o co c:c:c. Coffee Milk
<dl> <dt>Coffee</dt> <dd>Black hot drink</dd> <dt>Milk</dt> <dd>White cold drink</dd> </dl> Browser cc c_o co c:c:c. Coffee Black hot drink Milk White cold drink
HTML Links .coc c.cc c: cSco. cO. HTML c_ Hyper Links c:Dc: .D.
Hyper Links c:O .S cc: <a> Tag cc c:Dc: cc.. .S Oco HTML c.cc c:c.c cc. .c: +c. ccc (Sound, Movie) File c:. cSco. c_ c:c.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
166 Syntax cc ccc c .D. <a href="url">Text to be displayed</a>
href Oco Link cc. c:_ _co. .cooS cc.. ccc O: ccco Text cc Hyper Link cc ._c c.: cc..
ccco w3schools Web c.D. cc: Link cc cc.. <a href="http://www.w3schools.com/">Visit W3Schools!</a>
Browser c.c Link cc ccc c c.D.
Visit W3Schools!
HTML Document ccc. Link ccc c:O
<html> <body> <p> <a href="lastpage.htm"> This text1</a>is a link to a page on this Web site. </p> <p> <a href="http://www.microsoft.com/"> This text2</a>is a link to a page on the World Wide Web. </p> </body> </html>
This text1 Oco Web site cc c_ link ccc cco ccc This text2 .coc Web ccc. Link ccc cc..
Image ccc Link ccc ._c ..:: c:oO
<html> <body> <p> You can also use an image as a link: <a href="lastpage.htm"> <img border="0" src="buttonnext.gif" width="65" height="38"> </a> </p> </body> </html> G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
167 Browser cc c_o co c:c:c. You can also use an image as a link:
XML (Extensible Markup Language) .c:_ .c:ccc: c:c+c (Common Information Formats) ocO:o. cO. c:Dc: co c: cc c: cO c:c+c World Wide Web c_ .c:_.D c:Dc: cO. c:c ccc cO.c.
XML c: HTML ccc .coc HTML .coc. c:Dc: co cO.c .o:.D. cc.oc. .coc ccOo .co.co .Sc: ocO:o. cc c:c. o HTML cc ccco. cco c:c:c. :cDO. ..:: c:.oo ccc, XML cc Dccc cO. cc coo.Do. ccO. ..::c:.o. XML c_ Programmer . ccc. c Tags c:Dc: cc.S cccc c:c. ccc c:c XML Document cc c_oo. <xml> <HEAD><title>Message of the Day</title></HEAD> <body> <name>Saman</name> <address1>123, </address1> <address2>Kadawata</address2> </body> </xml>
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
168 c:OoO I4.4.I
co.:.S c.Dco. cc: _c.c
cc .cS c.D.c .c ccO.
c co.:.S 8 c. .c.. c:c c.DS c. c...o. ccoo. .cS c.D.c .c cO cc: ccc. . ccc cco _:.cc cc ccoo. .cS c.D.c .c cO cc: c.cc _:.cc cc ccoo. .cDS c_o .c:cc .cS c.Dcc.: c c:c cc:o (Free Web Hosts) .c:.: _:.cccc ccoo.
c:OoO I4.4.2
c.DS c.
.cS c.cc ccc :cDO coccc:_.. c:cD. c:c HTML c_o _.o _ _.D__c. .cS c.c_ Text, Graphics, Animations c: Hyperlinks cocccc .D. c:O .cS c.cc.O cc. _co.c c:c. c. URL ._c (Uniform Resource Locator) oS cc c:c.
A domain name A web site A web host Domain o:O. .o .cS c.D.. _co... _:cco ._c www.yahoo.Com .o Domain o:O.c. Web Browser .. Address .c:..D Domain o:O. _.: Go c_c c D. c:_ .cS c.D.. Home Page cc, Web Browser Window c _:.S.
IP Address .o cOc coccc:_.. cSco. D c:c c:O .oc.c.O coo. c c_o:c:o.S c.c.c c:c. c. IP Address ._c c:o.D. _:cco. 2I0.2.0I.I8
c:O:o...o IP Address ccc cc c:c:c.. .D. oOc ccoc. cSco.c: cccco.o Binary c:c:c.... coS II000II00.000II0II.00IIII0I.I000I00I
Domain Name coccc:_.. c:c .cS c.D c_o: coo: coo. o:O.c. .Oc cc c_o .co cco _ .c:.c 2 c .c: c: cooc c:c. _: - www.kansasmedicane.com Web Server Web Server .o Web Sites cc.:cc c:c cccoc... c:O Web Server ccc.O IP _co.c c: Domain o:O.c c:c. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
169
coccc:_ .cc: cc.oo: (Internet Server Provider - ISP) ISP .o coccc:_ ccccS _c: .o c:.co... cOco cO:.c .c:c_c ccoc.. c. co .c ccoc c:_.. c: coccc:_.. cSco. DO. cccc:c c_c:..
Web Hosting cO: ccc cccc.c .o:O:c co cc_.o. .c: cO:cSc_., cO .cS c.D. coccc:_. Oco .coc c.. _c:cc c:c co c:c:c.. cc.: ccO. ccc. cccc ccccS cc.o c:.co.c.
.cS c.D.c .c cco c:c:c. .cS c.cc .c cO. Web Host .c.oc ccc..D. c_co .cS c. c:o.oc. .O. cc.:cc. .D. Web Host c:.co.. coccc:_. c: cccc cSco. D c:c ccoc c7. .c.. c Dco ocO:o. cco _ .cS c.c .c: c. Web Hosting c:.co.. _c: . .c..
World Wide Web c cc:c cO cc: ccc. c.cc (www) 1. HTML c:Dc: cc c.c .cS c.D. ocO:o. cO.
cc Head Box cc Feed-Dispensing Units 2-4 cc: c7. c:c. cOcc c.cc_ c cc cc cc:o.. c:.oo c_.oo.c Dccc cc.: cc c:c. cc cc cc:.co oc. _:.co c cO:o, co.c cccoo c:_. c:.. c:cc:cc _c: cc c:c.. coc: c cD. c:_o. cO ccc .D.
ccc cOcc c.cc_ cc cc c.o _c: cc c:c:c cO:o. c.co .D.
c:c c c.oo. _c: .o c:c:c cO:o. cc cc cc:. .co .coO _c: .S c:c.:c cc cc cc:. ccc. .c:c. c. .c.cc c:. ccc. D. _c: O. c:c c:c.:c. cc cD. c_ cc.oc:. .c:o c:c:c cc.o c:Do c _c: c:oO. c.co c. cc:o.. o:cc c:O c:c.O ccc. .o:.D. .S oc: c:c.ccOc:c c: .D. cD. _:c. c: .D.
0. Sc D.:cOc c.oc co:cS c: cO cc: c:_ c.:c:cc.. .Oc O_c co.o c:c:c c. Sc:occo. cO cc: c:Dc: co c.: :O.o.. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
179
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
180
c:OoO I.4.I
Picture of Backhoe c:.c: .oc.
c:OoO I.4.2
co.:.S c.Dco. cc: _c.c
ccO:oc c.cc.. ICT c_ cc:c c.Dco. ccO.
c co.:.S 8c. .c.. c. cc ._c .c:c:cc O:c+c: ccc c.D. o ccoc c:.:c..o c:_cScco. c: ccoc c:.:c..o ocO:occo. o occ:o.. cccoc cc cco _ .cc:co o .c:.c: .oc (Robotes) c:c O:c+c: ccc c: cc.:o.c _c: c:oO cc: c.DS c. .c:o c...o. ccoo. c.c c_o cccS c..:co.. .co c:c O:c+c:c ccc c.: co.:.S cc: .c cc cOc ccoo. c .. .coco _ cc cS c_. cco c.c O:c+c:c. c:_ cc:o .c:o cc coo. O:c+c:c. c:_ c:c c: cc:c c.co cc coo. c.c .coS cccS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
181
c:OoO I.4.8
c.DS c.
.c:ccc: c: coo.Do c:cco. ccO:oc c.cc.. DD. c:c..o cc: ccc.O .Oc_Oc. ccO:oc. cc: ICT c:Dc. cc c:c:_ cc c:c. o CAD c: CAM o ccoc cc cc c:c .cc:co c: oc:.S o .c:.c: .oc (Robotes) Computer Aided Design (CAD) CAD O+_c:.c. c:co, .oc cc, cco .:o:, ccoc c:. c:_cS cO. c:Dc: .c.c. IC c..cc c cc: cO ._co _DO. CAD O+_c:.c. c:Dc: .c.c. IC Oc. ccc cO. .cc c. cO._co O+_c:.c.c ._c _..D. .O.c cco c:_cS c: occ:o c.c cco cc coc ocO:o. cco cc: . c.: occ.D. c oc: oc: Dco .c.co c:c c..D. cO CAD c:Dc: cc Design cco D. ccc cc.: cO .c: c.ccco. cO c_o S c:_cS c.ccco. cO ccc c: _:c:.c co ccc :o. ccco ccc c.ccco. cO c_o c:_. ccccc c:c. Edit .c:.c:O ccc.co c: _:c.. c.O c_c_ c:c. Computer Aided Manufacture (CAM) .S Oco .c.co c:_cScco c_c co.o Dc:_ cO:o.. occ:o.o cc:.. .S .oc ccc 2c. 2D CAM .oc - DO:o CAM .oc c:D.c:D c: c.o._ cc. c:cO. c:Dc .c.c. 3D CAM .oc - cO:o CAM .oc c.:o cc..o c_:cc, c , O+_ ._:c c: :cc:c c. (MDF .c:D) c:. c:cO. c:Dc: .c.c. cOcc .oc c_ c:c.S .Oc_O Oc c_o cc:oc .oc.c cc: c:c. .Oc cO:oc cc:o cco _:.S. .c:.c: .oc .c:.c: .o cc.c .c:.c: .o .:occ, Dc ,._c..:oc cc.c c_o c: c:ccc. .O. cc..c.c .c: cc. cc..c.c c:c c.:c_.c. coc c:. cO. cO._cc.: Dco cO._co cc cc c:c. oc:.c O:cc DOc c:coS cc:o .oc .c:.c: .oc .o:.D. oOc .Sc: c.: cco.o c:cc c:c .cocc Oco.. cc.occ.. c.c .o:O:c. Dc:_ ccO:oc c:_:c_ .oc .c:.c ccc cO. c:_o cO. c:Dc: .c.c. .c:.c: .oc c_ Dc:_ c:c.c O. c:c.:c c:c ccc co c.O cc: .Oc: .:O. c:c.. cc c.c c:. 24 cc:O c:. cccc c:c ccc c.: Dccc DOc c_ .o:.D.
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
182 ccO:occ_ c:c ccoc cc .oc cc occ:o c:cc:S c: cc.o ccO:occ:_:c_ ccoccc cc c:c .oc cc Oco Dc:_ c:c.c:c.c c_ .c.c. .OO .oc c:Dc: cO c: c:_o. cO oc: .c O:cc DO c:cc c:c O+_c:.c.c Oco c_.c.c.
cc..c. ccoccc c_ .cc D._ .c:ocD coo .oc
c:.c ccO:oc.. cc_ c c.:c:ccS O_ co.o coS c:cc: .c:_. coo. cO .._c .occ_ c.:c:cc. Oo c.cc.. .. .:O. ICT .o:O:cc cccc. Graphics Text Printers 2D c: 3D CAM .oc
Oc: 7c:o... .c:_co occ:o. cc: _cc ccoccc c.:c_.c c:Dc: cc.. .c.:o occ:o.. cc:.. ccc c:_o. cO cScco..oO ccoc cc cc c:c. G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
183 c:OoO I..I
co.:.S c.Dco. cc: _c.c
.c c.:c:c cc: ICT c cc:c c_c: c_O.
c co.:.S 8c. .c.. ccc c:c O:c+c: cc ._c c. _:.S. o Online c:cc cc: o Online .c:.c .c c_ co.o cO o :oDS c:c c.DS c. .c:o c...o. cc c. c:c O:c+c:c c.:c:c cc: .c:ccS c..:co .D:. .cc:S coo. c. c:c O:c+c:c. coc_c o c:c.ccOc:c o occ.c:c o c:ccc:c o occ c:.. cc:o .c:o ccoo. c.c .coS cc:cS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
c:OoO I..2
c.DS c. Online c:cc cc: coccc:_. .S cc: c:Dc: cO c:c:.c c: ccc .D. c:O:o. c:cc .:O .OoO Internet Shopping cccS c:ccc: ccc .o:.D.
c c: cOc co.o cco.o .oo - Online .c.o:.c _co., _ccco c.c. c:. .c:o :o coo. c c..O _. co.o .O:oc: .c:ccS O_c c:..D .oo. .cDS cO Credit Card/Charge Card co.o.D ccc:c. - _. c:o.S .cc_:c Online Translation cc cc.: cc, Print cc ccoo. O_ .cDO Credit Card, Charge Card Oco c_c_ c:c oOc c. cccc:c:c c_ .c..
Online Shopping c.S c. .c.c: c:c _:.S. coccc:_. c:. 24 cc:O Dc+cc ccco c:Do cO:. So:O cccc:cc Mouse Click ccOco ccc. c:o. c: .cc: _c: cc c:c. _:cco o cco cD cc _c: c:oO o .c:._ .co ccc: c:oO. o .:_co. O_ .:DO o c:_S _. c:oO c:.
DVD .:co. cO. DVD .:co. cO cc: DVD Software ccc ccc..D. DVD c:. DVD-Rom cc. c:c_ c.Oo cc Power DVD .c: Win DVD c:o DVD Player ccc c:Dc: cc cc Play Button cc Click ccoo.
ccoc. Oco cc .:co. cO MP3 File Extension ccc CD c: cc. .c_.c:._ cc_ ._c cO.D. .Sc: c. c:O:o. CD c: .:co. cco c:cD .oc.c .:co. c_ .o:c:c. c cc: MP3 ccc.. cc .:co. c_ c:c CD Player ccc ccc c:cD .oc.c c:Dc: c_ .c.. MP3 File c_ D.cccc. cc: c.: File DO oc: CD c:.c. c._ Dc:_ cO:o.c I00c cOo` cc.: cO. c:cDO..
Sound Card ccc c: Speakers ccc ccoc.c Media Player cc Oco c. MP3 File .:co. c_ c:c. Speakers ccc ccoc.c Sound Card ccc ccc .D.`
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
186 c:OoO I..I .ccc
D.o: - O.c o .c:.c cco _.O o:c.c_:. O. .c:._ .c:._ cc: .c_:
.c:ccc: _c: c:oO c:_o. cO c:._cc. ._:c cc: c:cc ccco c:_.c c:Do cc cc c.c_. co coc o c c c:oDO ccc: .D. c.OoO .cc:_o c:cc c: cO:c.. cc:o Oc coccc:_. cc cO .c: _c:DO c:_o. cO co DD. cO:c .c:.cc_ D.Dco.. _cD. c:c..
cc:Do .c:c_c OD.o ccc_ occc:c. c: .c:c_ccc. cccc:.co .:O cc. c:c cc..:c.c. .Oc .c:ccc:c_ occc:c. cccc: cc c:oO .OoO cO .c:ccc: cocc. cc_.o cc. cc DO c_cc: ccc. cc_.o c. cccc.coo .c:cc _c: c:o.S c:c.:c cccc: c_ .c..
cc cO:c.. c:c.cO .c.cc c..:co c_c:S c:c cco _co .c.o .c:ccc: c:cco. c:._c: ..c cc. ccc c:c. c. c.:o O:c+c: ...c c:O:o...o c:cDc: c_ c:c..
.S coc ccoc c:c.cO cc.c:. cc c:oO oc.:oc_c c.cc c:oO c:ccoc _ccO ..O c:cc co ccc cc cc c.c cc..o .o:c c._O c.c_ ccc DcO. c.cc cc . c.. m.Klhla;=, mqoa.,fhl=ms<sn| jeo.;a f;dr;=re we;=,;a lr we;s g tajd fjk;a mqoa.,hkag ,nd .ekSf yelshdjla we;' m.Kl cd, jYfhka mj;sk g mqoa.,fhl=ms,sn| O f;dr;=re O m.Kl Tiafia ,nd .; yel' Wod - mqoa.,fhl=yekqm;a wxlh Nd;fhka nexl=.sKq" rlaIK ms,sn| f;dr;=re" fldgia fj,ofmd, .kqfokq " foia .uka " j;al wd fndfyda foa ,nd .; yel' fuh je,elau i|yd O wdrlaIl l%u wkq.ukh lr we;' G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
189
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
190 c:OoO I.8.I
co.:.S c.Dco. cc: _c.c
ccoc c:ccc:c cSco.c Dc:.. c. .o cc:o ccc: cc c_O.
c co.:.S 4c. .c.. ccc c.co O:c+c: cc ._c c. _c: c:c. o Physical Issues o Malicious Codes o Combating Viruses, Worms and Trojan Horses o Key Terms to understanding Computer Viruses
c.DS c. .c:o c...o. cc c:c O:c+c:c .cc:S coo.
c.c co.:.O cc: cc cOc. c.c .cc oO c:Dc: ccoo.
c .. cc cS (Presentation) c_. .c:o cco ccc c.co cc: ccc .c:o ccoo. o ccoc c:o. c:ccc:c Physical Security of a Computer o Viruses, Worms, c: Trojan Horses o Viruses, Worms and Trojan Horses .co c:ccc:co.o .c.c
c.cc cO._c.c .c: .ccc.c .c:.cc ccoc.. c:c_ D cc coc.. c:O:o. c.:c:ccc.. c:.: cc. oS c. c.cc.c. c.oc O+_c:.c .OoO .Oc ccoc.. c:o cO cc: _c.c O:_:cc c:c. c.cc.c. cc..c.c cO c.cc ocD. c:c.(Replication). G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
191 c._O ccoc c.cc oc: DcoO occ:o. .c.c. c.cc Oco c.c. 7 S c_ cc.. c.cc.. Hard Drive cc Format c_ c:c. Hard Drive Oc Over Write cc Files Oc: O: .oc. cc. c_ c:c. c: c.: c.cc.c. cc cOoo c D c:c Memory c:Dc: cc c.c. o:ccD. c:c. c.:oc ..ccc Network ccc: cOo cc cccoc.. c:cccc c.c. c:cOo. c_ c:c.
Viruses, Worms and Trojan Horses c_o c.c ccoc. c:ccc: cc c:oO. c_O.coO c_ .c.c Operating System cc Up to Date cc c:oO.. c Microsoft Windows OS c:Dc: cco.oc oS .O. cc.:cc..D.
.coc c Anti-Virus O+_c:.c. Install cccc .c.. c occO occO Anti-Virus Software Download cc cc .c.. cc c.c Anti-Virus Program cc. coccc:_..o _c:cc E-Mail c: Files c_ c:c Virus Scan cc c:o.S c:c.:c c7. .c.. cc Firewall Install cc cc: c:oO c.: .c:..
Anti Virus Software Anti Virus O+_c:.c c_. .o:oo: Virus c_o: cc .o:c:c. cc:Do c. occO Update cc c:7.Oo c_:. ._c c.cc c_o c:ccc: D. c:c.
Fire Wall ccoc. coccc..o c:Dc: cO Fire Wall c.c. Oco c_.c.c. .O. +.:.c.c .c: O+_c:.c.c D. c:c. +.:.c ._c c:c Fire Wall c: c:ccc: ccc .D. .Sc: Broadband Routers cOc .c: .co cc..o _c: cc c:c. c+ccc c:Dc: ccooo . c.: coc. Fire Wall cc O+_c:.c Fire Wall cc.D.
.c:c. .c: c:O cocc. c: c.:.:O cO .c:c. cScoo D.S c_O Dc.. ccoc. .. co D. c.c .D c:o cccS D. .c..
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
196
c:OoO I.I0.I
G.C.E.(O/L) IT Teacher Instructional Manual
National Institute of Education- 2008
197 c:OoO I.I0.2 co.:.S c.Dco. cc: _c.c
ICT c:Dc.. c:cco c:O:S. c_c:S cc.cc: ccO.
c co.:.S coc. .c.. ccc c.co O:c+c: c co.:.S ccc cc ._c .c: .o c:c. o Digital Divide o Digital Divide oc: c:cco cccc. c. cO o c:cco..o .c:cc cc.: c:c c.D.S c. c:Dc: .c:. O:c+c:c ccc .c:o cc.c:. cc coo. c.c .cc oO c:Dc: .c:. c.: co.:.S cc: cc cOc ocO:o. ccoo. c.occ c:O:Sc.o.c cc cS c_. cco ccc c:co: cc cc.c:.. _c: coo. o Digital Divide .o cOc o Digital Divide o:c cO. cc c:c c.cc o ICT oc: c_.co c:c co cc.: cccc: c: cO:c c_c:S c.c .coS cccS Oc coS c ocO:o:cOc co.:.S cc cOc cc: c:oS coo.
c:OoO I.I0.8 c.DS c.
Digital Divide .o .c:ccc: c:cco. c:Dc: cO. cccc:c c:c c. c: cccc:c o:c c. ccc .OO c:cco. oc: c:cco cccc. Digital Divide ._c cc:c c_ c:c.
Digital Divide oc: c:cco cccc. c. cO.
cc:c occ cO ccc c..c cO c_o oO c:c c. Oco o O o:c c.. ccc. oO _c: O. c:c .D.
cc:c occ cO ccc c..c cO oO _c: c:oO. cccc:cc. .S Oco oO c:c c.. oO o:c c. occ cO. cccc:c _:.S. cOo oO _c: c:oO cO: c.: co cO:c. occ cO. cccc:cc.
D.cc cO:c c:o. cc: Web Site ccc cO cOcc cO:c co.:.S c_. c:_.co Web Site .o:O:c oc: cc:o c. .c:ccc: c:c co. c:Dc.. O:_cOc cc.. cc:o c..c ccc.c:c_. c:_.co Web Site ocO:o. c.Oo cO c:.tc oc:cco. c_ c:c.
c:oDO cc: .c:ccc: c:cco. c:Dc: cO .c:ccc: c:cco. cc oc:c cc.c:..c c:c cc:cc: cc cO oc: .OO oc c:cco. .coS c.:c_.. c:Dc: cO. c::ccc ccc. cc:cc: cc: .c:ccc: c:cco. c_c cc.c:.. _c: .Oo c:c:_ ccc: Digital Divide oc: c:c co cccc. c. c.S cccc:c c:c.
c. c::.S _co c.. ccoc cc_c: c:c cO cO:c.. cc c::.S _co c.. .c:ccc: c:cco. c:Dc: c.S cccc:c c. oc: co.c ccoc c:cco. cc_c: .o cO c: c:cco. c:Dc: c.S cccc: c:c cO c_ o co .c .c:ccc: c:c co. oO .o c_ c:c.
c:cco..o .c:cc cc .: cccc: .c:ccc: c:cco. .o DO oc: c_c cc.: cccc: Dc:_ cO:o.c c:c D c:c. cc:o cOccc ccc cc: c:c. .OO c:cco.. .oc cOccc cD.cc ccc: ccc cc.: ccooo cc: cc..:c.c D c:c. _:cco.c ._c ocO:oc_ Dc c_c..c.c ccc.c:c Desktop Publishing O+_c:.c ccc: c. D c:c. G.C.E.(O/L) IT Teacher Instructional Manual