Python › Module 1 › Lesson 5
Quiz — Python Basics
10-question quiz on Python’s role in security and core language basics
Opening
Python Basics — Module Quiz
Ten questions on why Python fits security work, variables, loops, functions, and files.
Knowledge Check
Python is popular in security mainly because it is:
Multiple choice
Knowledge Check
True or False: Unauthorized scanning is fine if your script is written in Python.
True or False
Knowledge Check
for port in ports: is an example of a:
Multiple choice
Knowledge Check
def banner(name): defines a:
Multiple choice
Knowledge Check
with open(path) as f: helps because:
Multiple choice
Knowledge Check
Select common security scripting tasks:
Select all that apply
Knowledge Check
True or False: Log hunting often filters lines with a substring check.
True or False
Knowledge Check
A safe learning target for network scripts is:
Multiple choice
Knowledge Check
open(path, "w") opens a file for:
Multiple choice
Knowledge Check
Best habit before scanning with your script?
Multiple choice
Answer all 10 knowledge checks to continue. (0/10 answered)