What is difference between Compiler, Interpreter and Assembler?



Compiler:

  • A Compiler is a program used in High level language to convert the low level language or machine code into binary information.

  • A Compiler is faster and occupies more memory.

  • Compiler checks to entire program at once, if no error then sends for execution.

Interpreter:

  • An interpreter is a program used High level language to convert the low level language or machine code into binary information.

  • An interpreter is slow comparison as compiler occupies less memory because it is used in Graphics based programming software.

  • An interpreter checks the program line by line. After checking one line it checks the second and so on. After checking all line it sends to execute.

Assembler:

  • Assembler is converting to high level language into assembly level language. i.e it converts the Mnemonic symbol into object code and send for execution.

  • It is faster than machine level information and consumes less memory.

  • Assembler is used code add for Addition, sub for subtraction etc.



34 views0 comments

Recent Posts

See All

Python Modules

A module is a file containing Python definitions and statements. A module can characterize functions, classes and variables. A module can likewise incorporate runnable code. Gathering related code int

Command Line Arguments in Python

Command Line Arguments are the arguments that are specified after the name of the program in the command line shell of the operating system. Python gives different ways of dealing with these types of

 

9555593818

Thakurdwara, Uttar Pradesh 244601, India

  • Facebook
  • Twitter
  • LinkedIn