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

Ans Compiler Assembler

The main difference between a compiler, interpreter, and assembler is that a compiler converts a high level language program to machine language all at once, an interpreter converts it line by line, and an assembler converts assembly language to machine language. They are translators that convert high level or assembly programs into machine language for a computer to understand and perform tasks.

Uploaded by

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

Ans Compiler Assembler

The main difference between a compiler, interpreter, and assembler is that a compiler converts a high level language program to machine language all at once, an interpreter converts it line by line, and an assembler converts assembly language to machine language. They are translators that convert high level or assembly programs into machine language for a computer to understand and perform tasks.

Uploaded by

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

ANS:The main difference between compiler interpreter and

assembler is that compiler converts the whole high level


language program to machine language at a time while
interpreter converts high level language program to machine
language line by line and assembler converts assembly
language program to machine language.

A computer program is a set of instructions for the computer


to perform a certain task. Most programs are written in high
level languages or assembly language. These programs are
easy to read and understand by programmers but not
understandable by the computer. The computer only
understands machine language. It consists of binary which is
ones and zeros. Therefore, the high level or assembly program
should be converted into machine language for the computer
to understand the instructions. Compiler, interpreter and
assembler are translators that convert high level or assembly
language based programs to machine language.

You might also like