AUTOMATION (WGU
D522)
[Document subtitle]
[DATE]
[COMPANY NAME]
[Company address]
, Certainly! Here are the questions numbered with their corresponding answers:
1. **What are the traits of Imperative/procedural programming?**
Focuses on describing a sequence of steps to perform a task.
2. **What are the traits of Object-Oriented Programming (OOP)?**
Organize code around objects, which encapsulate data and behavior.
3. **What are the traits of Functional Programming?**
Emphasizes the use of functions and immutable data for computation.
4. **What are the traits of Declarative Programming?**
Describes what the program should accomplish without specifying how to achieve it.
5. **What are the traits of Event-Driven Programming?**
Reacts to events and user actions, triggering corresponding functions.
6. **What are the traits of Logic Programming?**
Defines a set of logical conditions and lets the system deduce solutions.
7. **What does Python syntax refer to?**
The set of rules that dictate the combinations of symbols and keywords that form valid
Python programs.
8. **What is the purpose of indentation in Python?**
To define blocks of code.
9. **Why might a programmer use comments for 'Preventing Execution'?**