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 ?