WWW Manaresults Co in

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

7639

C20-CM-WD–505
*
7639
BOARD DIPLOMA EXAMINATION, (C-20)

OCTOBER/NOVEMBER—2023

DCME – FIFTH 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. List applications of Python.

2. Write about If statement with an example.

3. Write the differences between For and While loop statements.

4. What is anonymous function?

5. Define Python Variable.


*
6. Define Aliasing.

7. Write the various basic list operations.

8. Define exception.

9. List different modes in file opening.

10. Define data abstraction.


*
/7639 1 [ Contd...

www.manaresults.co.in
PART—B 8×5=40

*
Instructions : (1) Answer all questions.
(2) Each question carries eight marks.
(3) Answers should be comprehensive and criterion for
valuation is the content but not the length of the answer.

11. (a) Explain various data types in Python with example.

(OR)

(b) List and explain different arithmetic operators supported by Python


and their precedence and associativity.

12. (a) Write a Python Program to check if number is positive, negative or


zero.

(OR)

(b) Explain various Loop statements with examples.

13. (a) Explain about Python Arrays.

(OR)

(b) Explain the creation of modules.

14. (a) Explain Tuple assignment.


* (OR)

(b) Write a Python Program to create dictionary, add element to


dictionary and delete element from the dictionary.

15. (a) Explain overriding methods with an example.

(OR)

(b) Explain Try except block in Python.

*
/7639 2 [ Contd...

www.manaresults.co.in
PART—C 10×1=10

Instructions :
*
(1) Answer the following question.
(2) The question carries ten marks.
(3) Answer should be comprehensive and the criterion for
valuation is the content but not the length of the answer.

16. Write a Python Program to multiply all numbers of a list and explain the
each statement.



*
/7639 3 AA23(048)–PDF

www.manaresults.co.in

You might also like