And Practice Exam Questions and Verified Answers
100% Guarantee Pass
1. Python
Answer: interpreted programming language known for its simplicity, readability, and versatility
supports multiple programming paradigms, including procedural, object-oriented, and functional programming,
making it adaptable to ditterent coding styles.
2. Python is
Answer: readable
dynamically typed
extensive standard library
cross plat
versatile
interpreted nature
3. Programming Paradigm
Answer: a fundamental style or approach to programming that dictates how tasks should be structured
and executed in each programming language. It encompasses principles, concepts, and patterns that guide the design
,and organization of code.
4. imperative/procedural programming
Answer: focuses on describing a sequence of steps to perform a task, procedures or routines.
5. object-oriented programming (OOP)
Answer: organizes code around objects, which encapsulate data and behavior
6. functional programming
Answer: emphasizes the use of functions and immutable data for computation
7. declarative programming
Answer: describes what the program should accomplish without specifying how to achieve it
8. event-driven programming
Answer: reacts to events and user actions, triggering corresponding functions
9. logic programming
Answer: defines a set of logical conditions and lets the system deduce solutions
10. indentation
Answer: defines blocks of code. crucial for structure and nesting of code blocks
(4 spaces)
11. comments
Answer: #
, ignored by interpreter, for humans
12. Variable
Answer: used to store data, created by assigning a value to a name
13. Data Types
Answer: integers, floats, strings, lists, tuples, dictionaries
14. conditional statements
Answer: if, else, elif (else if)
15. Classes
Answer: (also objects) fundamental to object oriented programming in python.
16. print ()
Answer: used to output data to the console
print ("hello")
17. functions
Answer: defined using def
def greet(name)