Information & Communication Technology LA5 – Programming
LEARNING AREA 5 – PROGRAMMING
Topic 5.1 - Basic Programming Concepts
5.1.1 Define Program and Programming Language
5.1.1.1 State the definition of program.
5.1.1.2 State the definition of programming language.
5.1.2 Levels and Generations of Programming Languages
1
Information & Communication Technology LA5 – Programming
5.1.2.1 Identify the generations of low-level programming languages with examples.
5.1.2.2 Identify the generations of high-level programming languages with examples.
2
Information & Communication Technology LA5 – Programming
5.1.3 Programming Language Approaches
5.1.3.1 Define Structured Approach in programming.
5.1.3.2 Define object-oriented approach in Programming.
5.1.3.3 Differentiate between structured approach and object-oriented approach in
4
*
* * *
** *
Information & Communication Technology LA5 – Programming
programming.
STRUCTURED PROGRAMMING OBJECT ORIENTED PROGRAMMING
PEMPROGRAMAN BERSTRUKTUR PEMPROGRAMAN BERORIENTASIKAN OBJEK
5
Information & Communication Technology LA5 – Programming
5.1.4 Translator (PENTERJEMAH)
5.1.4.1 Describe the translation method of programming using assembler, interpreter and compiler.
THREE TYPE- ASSEMBLER- INTERPRETER- COMPILER
6
Information & Communication Technology LA5 – Programming
5.1.5 Basic Elements in Programming
5.1.5.1 Differentiate between constants and variables
7
CONSTANTS VS VARIABLESCONSTANTS VARIABLES
CHARACTERISTICS
USAGE
CONSTANTS VS VARIABLESCONSTANTS VARIABLES
KAREKTOR
PENGGUNAAN
Information & Communication Technology LA5 – Programming
5.1.5.2 Differentiate between data types: Boolean, integer, double, string and date.
8
DIFFERENCENCE BETWEEN DATA TYPESDATA TYPES DEFINITION DECLARE
INTEGER
DOUBLE
STRING
BOOLEAN
PERBEZAAN ANTARA JENIS DATAJENIS DATA MAKNA PENGISTIHARAN
INTEGER
DOUBLE
STRING
BOOLEAN
Information & Communication Technology LA5 – Programming
5.1.5.3 Differentiate between mathematical and logical (Boolean) operators.
MATHEMATICAL LOGICAL (BOOLEAN)
5.1.5.4 Differentiate between sequence control structure and selection control structure.
SEQUENCE CONTROL STRUCTURE
SELECTION CONTROL STRUCTURE
EXECUTION FLOW
USAGE
FLOWCHART
9
Information & Communication Technology LA5 – Programming
5.1.5.4 DIFFERENTIATE BETWEEN SEQUENCE CONTROL STRUCTURE AND SELECTION CONTROL STRUCTURE.
SEQUENCE CONTROL STRUCTURE
SELECTION CONTROL STRUCTURE
EXECUTION FLOW KENYATAAN DIJALANKAN BARIS DEMI BARIS MENGIKUT URUTAN
KENYATAAN DIJALANKAN MENGIKUT KEADAAN
USAGE DIGUNAKAN APABILA ARAHAN BERDASARKAN URUTAN DEMI URUTAN
DIGUNAKAN APABILA MAHU MEMBUAT KEPUTUSAN DALAM PERJALANAN SESUATU PROGRAM
SYMBOL TIDAK MENGGUNAKAN SIMBOL
TIDAK MENGGUNAKAN SIMBOL
FLOWCHART
10
Information & Communication Technology LA5 – Programming
Topic 5.2 - Program Development
5.2.1 Program Development Phases
5.2.1.1 Describe the five main phases in program development Define Computer System (define the activities for each phase).
Phase 1 : Problem Analysis
Phase 2 : Program design
11
Information & Communication Technology LA5 – Programming
Phase 3 : Coding
Phase 4 : Testing and Debugging
12
Information & Communication Technology LA5 – Programming
Phase 5 : Documentation
5.2.2 Develop a program
5.2.2.1 Apply program development phases to solve problems.
(define a project to apply – assessment)
13
Information & Communication Technology LA5 – Programming
1.Problem Analysis Phase identifies the data input, processing and output for the program
Let’s see how a
programmer applies program development phases to solve the library problems.
2. Program Design Phase
Pseudo code
Flow Chart
14
Information & Communication Technology LA5 – Programming
4. Testing and Debugging Phase
5. Documentation Phase
16
Information & Communication Technology LA5 – Programming
Topic 5.3 Current and Future Developments
5.3.1. Latest Programming Language5.3.1.1 The latest programming language
3 TYPES
- FIFTH GENERATION LANGUAGE
- NATURAL LANGUAGE
- OPENGL (GRAPHIC LIBRARY)3 JENIS
- BAHASA GENERASI KELIMA
- BAHASA BIASA
- PERPUSTAKAAN GRAFIK TERBUKA
\
18