What type of language is Python?
Low-level
High-level
Interpreted
Which of the following are Interpreted languages?
Python
C
C++
BASIC
Perl
Which of the following is a benefit of using Interpreted languages?
Someone else does the work for you
They are easy to learn and have lots of uses
They are quicker than other types of language
Which of the following statements would you use to output text in Python?
import
print
echo
Which of the following can be used to edit Python code?
nono
nani
nano
nino
What should you type to end a Python session in the terminal?
exit
quit
exit()
quit()
What is the name of the module you would load to create a delay of a set number of seconds between commands?
time
datetime
yeardate
yeardatetime
What is the name of the module used to identify the date and current time?
Which of the following is the correct file extension for a Python file?
.p
.py
.pyt
.pyth
The following commands show the time module being used to sleep for 2 seconds. Which is correct?
time.sleep2
time.sleep(0.2)
time.sleep(2)
time.sleep(2000)