Q1. How do you create an object from a class in Python? By calling a function By defining a variable By calling the class like a function By using the self keyword
Q2. What is an object in Python? A blueprint for a class A function of a class An instance of a class A method of a class
Q3. What is a class in Python? A real object A blueprint for objects A collection of methods A list of functions
Q4. What does object-oriented programming help with? Managing code Speed optimization Memory usage Code duplication
Q7. What is the purpose of exception handling in Python? Stop the program on error Program running despite errors Fix errors automatically Improve performance
Q8. What is a common debugging technique? Running code without changes Adding print statements Ignoring errors Running once only
Q9. What is debugging in programming? Writing new code Finding and fixing errors Testing performance Optimizing speed
Q10. What is integration testing? Test small code parts Code integration Bug fixing changes To user expectations