What is true about compilation? - correct answer ✔1. The code is converted
directly into machine code executable by the processor
2. It tends to be faster than interpretation
What is CPython? - correct answer ✔It's the default, reference
implementation of Python, written in the C language
What are the four fundamental elements that make a language? - correct
answer ✔An alphabet, A lexis, A syntax, and semantics
What do you call a file containing a program written in a high-level
programming language? - correct answer ✔A Source File
What do you call a command-line interpreter which lets you interact with your
OS and execute Python commands and scripts? - correct answer ✔A
console
What is the expected behavior of the following program?
print("Hello!") - correct answer ✔The program will output Hello! to the screen
What is the best definition of a script? - correct answer ✔It's a text file that
contains instructions which make up a Python program
What is the expected behavior of the following program?
prin("Goodbye!") - correct answer ✔The program will generate an error
message on the screen
, What is machine code? - correct answer ✔A low-level programming
language consisting of binary digits/bits that the computer reads and
understands
Select the true statements:
a. Python is a good choice for creating and executing tests for applications
b. Python 3 is backwards compatible with Python 2
c. Python is a good choice for low-level programming e.g. when you want to
implement an effective driver
d. Python is free, open-source, and multiplatform - correct answer ✔a.
Python is a good choice for creating and executing tests for applications
d. Python is free, open-source, and multiplatform
Python is an example of: - correct answer ✔A high-level programming
language
A complete set of known commands is called: - correct answer ✔An
instruction list (IL)
What is a source code? - correct answer ✔A program written in a high-level
programming language
What do you call a computer program which directly executes instructions
written in a programming language? - correct answer ✔An interpreter
What Python version is covered in this course? - correct answer ✔Python 3