RollNo. Total No.
of Pages:
2C8125
3
2C8125
-
MCA
I- Sem. (Main) Exam., - 2022
MCA 205 Python Programming
Time: 3 Hours Maximum Marks: 70
Instructions to Candidates:
Afempt all ten questions fromPart A. Allfive questions from Part B and three
questions out of five questions from Part C.
Schematic diagrams must be shown wherever necessary. Any data you
feel
missing may suilably be assunmed and stated clearly. Units of quantities
used lcalculated must be stated clearly.
Use of following supporting naterial is permitted during examination.
(Mentioned in forn No. 205)
1. NIL 2. NIL
PART - A
(Answer should be given up to 25 words only) (10x2=20]
All questions are compulsory
Q.1 Write name of any two Python editors (IDE).
Q.2 What is the output of print str[2:S] if str='Hello World'?
Q.3 What do you mean by Dicionary in Python?
Q.4 What is list?
Q.5 What is Inheritance?
Q.6 What do you mean by construcior in Python?
[2C8125] Page 1 of 3
[780)
htps://www.rtuonline.com
Q7 What is Regular Expression?
Q.8 Whal are exceptions in Pytbon?
Q.9 Define multithreading.
Q.10What are Python Modules?
PART - B
(Analytical/Problem solving questions) (5x4=20]
Attempt all five questions (Word limit 100)
Q.1 Explain different data types supported by python.
Q.2 What is Indexing and Negative Indexing in Tuple?
Q.3 Designa clas student that store the information of a student and displays the same.
Q4 Examine bow Python supports Regular expressions through 're' module with brief
introduction and various built in methods related to it.
Q.5 Explain briefly about thread and threading module objects in python.
PART -C
(Descriptive/AnalyticalProblem Solving/Design Questions) (3x10=30]
Attempt any three questions
with example.
Q.1 Describe the syntax for the following in-built functions and explain
.
(Any five)
(a) abs(0 (b) len ()
(c) any ( ) (d) ord ()
(e) chr () () pow()
Page 2 of 3 [780]
(2c8125]
https://www.rtuonline.com
Q.2 Explain the purpose of loop statement in a programming language. With the help of suitable
example describe the syntax and semantics of any three loop statements provided by
Pyhon.
Q.3 Explain in detail about python files, its types, functions and operations that can be
performed on files with examples.
Q.4 Explain Exception Handling Mechanism in Python. Write a python program to accept an
integer number and catch the exception if a floating point number is entered.
Q.5 Explin in detail about database connectivity in Python. Write a python, program to create
a table and insert some records in that table, finally select all rows from the table and display
the records.
https://www.rtuonline.com
Whatsapp @ 9300930012
Send your old paper& get 10/
Paytm or Google Pay
[2C8125] Page 3 of 3 (780]
https://www.rtuonline.com