Define file handling in Python. List types of files with examples
[3 marks]Explain the use of seek() and tell() methods with an example.
[4 marks]Discuss the role of regular expressions in Python for text processing. Write a sample code using re.search().
[7 marks]What is a binary file? Explain reading and writing operations with code.
[3 marks]Describe the 'with' statement. How does it improve file handling in Python?
[4 marks]Explain quantifiers and special characters used in Regular Expressions with examples.
[7 marks]Discuss the use of datetime and timedelta modules for date arithmetic with an example.
[7 marks]What are deadlocks in threads? Explain with example.
[3 marks]Describe how to plot a histogram and a pie chart using Matplotlib.
[4 marks]Explain data visualization in Python using PyLab with an example.
[7 marks]Explain different types of plots available in Matplotlib.
[3 marks]Create a line graph that plots monthly sales from a CSV file.
[4 marks]How can data visualization enhance data interpretation? Give an example.
[7 marks]What is database connectivity?
[3 marks]Explain the process of connecting Python with MySQL.
[4 marks]Write Python code to insert and update records in a MySQL database.
[7 marks]Explain how to retrieve and delete data from MySQL using Python.
[3 marks]How are tables created in a database using Python?
[4 marks]Discuss exception handling during database operations. Page 1 of
[2 marks]Define data wrangling and its importance in data science.
[3 marks]Explain the concept of the 'hashing trick' in Scikit-learn.
[4 marks]Discuss multiprocessing in Python and its role in improving data wrangling performance.
[7 marks]Explain how to perform deterministic selection using Scikit-learn.
[3 marks]Describe the working of the timeit module and its application in benchmarking.
[4 marks]Explain how data wrangling supports machine learning pipelines. Page 2 of
[2 marks]