Pergunta de entrevista da empresa Shadowfax Technologies

Explain the difference between deep copy and shallow copy in Python. When would you use each? What is the purpose of the __init__ method in Python classes? How does exception handling work in Python? Provide examples of using try, except, and finally. What is an index in a database, and how does it improve query performance? Explain the difference between UNION and UNION ALL in SQL.