JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY HYDERABAD B.Tech IV PYTHON PROGRAMMING Previous Question Paper (January/February - 2023 - R18)
Note: i) Question paper consists of Part A, Part B. ii) Part A is compulsory, which carries 25 marks. In Part A, Answer all questions. iii) In Part B, Answer any one question from each unit. Each question carries 10 marks and may have a, b as sub questions.
Part A
How does a computer run a python program?
Answer
A Python program is executed by the Python interpreter. The source code is first compiled into intermediate bytecode, which is then executed by the Python Virtual Machine (PVM).
Explain Running python commands using the REPL.
Answer
REPL stands for Read-Eval-Print Loop. It is an interactive shell where the user enters commands one by one; the interpreter reads the input, evaluates it, prints the result, and loops back to wait for the next command, making it ideal for testing snippets and debugging.
What is the sys module in Python?
Answer
Sign in to view the complete answer paper.
What is file object attribute in Python? Explain.
Answer
Sign in to view the complete answer paper.
What are regular expressions in Python?
Answer
Sign in to view the complete answer paper.
Explain the special symbols in Python.
Answer
Sign in to view the complete answer paper.
How to make a web browser in Python?
Answer
Sign in to view the complete answer paper.
Discuss the Web (HTTP) Servers.
Answer
Sign in to view the complete answer paper.
Which database is best for Python programming?
Answer
Sign in to view the complete answer paper.
Which is the best ORM for Python?
Answer
Sign in to view the complete answer paper.
Part B
What is Python? Explain the history of Python.
Answer
Sign in to view the complete answer paper.
Explain the Standard Type Built-in Functions.
Answer
Sign in to view the complete answer paper.
Discuss Python Objects in detail.
Answer
Sign in to view the complete answer paper.
List and explain the Other Built-in Types.
Answer
Sign in to view the complete answer paper.
Explain the Detecting and Handling of Exceptions.
Answer
Sign in to view the complete answer paper.
What type of object are SYS modules? Explain.
Answer
Sign in to view the complete answer paper.
Describe the Exceptions and the sys Module.
Answer
Sign in to view the complete answer paper.
Discuss the Thread Module and Threading Module.
Answer
Sign in to view the complete answer paper.
Explain how the global interpreter lock works.
Answer
Sign in to view the complete answer paper.
Write a Python program that creates a GUI with a textbox, Ok button, and Quit button. On clicking Ok, the text entered in the textbox is to be printed in Python shell; on clicking Quit, the program should terminate.
Answer
Sign in to view the complete answer paper.
Explain the reusable GUI components with classes.
Answer
Sign in to view the complete answer paper.
Give the differences between database programming and distributed database Programming.
Answer
Sign in to view the complete answer paper.
How many modules are there in Python? Explain.
Answer
Sign in to view the complete answer paper.
Explain the Object Relational Managers (ORMs).
Answer
Sign in to view the complete answer paper.