
Salam sejahtera kepada semua,
Pada hari ini sempurnalah sudah perasmian blog saya yang cantik ini.
Sahabat-sahabat boleh melayari blog saya ini pada bila-bila masa.





A database is a structured collection of records or data that is stored in a computer system. The structure is achieved by organizing the data according to a database model. The model in most common use today is the relational model. Other models such as the hierarchical model and the network model use a more explicit representation of relationships.
A database management system (DBMS) is computer software that manages databases. DBMSes may use any of a variety of database models, such as the network model or relational model. In large systems, a DBMS allows users and other software to store and retrieve data in a structured way.
The usages of Database Software :
Easy to find information
Can get information fast
Can get complete information
Data : (not process)
- refers to a collection of facts usually collected as the result of experience, observation or experiment, or processes within a computer system, or a set of premises. This may consist of numbers, words, or images, particularly as measurements or observations of a set of variables. Data is often viewed as a lowest level of abstraction from which information and knowledge are derived.
- is like raw material. It is not organized ad has little value.
- There can be text data, number or numerical data, image data, audio data and video data.
Information : (processed)
- as a concept has a diversity of meanings, from everyday usage to technical settings. Generally speaking, the concept of information is closely related to notions of constraint, communication, control, data, form, instruction, knowledge, meaning, mental stimulus, pattern, perception, and representation.
- is organized data that is valuable and meaningful to a specific user.
- An information system is a set of related components that collects data, processes data and provides information. Collect data – process data – provide information.
TRANSLATOR
![]()
Sometimes two people cannot understand each other because they don’t speak the same language. So they need the help of a third person who understands both languages. This third person is known as a translator.
All software packages or programs are written in high-level languages, for example, C++, Visual Basic and Java.
However, in order for the computer to be able to carry out the instructions, the high-level languages must be translated into machine language before the computer can understand and execute the instructions in the program.
The translation of high level languages to machine language is performed by a translator.
PROGRAM
Have you ever wondered how your computer runs your favourite software?
Your favourite software is a program that consists of several instructions that perform its operation.
A programmer will write a source code which consists of the instructions
needed to run a program. Then the compiler or interpreter with assembler will translates the source code into machine language which is made of a sequence of bits (eg. 01100011).
The computer will load the machine code and run the program.
ASSEMBLER
An assembler is a computer program for translating assembly language — essentially, a mnemonic representation of machine language — into machine language.
For example in intel 80836, the assembly language for the ’no operation’ command is NOP and its machine code representation is 10010000.
Example of assemblers are MACRO-80 Assembler and Microsoft MASM.
INTERPRETER
Interpreter is used to interpret and execute program directly from its source without compiling it first. The source code of an interpreted language is interpreted and executed in real time when the user execute it.
The interpreter will read each codes converts it to machine code and executes it line by line until the end of the program.
Examples of interpreter-based language are BASIC, Logo and Smalltalk.
COMPILER
The source code (in text format) will be converted into machine code which is a file consisting of binary machine code that can be executed on a computer. If the compiler encounters any errors, it records them in the program-listing file.
When a user wants to run the program, the object program is loaded into the memory of the computer and the program instructions begin executing.
A compiled code generally runs faster than programs based on interpreted language. Several programming languages like C++, Pascal and COBOL used compilers as their translators.
PROGRAMING APPROACHES
![]()
STRUCTURED PROGRAMMING EDUCATION
Structured programming often uses a top-down design model where
developers map out the overall program structure into separate subsections
from top to bottom.
In the top-down design model, programs are drawn as rectangles. A top-down design means that the whole program is broken down into smaller sections that are known as modules.A program may have a module or several modules.
Structured programming is beneficial for organising and coding computer
programs which employ a hierarchy of modules. This means that control is passed downwards only through the hierarchy.
Examples of structured programming languages include
Fortran.
OBJECT-ORIENTED PROGRAMMING
The object-oriented approach refers to a special type of programming approach that combines data with functions to create objects.
In an object-oriented program, the object have relationships with one another.
One of the earliest OOP languages is Smalltalk. Java, Visual Basic and C++ are examples of popular OOP languages.
DIFFERENCE BETWEEN STRUCTURED AND OBJECT ORIENTED PROGRAMMING
Structured programming often uses a top-down design model.
The object-oriented programming approach uses objects.