Vous êtes sur la page 1sur 7

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 )

3. Soalan yang akan dikemukakan kepada pelajar( secara lisan ). Explain the flowchart

1. Flow chart is an algorithm represented graphically. 2. Flow chart are used to analyze problems then it is used to develop the logic to solve problems.
LANGKAH 3 1. Definisi Pseudo code. Pseudo code is a detailed description of what a computer program or algorithm must perform 2. Karektor Flowchart. Outline of program that can be converted into a programming instruction Uses special reserved words for expressing the logic of programs

3. Soalan yang akan dikemukakan kepada pelajar ( secara lisan ). Explain the pseudo code

1. Pseudo code is a detailed description of what a computer program or algorithm must perform. 2. It is an outline of a program that can be converted into a programming instruction. 3. Pseudo code uses special reserved words for expressing the logic of programs.

LANGKAH 4 1. Simbol Flow chart.

2. Contoh bentuk Flow chart.

3. Aktiviti Flowchart Puzzle

4. Soalan lembaran kerja yang akan dikemukakan kepada pelajar.

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

LANGKAH 5 1. Kata kunci Pseudo code.


KEYWORD // DESCRIPTION comment entry. used to give additional information about the program. 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. 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

3. Aktiviti Fill Keyword

4. Soalan lembaran kerja yang akan dikemukakan kepada pelajar.

Explain the keywords that are used in a pseudo code below. 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. Display : displays the output Accept : accepts the input value

PENUTUP 1. Rumusan isi pelajaran. 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

2.

Mind map bagi rumusan.

DEFINITION
ALGORITHM
Algorithm is the sequence of steps required to provide a solution for a problem.

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. 1. Set 2. begin end 2. 3. Accept 4. Display 5. Set 4. 6. if else 7. For 5.

PSEUDO CODE KEYWORD

3.

6.

Vous aimerez peut-être aussi