Do as Directed.
[7 marks]Module ii) Pandas iii) IDLE stands for______ iv) What is the purpose of the head() method in a Pandas DataFrame?
[ marks]What is quantifier? vi) What distinguishes a function from a method in Python? vii) tail()
[ marks]What is an object in Python? How does Python's object-oriented programming differ from procedural programming? Illustrate with an example.
[7 marks]Explain the concept of iteration in Python. Write a program to print the Fibonacci series of 1 to 50 numbers using for loop.
[7 marks]What are list comprehensions in Python? How do they differ from for loops? Show a code snippet that creates a list of squares for numbers 1 to 10.
[7 marks]What is a recursive function? Illustrate its principles with an example.
[7 marks]Explain lambda functions in Python with an example. Discuss their use with map(), filter(), and reduce() functions.
[7 marks]Write a Python function to check if a given string is a valid URL using regular expressions.
[7 marks]Write a Python program to count lines, words, and characters in a text file.
[7 marks]Differentiate between a function and a method. Illustrate the describe() method with an example.
[7 marks]Define inheritance in OOP. Create a base class Animal with a speak() method, and derive Dog and Cat subclasses that implement speak() differently. Provide a code example.
[7 marks]What are the different operations can be performed on DataFrames?. Discuss operations like filtering, grouping, and aggregating data with example.
[7 marks]Explain given function of pylab library with suitable examples. 1.figure(), 2. plot(), 3.savefig(), 4.title(), 5.xlabel(), 6.ylabel(), 7. legend()
[7 marks]What is Data frame? How it’s used in python discuss with appropriate example.
[7 marks]What is Data visualization? Explain Pie Chart with Example.
[7 marks]What is database adapter? Write a Python program to perform insert update and delete operations with the given table: (employee (EMP_ID, EMP_NAME, EMP_PROJECT)).
[7 marks]What is Regular Expression? Explain re module to perform basic regex operations such as searching and matching patterns in strings.
[7 marks]Create a Python program that uses the object-oriented paradigm to calculate and display simple interest and compound interest on a chart using PyLab. Highlight the differences between the two.
[7 marks]