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