LAMPIRAN LESSON PLAN DIRECT TEACHING

LANGKAH 1 1. Definisi Algorithm. Algorithm is the sequence of steps required to provide a solution for a problem. 2. Karektor Algorithm. • • • • • Instruction are simple Instruction are accurate Instruction are general statements. Instruction are not be repeated infinitely Algorithm should be stopped after performing the instruction

3. Contoh bentuk Algorithm.

4. Soalan yang akan dikemukakan kepada pelajar( secara lisan ). Explain the Algorithm

1. Algorithm is sequence of steps required to provide a solution for problem. 2. Algorithm is a set of instruction written in simple English. 3. Each step of the algorithm should be simple and it should clearly represent the input, process and output.
LANGKAH 2 1. Definisi Flowchart. Flow chart is an algorithm represented graphically 2. Karektor Flowchart. • • • • Use to analyze problem Use to develop the logic to solve problems Process of drawing flow chart we call flow charting Instruction are represented using different symbols ( flow chart symbols )

Pseudo code is a detailed description of what a computer program or algorithm must perform.3. 2. Definisi Pseudo code. Flow chart are used to analyze problems then it is used to develop the logic to solve problems. LANGKAH 3 1. 2. Explain the pseudo code 1. Soalan yang akan dikemukakan kepada pelajar ( secara lisan ). . Pseudo code is a detailed description of what a computer program or algorithm must perform 2. 3. It is an outline of a program that can be converted into a programming instruction. Explain the flowchart 1. Pseudo code uses special reserved words for expressing the logic of programs. Flow chart is an algorithm represented graphically. Karektor Flowchart. Soalan yang akan dikemukakan kepada pelajar( secara lisan ). • • Outline of program that can be converted into a programming instruction Uses special reserved words for expressing the logic of programs 3.

LANGKAH 4 1. Simbol Flow chart. . Contoh bentuk Flow chart. 2.

Soalan lembaran kerja yang akan dikemukakan kepada pelajar. Aktiviti Flowchart Puzzle 4. Used to present mathematical instruction Used to join the flowchart that is drawn many pages Used when their in condition Represent the starting and ending point Represent the flow of the algorithm Used to either accept the input or to display the output .3.

Contoh penggunaan Pseudo code. // Pseudo code to find whether a student has passed in a examination begin accept the mark obtained by the student if the mark is greater than or equal to 40 display “Pass” or else display “Fail” end . can be used anywhere inside the pseudo code specifies block of statements that performs a specific task first is begin statement and last statement is the end other instruction are given between these two statements accepts the input value displays the output initializes the value of variables specifies condition and block of statements that executed based on the condition • specifies condition and number of times the block has to be executed based on the condition begin … end Accept Display Set if … else For 2. used to give additional information about the program. KEYWORD // • • • • • • • • • • DESCRIPTION comment entry.LANGKAH 5 1. Kata kunci Pseudo code.

a) b) c) d) e) Set For : initializes the value of variables : specifies condition and number of times the block has to be executed based on the condition // : used to give additional information about the program.     Algorithm is a stepwise and logical solution to a problem Flowchart is an algorithm represented graphically Flowcharting is the process of drawing a flowchart Pseudo code is a representation of the algorithm used for planning program logic .3. Soalan lembaran kerja yang akan dikemukakan kepada pelajar. Explain the keywords that are used in a pseudo code below. Display : displays the output Accept : accepts the input value PENUTUP 1. Aktiviti Fill Keyword 4. Rumusan isi pelajaran.

For 5. Accept 4. Display 5. FLOWCHART Flow chart is an algorithm represented graphically PSEUDO CODE Pseudo code is a detailed description of what a computer program or algorithm must perform FLOWCHART SYMBOL 1.2. Set 2. Mind map bagi rumusan. PSEUDO CODE KEYWORD 3. begin … end 2. 6. 1. . Set 4. DEFINITION ALGORITHM Algorithm is the sequence of steps required to provide a solution for a problem. if … else 7. 3. 6.

Sign up to vote on this title
UsefulNot useful