in Compiler Design edited by
1,413 views
1 vote
1 vote

Which of the following statements is/are true in the context of interpreters?

  • $S1$: Interpreters process program according to the logical flow of control through the program.
  • $S2$: Interpreter translates and executes the error-free first instruction before it goes to the second.
  • $S3$: Interpreter processing time is less compared with compiler.
  • $S4$: LISP and Prolog are interpreted languages.

 

  1. Only $S1$
  2. Only $S3$
  3. Only $S1$, $S2$ and $S3$
  4. Only $S1$, $S2$ and $S4$
in Compiler Design edited by
by
1.4k views

1 comment

I think it is D

1
1

1 Answer

2 votes
2 votes

S1: Interpreters process program according to the logical flow of control through the program.  TRUE

S2: Interpreters translates and executes the error-free first instruction before it goes to the second. TRUE

S3: Interpreter processing time is less compared with compiler. FALSE

      Because Compiler processing time is FASTER than Interpreter.

S4: LISP and Prolog are interpreted languages. TRUE

 So, option (D) Only S1, S2 and S4 is CORRECT

Answer:

Related questions