What is the best definition of a script?
- It’s a text file that contains sequences of zeroes and ones
- It’s a text file that contains instructions which make up a Python program
- It’s an error message generated by the compiler
- It’s an error message generated by the interpreter
Explanation: A script is a set of high-level language commands in a file, structured to be executed like a program. A Python script is therefore a file containing code written in Python.
More Questions: Python Essentials 1 – Module 1 Test
Please login or Register to submit your answer