Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 2

USN

NMAM INSTITUTE OF TECHNOLOGY, NITTE


Off-Campus Centre of Nitte (Deemed to be University)
Fourth Semester B.Tech (CBCS) Degree Examinations
Academic Year: 2023-24
RI2005-1 – INTRODUCTION TO OBJECT ORIENTED PROGRAMMING
Duration: 3 Hours Max. Marks: 100
Note:
Part – A: Multiple Choice Questions: Answer all Twenty questions in the OMR Sheet provided.
Each question carries equal marks.
Part – B: Descriptive Answer Questions: Answer Five full questions choosing Two full questions
from Unit – I & Unit – II each and One full question from Unit – III.
PART - A: MULTIPLE CHOICE QUESTIONS 20 Marks
2O MCQs, each of 1 mark.

PART - B: DESCRIPTIVE ANSWER QUESTIONS


Note: Each main question carries 16 Marks, maximum sub questions up to 4 levels.

Unit – I Marks BT* CO* PO*


1. a) What is type casting? Explain the types of type casting
with example program.
7 L1 1 1
b) Explain types of loops in python with syntax, flowchart
and program. 9 L2 2 1

2. a) Develop a python program to implement dictionary


operations and methods. 8 L3 1 1
b) Develop a python program to find factorial of a number
using generators. 8 L3 2 1

3. a) Explain selection control statements in python with


example. 6 L2 1 1
b) Explain types of errors in python with example.
Demonstrate how to handle exceptions with program.
10 L2 2 1

Unit – II
4. a) Explain the different ways of importing math module in
python 8 L2 3 1
b) What are different types of inheritance? Explain with
suitable example. 8 L1 4 1

5. a) Explain polymorphism and data abstraction with program


example. 10 L2 3 1
b) Define the terms i) class ii) object iii) abstraction iv)
encapsulation v)inheritance vi) polymorphism 6 L1 4 1

6. a) What is package? Explain hierarchy of python package


with example. 8 L1 3 1
b) Develop a program to demonstrate data encapsulation in
python. 8 L3 4 1

Unit – III
7. a) List and explain Tkinter widgets
10 L4 5 1
b) Develop a python program to demonstrate event driven
programming. 6 L3 5 1

8. a) Explain three major geometry managers used to control


layouts. 6 L2 5 1
b) What is Tkinter? Explain the use cases of Tkinter. 5 L1 5 1
c) Develop a python Program to handle events with Tkinter. 5 L3 5 1

BT* Bloom’s Taxonomy, L* Level; CO* Course Outcome; PO* Program Outcome
*****************

You might also like