Professional Documents
Culture Documents
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES Chapter 1.3: Hardware and Software 1.3.7 High Level & Low Level Languages
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES Chapter 1.3: Hardware and Software 1.3.7 High Level & Low Level Languages
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES Chapter 1.3: Hardware and Software 1.3.7 High Level & Low Level Languages
awabaqibb@gmail.com https://www.youtube.com/c/awabaqib/
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES BY AWAB AQIB
CHAPTER 1.3: HARDWARE AND SOFTWARE
1.3.7 High Level & Low Level Languages
1. Compiler
-A compiler is a software program that transforms high-level source code
-that is written by a developer in a high-level programming language
-into machine code as a complete unit / at once
-produces an executable file in machine code
-a report of errors is generated
-optimizes the source code to run efficiently
Advantages of using a Compiler
-compiled program can be executed without a compiler
-therefore, allows faster execution
-provides an executable file
-file is machine independent and can be used on any hardware
-allows to just send machine code
-produces an error report
-no need for a compiler to run the executable file, user can run directly
2. Interpreter
-An interpreter translates high-level instructions into an intermediate form
-line by line, which it then executes
-stops the execution of a program as soon as it encounters an error
-In contrast, a compiler translates high-level instructions directly into machine language.
-slow speed of execution of program loops
awabaqibb@gmail.com https://www.youtube.com/c/awabaqib/
GCSE CS (2210) / IGCSE CS (0478) P1 NOTES BY AWAB AQIB
CHAPTER 1.3: HARDWARE AND SOFTWARE
1.3.7 High Level & Low Level Languages
3. Assembler
awabaqibb@gmail.com https://www.youtube.com/c/awabaqib/