Podcast
Questions and Answers
What is a Python program?
What is a Python program?
- A series of instructions written in any language
- A series of instructions written in English language
- A series of instructions written in binary machine code
- A series of instructions written according to the syntax of the language (correct)
What is the role of IDLE in Python programming?
What is the role of IDLE in Python programming?
- It reports syntax errors in the Python program
- It executes the Python program
- It translates the Python program to binary machine code
- It enables you to enter, save, edit, and run the Python program (correct)
What is the difference between an interpreter and a compiler in Python?
What is the difference between an interpreter and a compiler in Python?
- An interpreter and a compiler are the same thing in Python
- An interpreter executes Python code directly, while a compiler translates the Python code to machine code (correct)
- An interpreter and a compiler are not used in Python
- An interpreter translates Python code to machine code, while a compiler executes the Python code directly