Which of the following is a typically interpreted language? I. C II. Perl
2021
Which of the following is a typically interpreted language? I. C II. Perl
- A.
Only I
- B.
Only II
- C.
Both I and II
- D.
Neither I nor II
Attempted by 247 students.
Show answer & explanation
Correct answer: B
An interpreted language is a programming language in which the code is executed line by line by an interpreter, without requiring complete compilation beforehand.
C is generally a compiled programming language. A C program is converted into machine code using a compiler before execution.
Perl is commonly considered an interpreted language because Perl scripts are usually executed by the Perl interpreter.
Therefore, only statement II is correct.