Learn programming

Main components of most Programming Languages

What are main components of most programming Languages ?!

Answer : 
  • Compiler
  • Interpreter
  • Editor
What is Compiler ?
 Answer : A compiler is a computer program that transforms the source program to target program


Or
Compiler is a software which translates the entire computer program at once  and if no error is found it executes it.


What is an Interpreter ?
Answer : A software which translates the program line by line and then executes it.


what is an Editor ?
Answer :  Editor is a computer program that facilitates the deletion or insertion of data within information already stored in a computer
Or
A software where we type/write or create our Program..


Why do we need Translators ?
Answer :  Now-a-days most of the languages are high level language and C++ is also a high level language.
Every statement in high level language is written in English and Computers only speak and understand binary language.



  • So we need a translator which can translate the English language into binary language.



  • Binary language consists of only two digits “0” and “1”




Previous
Next Post »