Computer Studies Form 5

Page 1

COMPUTER STUDIES NOTES

1. PROGRAMMING LANGUAGES There are two main types of languages which are the High-level language and the Low-level language.

HIGH-LEVEL LANGUAGE: The High-level languages are theoretically machine-independent which means they are mainly machine code. The High-level languages are more powerful than the low-level languages. This language is used quite frequently; it is used in the PASCAL program and other programming software such as the BASIC. This language is written in English and also in machine code, this means it isn’t that difficult to learn and to begin with. Students usually begin learning and working with these high-level languages because it is easy to learn. Ultimately programs written in high-level language must be translated into machine language by a compiler or an interpreter. These languages are often described as problem-oriented languages.

LOW-LEVEL LANGUAGE: There are also the low-level languages which are more suited to sophisticated techniques because only machine code is used in them. These languages are harder to learn and to work on obviously. The low-level language is faster in execution then the high-level language and uses less memory when saved. These languages are not generally good for problem solving programs but are good for writing translator programs. These languages are also known and described as machineoriented languages. The low-level language is closer to the hardware than the human language. Two good examples of low-level languages are the Assembly language and the machine code.

TRANSLATORS: There are three types of translators which are the Assembler, the Interpreter and the Compiler.

THE ASSEMBLER: The assembler is some kind of software which translates the assembly language of the computer to machine code. The process when the assembly language is being translated to machine code is

MR NOEL ATTARD

PAGE: 1


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.
Computer Studies Form 5 by Noel Attard - Issuu