menu

Python Web Development


1. Which Python module is commonly used for working with JSON in web development?

json

xml.sax

xml.dom

None of the above


2. Which Python web framework is commonly used for building web applications with complex business logic?

Flask

Django

Pyramid

Bottle


3. Which Python web framework is commonly used for building web applications with a simple and lightweight architecture?

Flask

Django

Pyramid

Bottle


4. Which Python module is commonly used for working with websockets in web development?

asyncio

requests

json

None of the above


5. Which Python module is commonly used for handling asynchronous tasks in web development?

asyncio

requests

json

None of the above


6. Which Python module is commonly used for working with HTML and XML files?

BeautifulSoup

Requests

PyYAML

None of the above


7. Which Python web framework is commonly used for building microservices?

Flask

Django

Pyramid

Bottle


8. Which Python web framework is commonly used for building web applications with a focus on security?

Flask

Django

Pyramid

Bottle


9. Which module in Python is used for sending HTTP requests and handling HTTP responses?

Requests

Urllib

HttpLib

Socket


10. Which of the following modules in Python is commonly used for handling regular expressions?

re

os

datetime

None of the above