0% found this document useful (0 votes)
6 views

Part 2 - Paradigms, Levels, and Importance of Programming

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

Part 2 - Paradigms, Levels, and Importance of Programming

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

Paradigms, Levels, and

Importance of
Programming Languages
PART 2 [LEVELS]
-Orquesta, R.
Levels

The “difficulty” of Programming Language in relation to its development


throughout the history of Computing.
Levels: Machine Language
Imagine them as the “native tongue” of the computer, the language closest to
the hardware itself. Each unique computer has a unique machine language. A
machine language program is made up of a series of binary patterns (e.g.,
01011100) which represent simple operations that can be accomplished by the
computer (e.g., add two operands, move data to a memory location).
Machine language programs are executable, meaning that they can be run
directly. Programming in machine language requires memorization of the
binary codes and can be difficult for the human programmer.
Levels: Assembly Language
They represent an effort to make programming easier for the human. The
machine language instructions are replaced with simple pneumonic
abbreviations (e.g., ADD, MOV). Thus assembly languages are unique to a
specific computer (machine). Prior to execution, an assembly language
program requires translation to machine language. This translation is
accomplished by a computer program known as an Assembler. Assemblers
are written for each unique machine language.
Levels: High Level Languages
High-level languages, like C, C++, JAVA, etc., are more English-like and, therefore,
make it easier for programmers to “think” in the programming language. High-
level languages also require translation to machine language before execution.
This translation is accomplished by either a compiler or an interpreter.
Compilers translate the entire source code program before execution.(Eg: C++,
Java)
Interpreters translate source code programs one line at a time. (Eg: Python).
Interpreters are more interactive than compilers.
Levels: High Level Languages

Advantages of High-Level Languages


The main advantage of high-level languages over low-level languages is that
they are easier to read, write, and maintain. Ultimately, programs written
in a high-level language must be translated into machine language by a
compiler or interpreter
Importance of Programming Languages

Example:
• Let IT people communicate with machines.
• Let IT people build systems to maximize the use of machines.

You might also like