23205 C23-CCN–302
23205
BOARD DIPLOMA EXAMINATION, (C-23)
MARCH/APRIL—2026
DCCN – THIRD SEMESTER EXAMINATION
PYTHON PROGRAMMING
Time : 3 Hours ] [ Total Marks : 80
PART—A 3×10=30
Instructions : (1) Answer all questions.
(2) Each question carries three marks.
(3) Answers should be brief and straight to the point and shall
not exceed five simple sentences.
1. Define variable and give an example.
2. List any three built-in functions of Python?
3. What is the usage of pass statement in Python?
4. List out any three array methods.
5. Define default arguments and give an example.
6. What is list aliasing? Give an example.
7. List any three differences between list and tuple.
8. What is —init —() method?
9. List different modes in file opening.
10. List any three built-in exceptions.
/23205 1 [ Contd...
PART—B 10×5=50
Instructions : (1) Answer any five questions.
(2) Each question carries ten marks.
(3) Answers should be comprehensive and criterion for
valuation is the content but not the length of the answer.
11. Explain membership operator and identity operators supported by Python
with an example program.
12. Explain usage of IDLE for writing and executing the program.
13. Explain various conditional statements in Python with example.
14. Write a Python program to add two matrices using array.
15. What is package? Write steps to creating a package with simple program.
16. Explain dictionary comprehension with an example.
17. Explain all set operations.
18. (a) Explain multilevel inheritance.
(b) Write a program multilevel inheritance.
/23205 2 AA26/2(291)—PDF