Networks: VLANs & User Account | 2025
Update with complete solutions.
What are the traits of Imperative/procedural programming? - answer-Focuses
on describing a sequence of steps to perform a task
What are the traits of Object-Oriented Programming (OOP)? - answer-Organize
code around objects, which encapsulate data and behavior.
What are the traits of Functional Programming? - answer-emphasizes the use
of functions and immutable data for computation.
What is the purpose of indentation in Python? - answer-To define blocks of
code
Why might a programmer use comments for 'Preventing Execution'? - answer-
To temporarily disable lines or blocks of code
What does this built in Python function do?: sorted() - answer-returns a sorted
list from an iterable
, What does this built in Python function do?: any(), all() - answer-checks if any
or all elements in an iterable are true
What does this built in Python function do?: map(), filter() - answer-applies a
function to elements or filters elements based on a function
What does this built in Python function do?: open(), read(), write() - answer-
handles file I/O operations
What does this built in Python function do?: dir() - answer-lists the names in
the current scope or attributes of an object
What does this built in Python function do?: help() - answer-provides help
information about an object or Python
What is the primary characteristic of Python variables? - answer-Variables are
created as soon as a value is assigned to them.
What are the 5 Variable name rules in Python? - answer-1. can only contain
letters, numbers, or an underscore.
2. MUST start with either a letter or underscore
3. Cannot start with a number
4. Cannot contain special characters.
5. Cannot be a Python keyword (such as: and, as, def, else, etc)