KURSUS ORIENTASI JURULATIH KEBANGSAAN (JK) ICT LITERACY
FOR PRIMARY SCHOOLS: TEACHING GUIDE YEAR 6
BASIC PROGRAMMING CONCEPT
MASH MANJAWANI BINTI MAT
Bahagian Pembangunan Kurikulum, KPM
WHAT IS…
PROGRAM – A set of instructions to direct the
computer to do a task
PROGRAMMING – Creating a sequence of
instructions to enable the computer to do
something (act or activity)
Bahagian Pembangunan Kurikulum, KPM
WHY PROGRAMMING?
Develop the problem solving skill
Able to apply the solution though
implementation of the programming and see
the result
Bahagian Pembangunan Kurikulum, KPM
Problem Solving Phase
Analyse
-what is the problem
-how to solve
-what is the expected outcome
Algorithm – a sequence of steps to solve
problem
Pseudo code
Flow chart
Bahagian Pembangunan Kurikulum, KPM
Pseudo Code
Sequence of activities that begin with START
and stop with END – in form of short
sentences. Eg:
› Start
› Multiply 2 km with 2000
› Add the answer with 465 m
› The answer is 2465 m
› End
Bahagian Pembangunan Kurikulum, KPM
Flow chart
Sequence of activities represented by diagram
Start
Do act 1
NO
Agree? Do act 2
YES
Do act 3
Stop
Bahagian Pembangunan Kurikulum, KPM
Implementation Phase
Program - Use the programming language
Test the program
Document the work
Bahagian Pembangunan Kurikulum, KPM
Control Structure
sequence selection
Start
Start
Do act 1 Do act 1
Agree NO
Do act 2 Do act 2
?
YES
Do act 3 Do act 3
Stop
Stop
Bahagian Pembangunan Kurikulum, KPM
THANK YOU
Bahagian Pembangunan Kurikulum, KPM