retagged by
562 views
2 votes
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 ?
retagged by

1 Answer

Best answer
9 votes
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

Related questions

0 votes
0 votes
1 answer
1
goluabhinan asked Sep 16, 2018
1,537 views
Any transcription error can be repaired by(a) insertion alone (b) deletion alone(c) insertion and deletion alone (d) replacement alone
0 votes
0 votes
1 answer
4
stblue asked Aug 26, 2017
876 views
a) (i) and (ii) onlyb) (ii) and (iii) onlyc) (i) and (iv) onlyd) All are correct