Document (4556

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

NILGIRI COLLEGE OF ARTS AND SCIENCE, THALOOR 14.

a) Define a Class with class in Python (OR)


MODEL EXAMINATION – Feb 2021 b) Explain about Get and Set attributes in Python.
PYTHON PROGRAMMING - I MSC CS
Time: 3 Hrs Marks : 75 15. a) Write a short note on Text String. (OR)
SECTION – A b) Explain about Structured Binary Files in Python.
Answer the following. (10x 1 = 10)
1. Define Tuples? SECTION – C
2. Define Dictionaries? Answer the following. (5 x 8 = 40)
3. Define Function definition?
4. Define modules in Python 16. a) Explain in detail about Tuples in Python. (OR)
5. What are the formats of structured text files? b) Explain in detail about Lists in Python.
6. What are the types of Inheritance used in Python?
7. Python has an interesting feature called _____ to add 17. a) Discuss in detail about the Conditional Branching
functionality to an existing code. statements used in Python with example. (OR)
8. Define Name Mangling in Python. b) Explain in detail about Generators and Decorators in
9. Define Instance in python. Python.
10. What are the alternative classifications of storage
representations in python? 18. a) Explain in detail about types of Inheritance in Python
(OR)
SECTION - B b) Explain in detail about Name Mangling in Python.
Answer the following. (5 x 5 = 25)
11. a) Explain about Number data types in python. (OR) 19. a) Explain in about override method and add a method in
b) Explain about Strings in python. Python. (OR)
b) Explain about relational databases in python.
12. a) Write a short note on Function Definition? (OR)
b) Describe Handling Exceptions in Python. 20. a) Describe storing and retrieving data in python. (OR)
b) Write a python programs to implement file operations.
13. a) Explain about modules and the import statement. (OR)
b) Explain about method types in Python.

You might also like