1 - Python is an example of:
a) a high-level programming language
b) a natural language
c) a machine language
Solution: a) a high-level programming language
2 - A complete set of known commands is called:
a) an instruction list
b) a low-level list
c) a machine list
Solution: a) an instruction list
3 - What is source code?
a) another name for source file
b) a program written in a high-level programming language
c) machine code executed by computers
Solution: b) a program written in a high-level programming language
4 - what do you call a computer program which directly executes instructions written in a programming language?
a) a translator
b) a compiler
c) an interpreter
Solution: c) an interpreter
5 - what python version is covered in this course?
a) python 1
b) python 3
c) python 2
Solution: b) python 3
what is CPython?
a) it is another name for Cython, a superset of the python programming language
b) the default implementation of the python programming language
c) a compiled language used to perform high-level programming functions
Solution: b) the default implementation of the Python programming language
7 - what is IDLE?
a) it's an acronym that stands for Integrated Development and Learning Environment for Python
b) it's a python version
c) it's an acronym that stands for Interactive Development and Learning Extension
Solution: a) it's an acronym that stands for Integrated Development and Learning Environment for Python
8 - what do you call a tool that lets you launch your code step by step and inspect it at each moment of execution?
a) a console
b) a debugger
c) an editor
Solution: b) a debugger
9 - How did Python, the programming language, get its name?
a) Guido van Rossum named it after the Pythonidae - a family of large, nonvenomous snakes.
b) Guido van Rossum named it to honor Python of Catana, a dramatic poet of the time of Alexander the Great.
c) Guido van Rossum named it to honor Monty Python's Flying Circus, a BBC comedy series popular in 1970s.
Solution: c) Guido van Rossum named it to honor Monty Python's Flying Circus, a BBC comedy series popular in 1970s
10 - What is an example of a Python file extension?
a) pi
b) py
c) p
Solution: b) py