Code No: 864AA
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
--- Content provided by FirstRanker.com ---
R19
MCA IV Semester Examinations, March/April - 2022
PYTHON PROGRAMMING
Time: 3 Hours Max.Marks:75
--- Content provided by FirstRanker.com ---
Answer any five questions
All questions carry equal marks
-  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]
 1) cmp() ii) repr() iii) str() iv) type() v) isinstance()
-  a) Demonstrate the concept of implicit and explicit conversion. 
 b) Summarize various string built-in-functions briefly. [7+8]
-  Explain the following file system built-in functions with illustrative examples: [15] 
 a) stat() b) access() c) chmod() d) umask()
-  a) State the advantages of using modules in programming. --- Content provided by FirstRanker.com --- 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]
- What are regular expressions? Examine how Python supports regular expressions through ‘re’ module. [15]
-  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.
 1) start_new_thread() ii) allocate_lock() iii) acquire() [6+9]
- What are the core urlparse module functions used to manipulate url strings? Give a detail description of each function/method. [15]
- What is the need of Object-Relational Managers? Explain in detail about python ORM SQLAIchemy basic feature with an example application. [15]
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
--- Content provided by FirstRanker.com ---
This download link is referred from the post: JNTUH MCA 4th Sem Last 10 Years 2023-2013 Question Papers R20-R09 || Jawaharlal nehru technological university
