edited by
3,813 views

4 Answers

Best answer
13 votes
13 votes

A compiled language like C is usually compiled directly into machine code. When you run the code, it is executed directly by the CPU.

while in interpreted mode When you execute your code, the CPU executes the interpreter, and the interpreter reads and executes your source code this makes it slower than compiler i guess!

selected by
1 votes
1 votes

ans is (b)

compiled language like C is usually compiled directly into machine code. When you run the code, it is executed directly by the CPU

A fully interpreted language like BASIC or PHP is usually interpreted each time it runs. When you execute your code, the CPU executes the interpreter, and the interpreter reads and executes your source code. (PHP can be classified as fully interpreted, since while it does use opcodes, they are usually thrown away after the execution.

In conclusion, with compiled languages, the CPU runs the code directly. In interpreted languages, the CPU usually runs the interpreter or virtual machine. This makes interpreted languages generally slower than compiled languages, due to the overhead of running the VM or interprete

http://stackoverflow.com/questions/7991877/why-is-an-interpreter-slower-than-a-compiler-in-practice

 
 
0 votes
0 votes
B. Slower

As interpreter process line by line where as compiler makes as a whole ...
Answer:

Related questions

10 votes
10 votes
4 answers
1
ajit asked Sep 20, 2015
8,134 views
Which of the following class of statement usually produces no executable code when compiled?declarationassignment statementsinput and output statementsstructural statemen...
26 votes
26 votes
3 answers
2
Kathleen asked Sep 25, 2014
9,314 views
In a resident – OS computer, which of the following systems must reside in the main memory under all situations?AssemblerLinkerLoaderCompiler
2 votes
2 votes
2 answers
3
go_editor asked Jun 13, 2016
4,277 views
In C, what is the effect of a negative number in a field width specifier?the values are displayed right justifiedthe values are displayed centeredthe values are displayed...
7 votes
7 votes
4 answers
4
go_editor asked Jun 13, 2016
3,223 views
Repeated execution of simple computation may cause compounding ofround-off errorssyntax errorsrun-time errorslogic errors