Download JNTUH MCA 4th Sem R19 2022 March-April 864AA Python Programming Question Paper

Download JNTUH (Jawaharlal nehru technological university) MCA (Master of Computer Applications) 4th Sem (Fourth Semester) Regulation-R19 2022 March-April 864AA Python Programming Previous Question Paper


R19

Code No: 864AA















JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD

MCA IV Semester Examinations, March/April - 2022

PYTHON PROGRAMMING

Time: 3 Hours















Max.Marks:75

Answer any five questions

All questions carry equal marks

- - -


1.a)

What are the various ways of quoting strings in python? Explain how to read strings from
user and print them with an illustrative python program.

b)

Illustrate the following built-in-functions in python:







[5+10]



i) cmp()

ii) repr()

iii) str()

iv) type()

v) isinstance()





2.a)

Demonstrate the concept of implicit and explicit conversion.



b)

Summarize various string built-in-functions briefly.







[7+8]



3.

Explain the following file system built-in functions with illustrative examples:

[15]



a) stat()

b) access()

c) chmod()

d) umask()


4.a)

State the advantages of using modules in programming.

b)

Write a python program to raise division-by-zero exception and explain how to handle
using python exception handling mechanism in detail.







[5+10]


5.

What are regular expressions? Examine how Python supports regular expressions through
`re' module.

















[15]



6.a)

What are threads and processes? How is a thread different from a process?

b)

Explain the following `tHRead' module functions in detail with example codes in python.



i) start_new_thread()

ii) allocate_lock()

iii) acquire()



[6+9]



7.

What are the core urlparse module functions used to manipulate url strings? Give a detail
description of each function/method.











[15]


8.

What is the need of Object-Relational Managers? Explain in detail about python ORM
SQLAlchemy basic feature with an example application.





[15]





---oo0oo---

This post was last modified on 17 March 2023