Questions
Answer the following questions to test your knowledge of this chapter:
- How are Python modules brought in to be used in your code?
- How does the use of
socket
risk affect the portability of your script? - It’s impossible to run a Python script without
#!/usr/bin/python3
as the first line of code. (True | False) - What are two ways you could stop a
while True
loop? - PyInstaller can be run on any platform to generate Windows EXEs. (True | False)
- In Python 3,
thread
became _________. - An ARP attack will fail completely without defining the
restore()
function. (True | False)