Unit-1
1. Explain break and continue statement with the help of for loop
[Link] the syntax and flow chart of the following loop statements
(i) for loop
(ii) while loop
[Link] a program to find the largest among three numbers
[Link] is a flow control statement?. Discuss if and if else statements with
flow chart
[Link] a python program to add n numbers accepted from the user
[Link] list and dictionary data structure with example for each
[Link] a python program to accept n numbers and store them in a list. Then
print the list without ODD numbers in it
[Link] the terms with example: (i) class (ii) objects (iii) instance variables
[Link] a Time class with hour, min and sec as attributes. Demonstrate how class and objects
[Link] the various operators in python.
[Link] the difference between logical and bitwise operator.
12 Give the reserved words in Python.
13 Give the operator precedence in python.
Unit-2
11 Define the scope and lifetime of a variable in python.
12 Point out the uses of default arguments in python.
13 Generalize the uses of python module.
14 Demonstrate how a function calls another function.
15 List the syntax for function call with and without arguments.
16 Define the syntax for passing arguments.
[Link] is the lambda function? Explain with an example of addition of two
numbers
[Link] various methods of importing modules in Python programs.
[Link] a python function to convert degree Fahrenheit to Celsius
Unit-3
[Link] a syntax for Handling Exceptions with example
i try
ii try-except
iii try-except-else
iv try-except-else-finally
[Link] to create user defined exception in python with an example
[Link] about reading and writing files in python
24. State the use of parameter “self” in python class
25. Write a program to demonstrate parameterized constructor in base class and derived
Class
26. Explain inheritance in python with example.
27. State the use of read() and readline() function in python file handling mechanism
28. Explain following python functions:
i. getcwd()
ii. mkdir()
iii. chdir()
iv. listdir()
29. Discuss four file modes in python with examples
Unit-4
[Link] different ways in which a Dataframe can be created using Pandas
[Link] applications of Matplotlib and Seaborn libraries in Python
26. Differentiate Numpy and Pandas
[Link] with an example, how to rename or delete File or Directory
[Link] read_csv and read_excel function in pandas with example
[Link] a line chart to visualize a data set of your choice and give the
detailed explanation of observations from chart
[Link] a program in Python for creating a Histogram and Scatter Plot