Quiz 1
Question 1 (single-choice)
Python language is a
- language spoken by a tribe in South America.
- compiled high-level programming language.
- interpreted high-level programming language.
- language spoken by Harry Potter and Lord Voldemort.
Question 2 (multi-choice)
High-level interpreted programming languages are translated to machine language
- one statement at a time.
- as a whole.
- so that people can understand them.
- so that computers can understand them.
Question 3 (single-choice)
When typed into the Python shell window, the expression 3 + 4 * 5 returns
- 35
- 23
Question 4 (single-choice)
When typed into the Python shell window, the sequence of statements and expressions
>>> x = 5
>>> x = -2
>>> x + 10
returns
- 0
- 15
- 8