Arrear Question Paper Python 3151
Arrear Question Paper Python 3151
:lo e R |
Question Paper Code : 60035
First Semester
Civil Bngineeri1g
PARTA--(10x2 20 mark8)
1. Write an algorithm to find smallest among three numbers.
2. Which is better iteration or recursion Justily your anéwer
PARTB ( 1 6 B0 mark8)
11. (a) Listout the control flow statements in P'ython and explain repetilion type
in detail with a sample progra
Or
(b) What is recursion? Wrile and oxplain n P'ython progr#m to findl fatorin
of number using recursion
12. (a) Why do we call python as
interpreted and
language? Also explain about object-oriented
Interactive Python programming
Or
Or
14. (a) Define Python Lists. How to add elements to the list?
suitable example program. Explain with a
Or