0% found this document useful (0 votes)
46 views2 pages

High and Low Level Languages Note

High-level languages use human-readable code that is translated into low-level machine code by compilers or interpreters. Low-level languages like assembly language use hardware-specific instructions that are directly executed by processors. Translators allow communication between high and low-level languages to execute programs on computers.

Uploaded by

EmmaOssy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views2 pages

High and Low Level Languages Note

High-level languages use human-readable code that is translated into low-level machine code by compilers or interpreters. Low-level languages like assembly language use hardware-specific instructions that are directly executed by processors. Translators allow communication between high and low-level languages to execute programs on computers.

Uploaded by

EmmaOssy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

High and Low Level Languages

High-level: language that can be comprehended by


humans

Low level: Language that can be read by a computer but


is difficult to be comprehended by humans.

Translators: Translate high-level languages to low-level


languages and vice versa.

Compilers: Translates high-level languages to low-level


languages so that computers can proceed forward with
the instructions.

Interpreter: Reads a high-level language instruction and


carries out that function and continues doing so.

Low Level Languages


 Low Level Languages are languages that sit close to a computer’s instruction

set. These are basic instructions that the CPU will understand

 For instance an assembly language which allows programmers to focus on

programming simple commands, which in turn is converted into machine code This

element is needed for the core hardware to be able to work with the software

 These languages are written for specific processors to ensure they embed the

correct machine architecture

 Assembly Language - The code is written using mnemonics, abbreviated text

commands such as LDA (Load), STO(Store) Using this language programmers can

write human-readable programs that correspond almost exactly to machine code.

 Machine code – is at the hardware level and is written in binary (1’s and 0’s)
Advantages Disadvantages

It gives programmers complete control over the Difficult to write and understand
system components so it can control hardware
components.
Efficient code can be written for the processor Machine dependent and cannot be
so it will occupy less memory and execute faster added to different specification
machines
They provide direct manipulation of hardware More prone to errors
which means it will be more efficient
Communicates directly with hardware Knowledge of computer
architecture is key to program
effectively

High Level Languages


 High Level Languages are programming languages which use English-like statements
which allow users to program with easy to use code, allow for clear debugging and
once programs are created they become easier to maintain
 High level languages were needed more due to the development of processor speeds
and memory capacity increasing
 Examples of these languages are Python, C#, Java etc

Advantages Disadvantages

It is easier to read and write and the


The user is not able to directly
programmer is less likely to make
manipulate the hardware
mistakes
Needs to be translated to machine code
It is easier to debug so it will save time
before running
The code is portable so can be used on
The program may be less efficient
any computer
One line of code can perform multiple
commands

You might also like