100% found this document useful (1 vote)
63 views22 pages

Basic Concepts (2nd Class)

Computer languages can be classified into three categories: machine language, assembly language, and high-level languages. Machine language uses binary and is directly understood by CPUs, while assembly language is a low-level language used for operating systems and applications. High-level languages were developed to be more portable and user-friendly. Translators such as compilers and interpreters convert programs between languages, with compilers converting entire programs at once and interpreters converting incrementally. Assemblers translate assembly language to machine code.

Uploaded by

Fiza Shaikh
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
100% found this document useful (1 vote)
63 views22 pages

Basic Concepts (2nd Class)

Computer languages can be classified into three categories: machine language, assembly language, and high-level languages. Machine language uses binary and is directly understood by CPUs, while assembly language is a low-level language used for operating systems and applications. High-level languages were developed to be more portable and user-friendly. Translators such as compilers and interpreters convert programs between languages, with compilers converting entire programs at once and interpreters converting incrementally. Assemblers translate assembly language to machine code.

Uploaded by

Fiza Shaikh
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/ 22

Few Basic Concept

{ by SZABIST-ZABTech
TYPES OF COMPUTER LANGUAGE
 Code or syntax, used to write programs or
specific applications, defines computer language.
It is used to communicate with computers.
 Broadly computer language can be classified into
three categories:-
 assembly language,
 machine language,
 high-level language.
 Machine language is a code or object code
consisting of binary digits 0 and 1.
 A computer system can easily understand and
interpret these binary digits.
 Since a central processing unit (CPU) can
directly understand and interpret it, machine
language is considered a native language.

Machine Language
 The assembly language is low-level for
microprocessors and many other programmable
devices.
 The assembly language is also considered a second-
generation language.
 The first-generation language is machine language.
 The assembly language is mostly famous for writing
operating systems and desktop applications.

Assembly Language
 Programmers developed high-level languages in response
to the issues they faced while writing programs.
 The older language poses portability issues, as code
written on one machine cannot be easily transferred to
other machines.
 This led to the development of high-level language.
 The high-level language is easy to understand, and the
code can be written easily as the programs written are
user-friendly in a high-level language.

High-Level Language
Translator
 A translator is a programming language
processor that converts a computer program
from one language to another. 
 It takes a program written in source code and
converts it into machine code.
 It translates a high-level language program into
a machine language program that the central
processing unit (CPU) can understand. 
 It also detects errors in the program.

Purpose of Translator
 A compiler is a translator used to convert high-
level programming language to low-level
programming language. 
 It converts the whole program in one session
and reports errors detected after the
conversion. 

Compiler
 Just like a compiler, is a translator used to
convert high-level programming language to
low-level programming language. 
 It converts the program one at a time and
reports errors detected at once while doing the
conversion.

Interpreter
 Assembly language is difficult to understand as
it is a low-level programming language. 
 An assembler translates a low-level language,
an assembly language to an even lower-level
language, which is the machine code.

Assembler
END

You might also like