RegNo : ___________________________
MOTHER TERASA COLLEGEOF ARTS AND
SCIENCE-METTUSALAI. ANSWER ALL QUESTIONS (5×2=10)
11. Recite modules?
(For candidates admitted from 2024-2027 12. What is package?
onwards) 13. Explain directory?
14. What is Data hiding?
PROGRAMMING IN PYTHON 15. What is inheritance?
Sub code: 22SCCCS3 PART – B(2×5=10)
Computer Science – CIA IITEST
II. ANSWER ALL QUESTIONS, USING
Time : Two hours EITHER (a) OR (b)
Maximum : 50 Marks 16. a) What is polymorphism? Explain it
with example?
Part -A(10×1=10)
(or)
b) What is class? How to create a class in
CHOOSE THE CORRECT ANSWER
FILL IN THE BLANKS Python?
1. Which one is used for nested directories 17. a) How to locating modules in Python?
a) mkdir b) makedirs (or)
c) makedir d) none of these b) ) Give a short note on file handling with
2. Which is used to assign unique name to a example?
object. PART - C (2×10=20)
a) Namespace b) dir() III. ANSWER ANY TWO QUESTIONS
c) reload() d) import 18. Briefly explain about oops concepts?
3. OOPS concept based on __. 19. Briefly explain about built-in modules?
a) polymorphism b) Encapsulation 20.Explain about name spaces with
c) Inheritance d) Above all example?
4. Which keyword is used to for define a
class.
a) def b) _ init _
c) class d) None of these PREPARED BY APPROVED BY
5. Occurrences of something in multiple [ SHEEBA A ]
forms is called _.
a) Polymorphism b) Inheritance
c) Encapsulation d) Abstraction
6. __ is allows us to define a class that
inherits all the methods and properties from
another class
7. ___ is a blue print for creating objects.
8. Finding the directory from which the
module is imported is known as __.
9. cwd stands for __.
10. __ is used to re import a previously
imported module without restarting the
Python interpreter.