[Exam style] Python is an interpreted language. Explain what this means and how interpreted languages differ from compiled languages.

An interpreted language uses a program called an interpreter to translate code written in the source language to a target language that the computer can understand and execute. Interpreters translate code line-by-line as they execute the commands, whereas compilers use a program called a compiler to translate the entire program to the target language before any computation of the source program occurs.

JR

Related Python Mentoring answers

All answers ▸

What is the difference between a FOR loop and WHILE loop and how do I write them?


Write a function that takes a list of numbers as input, and outputs the average of the numbers. The function should catch any errors.


Firstly, my question is not Python related, but maths A-level related. I don't know how to change that in my profile but I would like to only tutor maths GCSE and potentially A-level. My question: Integrate sin(x)^3 over x=0 and x=pi/2.


What is the difference between DFS and BFS? Where can I apply each?