
The program that we write on a computer system is called a source code and the computer system can’t directly understand our program as it can only understand the object code in 0 and 1 format. For this we need translators to convert our source code into object code for successful execution. in this article I will focus on two types of translators, i.e, Compiler and Interpreter used in high level programming languages.
Compiler:
Compiler is a translator that reads the entire program and converts it to source code for successful execution. The compiler also give us the errors and warning if any before the program execution. The source code acts as an input to the compiler and the object code is the output of the compiler.
But the process of compilation takes some time as we need to correct all the errors it gives before program execution. It can also link intermediate classes and subroutines to the source program and act as a linker. Most of the high level languages such as C, C++, JAVA, etc. uses compiler.
Interpreter:
Interpreter is also a translator and converts the source code into object code but in a different way than the compiler. The interpreters reads the source code line by line and executes the program directly. The object code is also created line by line.
The interpreters are fast as compered to compilers as they don’t go for error checking at a whole and the error is checked at the run-time. Very high level languages such as C#, F#, etc are interpreter oriented.
You can differentiate between compiler and interpreter as follows,
Compiler |
Interpreter |
|
|
About the author /
Abhisek PandaAbhisek Panda is the co-founder of PractoMind Solutions and Dresm House Publications and is a Marketing and Media professional, Blogger, Social Media Specialist and Web Developer from Cuttack, Odisha. He has completed his PGDM (Marketing) from Institute of Management and Information Science, BBSR and Bachelors degree in Information Technology and Management (ITM) from Ravenshaw University, Cuttack. Abhisek has more than 3 years of experience in the field of technology, commercial operations, sales and marketing. He has also worked for more than 1 year as an Webmaster for www.Techulator.com and an editor and tutorial author at www.DotNetSpider.com. You can find out more about him at his blog abhisekpanda.com
Related Posts
-
19 December, 2014 -
30 August, 2013 C Programming Language
-
29 August, 2013 What is Computer Programming
Posts By Popularity
-
Realme C12-Features and Specifications
18 August, 2020 By Abhisek Panda -
Realme C15-Features and Specifications
18 August, 2020 By Abhisek Panda -
Realme C15 and Realme C12 launch, the new budget flagships
18 August, 2020 By Abhisek Panda -
Realme C15 and Realme C12 launch in India, all you need to know
15 August, 2020 By Abhisek Panda -
Phishing Scams during COVID 19 Pandemic
11 June, 2020 By Abhisek Panda -
Notification Management Got Simpler in Android Oreo
1 March, 2018 By Abhisek Panda -
Query-Your first step towards information retrieval
25 March, 2016 By Abhisek Panda -
Search-the building block of information retrieval
24 March, 2016 By Abhisek Panda -
Proven tips to reduce website bounce rate
30 December, 2014 By Abhisek Panda -
How a search engine works-beginners guide
30 December, 2014 By Abhisek Panda -
Using Visual Basic 6 in Windows 7 or Windows 8 without installation
19 December, 2014 By Abhisek Panda -
100 Common Information Technology Terms
10 December, 2014 By Abhisek Panda -
Riveted Joint and method of riveting….
23 January, 2014 By Abinash Panda -
Concept of Electrical Vehicle and Its Woking
19 January, 2014 By Abinash Panda -
Interchangeability,Allowance and Tolerance
19 January, 2014 By Abinash Panda -
What is Engineering and its branches
17 January, 2014 By Abinash Panda -
Concept of Machine Design
17 January, 2014 By Abinash Panda -
-
Why we need to install non-market apps in Android devices
15 October, 2013 By Abhisek Panda -
How to activate call waiting in Android devices
14 October, 2013 By Abhisek Panda -
Difference between Compiler and Interpreter
14 October, 2013 By Abhisek Panda -
Fixing Broken Android Download or Bluetooth Sharing Hangs
10 October, 2013 By Abhisek Panda -
C Programming Language
30 August, 2013 By Abhisek Panda -
What is Computer Programming
29 August, 2013 By Abhisek Panda
-
How to activate call waiting in Android devices
14 October, 2013 By Abhisek Panda -
What is Engineering and its branches
17 January, 2014 By Abinash Panda -
Riveted Joint and method of riveting….
23 January, 2014 By Abinash Panda -
C Programming Language
30 August, 2013 By Abhisek Panda -
100 Common Information Technology Terms
10 December, 2014 By Abhisek Panda -
Difference between Compiler and Interpreter
14 October, 2013 By Abhisek Panda -
Interchangeability,Allowance and Tolerance
19 January, 2014 By Abinash Panda -
Notification Management Got Simpler in Android Oreo
1 March, 2018 By Abhisek Panda -
Why we need to install non-market apps in Android devices
15 October, 2013 By Abhisek Panda -
Concept of Machine Design
17 January, 2014 By Abinash Panda -
Search-the building block of information retrieval
24 March, 2016 By Abhisek Panda -
-
Query-Your first step towards information retrieval
25 March, 2016 By Abhisek Panda -
Using Visual Basic 6 in Windows 7 or Windows 8 without installation
19 December, 2014 By Abhisek Panda -
Realme C15 and Realme C12 launch, the new budget flagships
18 August, 2020 By Abhisek Panda -
How a search engine works-beginners guide
30 December, 2014 By Abhisek Panda -
Fixing Broken Android Download or Bluetooth Sharing Hangs
10 October, 2013 By Abhisek Panda -
What is Computer Programming
29 August, 2013 By Abhisek Panda -
Concept of Electrical Vehicle and Its Woking
19 January, 2014 By Abinash Panda -
Proven tips to reduce website bounce rate
30 December, 2014 By Abhisek Panda -
Realme C15-Features and Specifications
18 August, 2020 By Abhisek Panda -
Phishing Scams during COVID 19 Pandemic
11 June, 2020 By Abhisek Panda -
Realme C12-Features and Specifications
18 August, 2020 By Abhisek Panda -
Realme C15 and Realme C12 launch in India, all you need to know
15 August, 2020 By Abhisek Panda
-
Why we need to install non-market apps in Android devices
15 October, 2013 By Abhisek Panda -
Realme C15 and Realme C12 launch in India, all you need to know
15 August, 2020 By Abhisek Panda -
Realme C15 and Realme C12 launch, the new budget flagships
18 August, 2020 By Abhisek Panda -
Concept of Machine Design
17 January, 2014 By Abinash Panda -
What is Engineering and its branches
17 January, 2014 By Abinash Panda -
Interchangeability,Allowance and Tolerance
19 January, 2014 By Abinash Panda -
Realme C15-Features and Specifications
18 August, 2020 By Abhisek Panda -
Concept of Electrical Vehicle and Its Woking
19 January, 2014 By Abinash Panda -
Riveted Joint and method of riveting….
23 January, 2014 By Abinash Panda -
Realme C12-Features and Specifications
18 August, 2020 By Abhisek Panda -
100 Common Information Technology Terms
10 December, 2014 By Abhisek Panda -
Using Visual Basic 6 in Windows 7 or Windows 8 without installation
19 December, 2014 By Abhisek Panda -
How a search engine works-beginners guide
30 December, 2014 By Abhisek Panda -
Proven tips to reduce website bounce rate
30 December, 2014 By Abhisek Panda -
What is Computer Programming
29 August, 2013 By Abhisek Panda -
C Programming Language
30 August, 2013 By Abhisek Panda -
Search-the building block of information retrieval
24 March, 2016 By Abhisek Panda -
Query-Your first step towards information retrieval
25 March, 2016 By Abhisek Panda -
Notification Management Got Simpler in Android Oreo
1 March, 2018 By Abhisek Panda -
Fixing Broken Android Download or Bluetooth Sharing Hangs
10 October, 2013 By Abhisek Panda -
Phishing Scams during COVID 19 Pandemic
11 June, 2020 By Abhisek Panda -
Difference between Compiler and Interpreter
14 October, 2013 By Abhisek Panda -
How to activate call waiting in Android devices
14 October, 2013 By Abhisek Panda -
Express your views