You are on page 1of 1

PWP CT2 QUESTION BANK

2 MARKS
1. Describe any two data conversion function.
2. Explain Local and Global variable.
3. Define class and object in python.
4. With neat example explain default constructor concept in Python.
5. List file operations in Python.
6. Describe mkdir() function.
7. Define Data Hiding concept? Write two advantages of Data Hiding.
8. State the use of read() and readline () functions in python file
handling.

4 MARKS
1. Write a program illustrating use of user defined package in python
2. Explain Module and its use in Python.
3. Explain Numpy package in detail.
4. Write a program to create class EMPLOYEE with ID and NAME and
display its contents.
5. Write a program to implement the concept of inheritance in python.
EXPLAIN also.
6. Design a class student with data members : name, roll no.,
department, mobile no. Create suitable methods for reading and
printing student information.
7. Write python program to read contents of abc.txt and write same
content to pqr.txt.
8. Write a program to show user defined exception in Python.

You might also like