Save
What are the traits of Focuses on describing a sequence of steps to
Imperative/procedural perform a task
programming?
What are the traits of Object- Organize code around objects, which encapsulate
Oriented Programming (OOP)? data and behavior.
What are the traits of Functional emphasizes the use of functions and immutable
Programming? data for computation.
What are the traits of Declarative describes what the program should accomplish
Programming? without specifying how to achieve it.
What are the traits of Event-Driven Reacts to events and user actions, triggering
Programming? corresponding functions.
What are the traits of Logic defines a set of logical conditions and lets the
Programming? system deduce solutions.
What does Python syntax refer to? The set of rules that dictate the combinations of
symbols and keywords that form valid Python
programs
, What is the purpose of indentation in To define blocks of code
Python?
Why might a programmer use To temporarily disable lines or blocks of code
comments for 'Preventing
Execution'?
What is the primary use of To define the structure and hierarchy of the code
whitespace in Python?
What does Python use to define the Indentation
scope of control flow statements
and structures like functions and
classes?
What is the purpose of the input() To capture user input and store it as a string
function in Python?
What does the format() method do in It enhances output formatting by embedding
Python? variables in strings. (although 'f' strings are easier
to read)
What is the purpose of the Code To provide a text editor designed for Python,
Editor in a Python IDE? offering features like syntax highlighting, code
completion, and indentation.
What does this built in Python outputs text or variables to the console
function do?: print()
What does this built in Python reads user input from the console
function do?: input()