You are on page 1of 1

GALGOTIAS UNIVERSITY

SCHOOL OF COMPUTING SCIENCE AND ENGINEERING


MCA III SEMESTER

Assignment-4(UNIT4 AND UNIT5)


Q1. Explain the difference between synchronous and asynchronous HTTP requests in Python.
Q2. What is a web crawler, and how does it differ from web scraping?
Q3. What is websockets, and how do you use Python to implement a websocket client or
server?
Q4. How can you send emails using Python? Provide an example using a popular library.
Q5. What are some methods to monitor the performance and availability of internet
services using Python?
Q6. Explain the process of parsing HTML content using Python and its applications in web
client programming.
Q7. Describe how a web crawler works and its benefits in extracting information from
websites.
Q8. Create a Python script that uses the DJANGO framework to build a RESTful API for
retrieving and updating product information in a database.
Q9. Write a Python function that makes a DELETE request to a RESTful API endpoint to
delete a specific user record from a database.
Q10. Write a Python function that makes a POST request to a RESTful API to create a new
user using JSON data.
Q11. Analyze the advantages and disadvantages of using Object-Relational Mapping (ORM)
libraries in Python for database connectivity. Provide examples of commonly used ORM
libraries.

You might also like