computer-5-sem-computer-programming-using-python-v2-180853-2023
computer-5-sem-computer-programming-using-python-v2-180853-2023
SECTION-C SECTION-D
Note: Short answer type questions. Attempt any twelve Note: Long answer type questions. Attempt any two out of
questions out of fifteen questions. 12x5=60 three questions. 2x10=20
Q.21 Explain the various numeric data supported by Q.36 List and explain different relational and logical
Python in brief. (CO-4) operators of python. (CO-2)
Q.22 Explain the print function with two examples. Q.37 Explain the various types of parameters passing in
(CO-5) python. Justify your answer with sample programs.
Q.23 Differentiate between break and continue
statement. (CO-3) (CO-5)
Q.24 Differentiate between List and Tuples. (CO-4) Q.38 Describe inheritance and explain the various types
Q.25 Explain the advantages of using a function in of python inheritance with the help of suitable
Python programming. (CO-5) examples. (CO-9)
Q.26 Write a program in Python to check if a number is
prime or not. (CO-4) (Note: Course outcome/CO is for office use only)
Q.27 Explain the nesting of loops in python with example.
(CO-3)