Python Programming Language

Interpreted Languages

Question

Which of the following is an example of an interpreted language?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C.

An interpreted language is a programming language that is executed directly from source code without the need for a separate compilation process. When an interpreted language program runs, the code is read and executed line by line by the interpreter, which translates each line into machine code in real-time.

Among the options given, C++ and Java are compiled languages, which means the code is first compiled into machine code before execution. Therefore, they are not examples of interpreted languages.

On the other hand, Python is an example of an interpreted language. Python code is executed by a software program called an interpreter, which reads and executes each line of the code. Python is known for its ease of use and readability, making it a popular language for beginners and experienced programmers alike.

Lastly, Go is also a compiled language, not an interpreted language, so it is not an example of an interpreted language.

In conclusion, the correct answer is C. Python is an example of an interpreted language.