0% found this document useful (0 votes)
57 views23 pages

Compiled VS Interpretative Languages

Compilers and interpreters both convert code from a high-level language to machine language, but they do so in different ways. A compiler translates an entire high-level program into machine code all at once before execution, while an interpreter translates and executes one line of code at a time. An assembler is used as a translator for low-level assembly languages, converting assembly language code directly into machine code. Examples of compiled languages include C and compiled versions of BASH, while interpreted languages include BASH and Python.

Uploaded by

arlin aringo
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)
57 views23 pages

Compiled VS Interpretative Languages

Compilers and interpreters both convert code from a high-level language to machine language, but they do so in different ways. A compiler translates an entire high-level program into machine code all at once before execution, while an interpreter translates and executes one line of code at a time. An assembler is used as a translator for low-level assembly languages, converting assembly language code directly into machine code. Examples of compiled languages include C and compiled versions of BASH, while interpreted languages include BASH and Python.

Uploaded by

arlin aringo
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/ 23

Compiled VS Interpretative

Languages

COURSE CODE: IPT101


COURSE CODE: IPT101
COURSE CODE: IPT101
COURSE CODE: IPT101
What is the main role of
compiler and interpreter?

COURSE CODE: IPT101


COURSE CODE: IPT101
Compilers and Interpreters are
computer programs that convert a
code written in a high-level language
to machine language.

COURSE CODE: IPT101


COURSE CODE: IPT101
What is the main difference
between compiler and
interpreter?

COURSE CODE: IPT101


COMPILER INTERPRETER

Translates a High
Translates a High level program code
level program to to machine
machine language code -
language code - one line of code at
all at once. a time.
COURSE CODE: IPT101
C COMPILER

COURSE CODE: IPT101


BASH INTERPRETER

There is no intermediate code (machine code)


generated during the conversion of the program
to machine understandable code.

COURSE CODE: IPT101


COURSE CODE: IPT101
What type of translator is
being used for Low Level
Language?

COURSE CODE: IPT101


ASSEMBLER

This is a translation
program that
converts a code
written in Assembly
language to
machine code.
COURSE CODE: IPT101
COURSE CODE: IPT101
Examples of Compiled and
Interpreted Language

COURSE CODE: IPT101


COURSE CODE: IPT101
COURSE CODE: IPT101
COURSE CODE: IPT101
References:

https://www.softwaretestinghelp.com/compiler-vs-interpreter/

https://www.youtube.com/watch?v=3iLUls6Z_tw

https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#
Assembly_languages

COURSE CODE: IPT101


References:

https://www.softwaretestinghelp.com/compiler-vs-interpreter/

https://www.youtube.com/watch?v=3iLUls6Z_tw

https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#
Assembly_languages

COURSE CODE: IPT101


References:

https://www.softwaretestinghelp.com/compiler-vs-interpreter/

https://www.youtube.com/watch?v=3iLUls6Z_tw

https://en.wikipedia.org/wiki/List_of_programming_languages_by_type#
Assembly_languages

COURSE CODE: IPT101

You might also like