Beruflich Dokumente
Kultur Dokumente
0 PROGRAMMING
First Generation :
Machine language
Second generation :
Assembly language
Third generation :
PASCAL, FORTRAN,
BASIC, COBOL, C, C++
Fourth generation :
SQL, NOMAD, FOCUS
Structured
programming often uses
a top-down design
model.
The object-oriented
programming approach
uses objects.
5.1.4 TRANSLATOR
5.1.4.1 DESCRIBE THE
TRANSLATION METHOD OF
PROGRAMING USING
ASSEMBLER,INTERPRETER
AND COMPILER
ASSEMBLER
An assembler is a computer
program for translating assembly
language essentially, a
mnemonic representation of
machine language into
machine language.
Examples: MACRO-80 Assembler
and Microsoft MASM.
INTERPRETER
Constant.
Variable.
Data Type.
Operators.
Control Structures.
Constants
Constant is a data container that
stores information. The value will
never change (remains constant)
String
Any value that contains a
sequence of characters
Variables
Variable is a data container that
stores information. The value
inside may change at any time
during the course of a program.
Boolean
Boolean type consists either a
True or False value.
Programmers usually use it to
store status.
5.1.5.1 DIFFERENTIATE
BETWEEN CONSTANTS AND
VARIABLES
5.1.5.3 DIFFERENTIATE
BETWEEN MATHEMATICAL
AND LOGICAL(BOOLEAN)
OPERATORS
Function :
5.1.5.4 DIFFERENTIATE
BETWEEN SEQUENCE
CONTROL STRUCTURE AND
SELECTION CONTROL
STRUCTURE
5.2 PROGRAM DEVELOPMENT
PHASES
5.2.1.1 DESCRIBE THE FIVE
MAIN PHASES IN PROGRAM
DEVELOPMENT
PROBLEM ANALYSIS PHASE
During the problem analysis
phase, the programmer will
interview the client to find out
what the clients needs are.
PROGRAM DESIGN PHASE
Based on that, the programmer
will design a flow chart that
represents the needs of the
client, which in this case is the
school registration program.
5.1.5.2 DIFFERENTIATE
BETWEEN THE DATA TYPES :
BOOLEANINTERGER,DOUBLE,
STRING AND DATE
Mathematical operators
perform mathematical operations
such as plus or substract.
Integer
Integer data type contains any
whole number value that does
not have any fractional part.
Double
CODING PHASE
Once the flow chart is confirmed,
the programmer will perform
coding.
TESTING AND DEBUGGING
PHASE
The school registration program
will be tested by the users at the
clients site. In this case, it will
be the school office
administrators. If there are any
errors, the programmer will do a
debugging of the program.
DOCUMENTATION PHASE
After this, the programmer will
complete the documentation for
the program; this includes the
user manual, a clear layout of
the input and output records and
a program listing.
FIFTH
GENERATION
LANGUAGES
NATURAL
LANGUAGES
OPENGL
(GRAPHIC
LIBRARY)
FIFTH
GENERATION
LANGUAGES
Fifth generation programming
language (5GL) is an advance
programming language which
concentrates
on
solving
problems using constraints given
to the program.
In fifth generation language, the
programmer just need to define
the problem to be solve and the
program will automatically code
the program based on the
problem definition.
Fifth generation languages are
designed to make the computer
solve the problem for you.
GROUP 5 :
KHAIRAH ATIKAH
ABDULLAH
NUR MASTURAH ABD
RAHMAN
SURIA HANIM
ASHARI
NUR SUAIDAH
ZAINAL