1 Answer - Sort by: Date | Rating
Compiler: A compiler is program that converts the instruction of a high level language into machine language as a whole. A program written in high level language is called source program. After the source program is converted into machine language by the compiler, it is called an object program.
The compiler checks each statement in the source program and generates machine instructions. Compiler also checks syntax errors in the program. A source program containing an error cannot be compiled into an object program.
A compiler can translate the programs of only that language for which it is written. For example C++ compiler can translate only those programs, which are written in C++. Each machine required a separate compiler for each high level language.
Interpreter: An interpreter is a program that converts one statement of a program at a time. It executes this statement before translating the next statement of the source program. If there is an error in the statement, the interpreter will stop working and displays an error message.
The advantage of interpreters over compilers is that an error is found immediately. So the programmer can make corrections during program development.
The disadvantage of interpreter is that it is not very efficient. The interpreter does not produce an object program. It must convert the program each time it is executed. Visual basic uses interpreter.
The compiler checks each statement in the source program and generates machine instructions. Compiler also checks syntax errors in the program. A source program containing an error cannot be compiled into an object program.
A compiler can translate the programs of only that language for which it is written. For example C++ compiler can translate only those programs, which are written in C++. Each machine required a separate compiler for each high level language.
Interpreter: An interpreter is a program that converts one statement of a program at a time. It executes this statement before translating the next statement of the source program. If there is an error in the statement, the interpreter will stop working and displays an error message.
The advantage of interpreters over compilers is that an error is found immediately. So the programmer can make corrections during program development.
The disadvantage of interpreter is that it is not very efficient. The interpreter does not produce an object program. It must convert the program each time it is executed. Visual basic uses interpreter.
0
0
- Need To Get In To My Bebo Account But Forgot My Username And Email Adress, What Should I Do?How Do I Log In?
- What Does A Transmitting Ethernet Adaptor Do When It Detects A Collision?
- How Can I Remove Windows 7 From My Acer Computer, And Install Windows Xp?
- How Can Change My Date Of Birth In Yahoo?
- What Is A Referential Anomaly?
- Why Java Is Papular In Market?
- What Is Dns Resolving Time Of Clint Side?
- What Is Plateform?
- What Are The Steps Involved In BTS Installation?
- Can I Borrow You Club Penguin,fantage,pixiehollow Membership Account?
- What Is The New Code Gem For Ourworld But Not The One Starting With 4?
- What Does The Following Coe Print. Systemout.println("*")?
- How The Invention Of Computer Help People?
- How Do I Use The Link To Activate My Email?
- Which Kind Of PCI Express Support Pixel Shader 3 Or Above?
- I Want To Open My Own Email Address Right Now. Can You Please Help Me?
- How To Create A Java Program That Accepts 3 Numbers (num1, Num2, Num3) And Sort Them In Ascending And Descending Order?
- Is Computer Is Dangerous For Children?
- Questions On What Are The Merits And Demerits Of Internet?
- What Site Can I Download And Read Free Full Version Ebook?
- How To Display An Artwork?
- How Do You Find A Very Good Game?
- How Do You Use A Ds?
- What Is Advantages And Dis-advantage Of Friendster?
- I Have To Hit The Top Of My Tv For The Screen To Come On?
- Differentiate Between Compiler And Interpreter.
- Why The Compiler And The Interpreter Both Are Used In Java?
- What Is Compiler, Interpreter, Assembler?
- What Is The Difference Between A Compiler And A Interpreter?
- What Are The Differences Between Compiler,Interpreter And Assembler?
- Does Assembler Faster Then Compiler Or Interpreter?
- What Is The Difference Between Compiler And Interpreter In JAVA PROGRAMMING?
- What Is The Difference Between Just In Time Compiler And Interpreter In Java Virtual Machine?
- What Is An Interpreter?
- What Is A Java Interpreter?
- What Do I Need To Be An Interpreter In Chicago?
- What Is The Description Of An Interpreter?

New Comment - Comments are editable for 5 min.