• retagged by
774 views
2 2 votes
Consider the following statements

1.Compiler produce executable binary object file whereas an interpreter produce code , both executable can run many times.
2. Before translation , compiler and interpreter reads all of the input file.

Which of the following statement are true ?

1 Answer

Best answer
9 9 votes

Both are false.

1. Compiler creates executable file and after that no need of compiler for running the program again and again while in case of interpreter, it reads your program instruction by instruction and executes it that means you need interpreter each time you need to run the program.
2. Before translation only compiler reads the complete input file while interpreter reads instruction by instruction as I mentioned above.

 

• selected by
Position:
Show:

Related questions

0 0 votes
1 1 answer
1.9k
1.9k views
goluabhinan asked Sep 16, 2018
1,896 views
Any transcription error can be repaired by(a) insertion alone (b) deletion alone(c) insertion and deletion alone (d) replacement alone
0 0 votes
1 answers 1 answer
2.6k
2.6k views
himgta asked Sep 1, 2018
2,626 views
Which of the following is true?A) Symbol table is constructed during the analysis part of compiler i.e., (front endB) Type checking is done during syntax analysis phase...
0 0 votes
1 1 answer
1.8k
1.8k views
stblue asked Aug 26, 2017
1,757 views
a) (i) and (ii) onlyb) (ii) and (iii) onlyc) (i) and (iv) onlyd) All are correctConsider the following statements:(i). The symbol table contains information about the lex...