0% found this document useful (0 votes)
42 views2 pages

Python QP

This document outlines the examination structure for a Third Semester B.Sc. L.R.P. course on Python Programming, including sections with questions of varying marks. It includes questions on Python concepts such as identifiers, operators, loops, functions, and object-oriented programming. The exam consists of multiple sections with specific instructions on how to answer the questions.

Uploaded by

Nisha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views2 pages

Python QP

This document outlines the examination structure for a Third Semester B.Sc. L.R.P. course on Python Programming, including sections with questions of varying marks. It includes questions on Python concepts such as identifiers, operators, loops, functions, and object-oriented programming. The exam consists of multiple sections with specific instructions on how to answer the questions.

Uploaded by

Nisha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

D 31761 (Pages : 2) Name.

Reg. No...
THIRD SEMESTER (CBCSS-UG) DEGREE EXAMINATION
NOVEMBER 2022

Common Course for B.Sc. L.R.P. (Alternate Pattern)


A 11-PYTHON PROGRAMMING
(2019 Admission onwards)
Time : Two Hours and a Half Maximum : 80 Marks
Section A

Answer all questions.


Each question carries 2 mnarks.
Maximum ceiling 25 marks.
1. Give the rules for naming an identifier in Python.
2. What is the purpose not in operator in Python ?
3 What is the use of eval) function in Python ?
4.
Differentiate between input() and raw_input) functions in Python.
5. What is the difference between break and
continue statements in Python?
6. How will you create an infinite loop in
Python ?
7. What are lambda functions ?
8 What are keyword arguments in functions ?
9. Differentiate between built-in functions and
user-defined functions in Python.
10. What are sets in Python ?
11. How will you reverse a list in Python?
12. What do you mean by Python dictionary ?
13. What are destructors in Python ?
14. How will you rename a file in Python ?
15. What is the use of imnport statement in
Python ?
Section B
Answer all questions.
Each question carries 5 marks.
Maximum ceiling 35 marks.
16. List out the operator
precedence in Python.
17. Give an account on
arithmetic operators in Python.
Turn over
2 D 31761

18. Explain the variousdecision-making statements in Python.


19. Write aprogram to find the Least Common Multiple (LCM) of any two positive integer number
20. Explain while loop and while loop with else case with examples.
21. List the function and syntax any five string formatting functions in Python.
22. Explain the various modes for opening a file in Python.
23. What are the advantages of Object Oriented Programming ? Explain.
Section C

Answer anytwo questions.


Each question carries 10 marks.
24. A) Explain the salient features of Python programming language. (5 marks)
B) Describe the different ways of writing and executing of Python program. (5 marks)
25. Discuss the different argumert passing mechanism in Python with suitable examples.
26. Write a program to find the area and perimeter of a rectangle using class and objects.
27. What are mutable and immutable objects in Python ? Explain any two data types in each of this
calegory and its associated methods with examples.
[2 x 10 = 20 marks)

You might also like