Lesson 01:
Program and Programming
|
|
1
|
A computer program
is a series of organised instructions that directs a computer to perform
tasks.
|
2
|
Programming is a
creation of a set of commands or instructions which directs a computer in
carrying out a task.
|
3
|
A programming
language is a set of words, symbols and codes that enables humans to
communicate with computer.
|
Lesson 02:
Generations of Programming Language
|
|
There are 5
generation of programming language
|
|
a. First generation
: Machine language
b. Second
generation : Assemble language
c. Third generation
: High-level language
d. Forth generation
: Very high level language
e. Fifth generation
: Natural language
|
Lesson 03:
Programming Approaches
|
|
1
|
Structured
programming frequently employs a top down design approach.
|
2
|
Object-oriented
approach refers to a special type of programming approach that combine data
with functions to create objects.
|
Lesson 04:
Translator
|
|
1
|
There are 3
translation methods of programming – assembler, interpreter and compiler.
|
2
|
Assembler is a
computer program that translate an assembly code into the corresponding
machine code that can be executed.
|
3
|
Compiler ia a
computer program that translate source code text which is written in a high
level programming language into a lower level language and will create an
executable file.
|
4
|
Interpreter is a
program designed to run other non-executable program source codes directly
without compiling it first.
|
Lesson 05:
Microsoft Visual Basic
|
|
1
|
Microsoft Visual
Basic is a visual programming tool based on the BASIC programming language developed by
Microsoft.
|
2
|
Among the main
features of the Microsoft Visual Basic are drag and drop, user interface,
data access features, ActiveX technologies and Internet capabilities.
|
3
|
Installing Visual
Basic is easy to accomplish.
|
Lesson 06: Basic
Element In Programming
|
||
There 5 basic
elements in programming:
|
||
a
|
Constant : Constant is a virtual data container that
stores information that will never change during the course of a program.
|
|
b
|
Variable : Variable is a virtual data container that
stores information that will / may change during the course of a program.
|
|
c
|
Data type : Data type refers to a classification or
type grouping of information.
|
|
d
|
Operator : Operator is a symbol that tells what
action to perform.
|
|
e
|
Control structured
: Control Structures allow the program
to control the flow of a program.
|
Lesson 07:
Pseudo Code
|
|
1
|
Pseudo Code is text
only sentences that describe the logic and program flow of a computer program.
|
2
|
Pseudo Code
resembles plain English.
|
3
|
Pseudo Code usually
does not have any specific program language syntax and grammar.
|
Lesson 08: Flow
Chart
|
|
1
|
A flow chart is a
graphical method to describe the logic and program flow of a computer program.
|
2
|
The main elements
in the flow chart are “terminator”, “input/output”, “process”,
“flowline/arrowhead” and “decision”.
|
Lesson 09:
Overview of Program Development Phases
|
||
The program
development consists of 5 phases:
|
||
1
|
Problem
Analysis
|
|
a program must
review and define the problem. Identify the data input, process and output
for the program.
|
||
2
|
Problem Design
|
|
there are 3 popular
tools which are the top-down design model, pseudo code and flow chart.
|
||
3
|
Coding
|
|
Coding is the
process of writing the solution using the computer program language.
|
||
4
|
Testing and
Debugging
|
|
the purpose of
program testing is to ensure the program runs correctly and is error-free.
The process of location and correcting syntax and logic error in a program is
known as debugging the program.
|
||
5
|
Documentation
|
|
is a written
description of computer program. Although documentation appear as the last
phase, it is actually perform throughout all phase of the entire program.
|
Lesson 10:
Control Structures
|
|
1
|
Control structure
is a method or technique that allows the program to control the flow of a
program.
|
2
|
Sequence control
structure executes the statements one by one in consecutive order.
|
3
|
Selection control
structure enables a program to execute different statements for different
conditions. It enables a program to have a decision-making process.
|
Lesson 11:
Project – Developing a Program
|
|
1
|
We need to apply
program development phase to solve problem.
|
2
|
Program development
phase consists of problem analysis, program design coding, testing and
debugging and finally documentation.
|
Lesson 12:
Overview of the latest Programming Languages
|
|
1
|
Natural language is
a type of programming language that uses plain English to write a program
code instead of using specific programming syntax.
|
2
|
5th generation
programming language automatically codes program based on the problem
definition given.
|
3
|
OpenGL is a
standard specification that describes the standard Application Programming
Interface (API) for 3D / 2D computer graphic application..
|