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