Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 44

GROUP 1

Members:
Ha Khai Hoan (Leader)
Pham Gia Thinh
Nguyen Ngoc Phuc
Du Gia Phu
COMPUTER LANGUAGE
COMPUTER LANGUAGE
- Computer languages ​are also known as programming languages. What is a programming
language? It is the set of instructions that the CPU uses to perform each function. For
example, load data, jump, or compute integers per data unit of memory. These instructions are
sequenced in all programs run directly by the CPU.
COMPUTER LANGUAGE
- Computer languages ​are also known as programming languages. What is a programming
language? It is the set of instructions that the CPU uses to perform each function. For
example, load data, jump, or compute integers per data unit of memory. These instructions are
sequenced in all programs run directly by the CPU.

- A programming language is a formal language consisting of a set of


instructions producing various outputs. Programming languages ​are used in computer
programming to implement algorithms.
COMPUTER LANGUAGE
TYPES OF COMPUTER LANGUAGES
Machine
language
Low level language
0’s and 1’s

is a language that is easy to


Assembly
understand for computers. The language
computer can immediately
It is used to transform a data
understand and execute
structure consisting of 0s and 1s that
instructions written in machine
are difficult to understand by
language
computers into a language that is
easier for humans to understand.

are used to write applications and


High level
software that run on different platforms
language
and architectures.
<=
>

High Assembly
language​ Language
HIGH-LEVEL
LANGUAGES
W H AT I S A H I G H
LEVEL
PROGRAMMING
LANGUAGE?
H I G H - L E V E L L A N G U A G E S :   U S I N G N AT U R A L
L A N G U A G E S , E A S Y T O U S E , O R A U T O M AT I N G
I M P O RTA N T A R E A S O F C O M P U T I N G , I T M A K E S
THE DEVELOPMENT PROCESS SIMPLER, AND
E A S I E R T O U N D E R S TA N D T H A N L O W- L E V E L
LANGUAGES.

Some prominent high-level


programming languages: Python, Java,
PYTHO
C, C++, C#, Ruby, PHP, JavaScript,...

N PHP C++

etc…
Some prominent high-level

PYTHO programming languages: Python, Java,


C, C++, C#, Ruby, PHP, JavaScript,...

N PHP C++

etc…
+ Basic characteristics of high-level programming languages: It is highly
appreciated by programmers for its flexible usability and high closeness to
today's language.

 + Programmers do not need to care about how to allocate and manage memory
cells in RAM or CPU when using high-level programming languages. Because
high-level languages support hardware interaction.
PYTHON
C++
PHP

+ Basic characteristics of high-level programming languages: It is highly


appreciated by programmers for its flexible usability and high closeness to
today's language.

 + Programmers do not need to care about how to allocate and manage memory
cells in RAM or CPU when using high-level programming languages. Because
EX: WRITE A PROGRAM TO COUNT THE
NUMBER OF CHARACTERS ENTERED IN A
ROW
EX: WRITE A PROGRAM TO PRINT “HELLO
WORD” ON SCREEN
A D VA N TA G E S A N D D I S A D VA N TA G E S
OF HIGH-LEVEL LANGUAGES
A D VA N TA G E S A N D D I S A D VA N TA G E S
OF HIGH-LEVEL LANGUAGES
- Advantages:
+ More flexible and easy to understand than low-level
programming languages.

+ Use factors such as natural language, and good security.


A D VA N TA G E S A N D D I S A D VA N TA G E S
OF HIGH-LEVEL LANGUAGES
- Advantages:
+ More flexible and easy to understand than low-level
programming languages.

+ Use factors such as natural language, and good security.

- Disadvantages:
+ Higher memory consumption and larger binary program size.

+ Unable to optimize performance or use certain hardware.


ASSEMBLY LANGUAGE
ASSEMBLY LANGUAGE

* Machine Language: Machine level language is


a type of Low level language. Machine language is
considered to be the oldest computer language. Machine
language is developed by only using binary numbers i.e., 0
and 1. So, the instructions or the statements in this
language use a sequence of 0’s and 1’s
COMPARISON BETWEEN
HIGH LEVEL LANGUAGE AND
ASSEMBLY LANGUAGE
Assembly
Review:

High level language


Criteria High level language Assembly
Is a language close to natural language, highly Assembly language allows programmers to use
independent, less dependent on the type of a number of words (usually abbreviated
Concept machine English words) to express instructions to be
executed.

Easy to understand, easy to edit, high Take full advantage of hardware features
Advantages independence

In order for the machine to understand the Convenient for professional programmers but
scale, there is a translation program to convert not suitable for the majority of programmers
Disadvantages from high level language to machine language

High-level languages require a compiler or Assembly language requires the assembler to


interpreter to convert a program into machine convert the program to machine code while
Translate code machine language is directly executed by the
computer

High level language is slower than assembly Assembly language is faster than high level
Execution speed language language

Memory efficiency High level languages are not memory efficient Assembly language is more memory efficient

Computers can easily understand assembly


Programmers can easily understand high
Ease of understanding level language
language
THANK YOU

You might also like