menu

Python Web Development


1. Which Python module is commonly used for parsing XML in web development?

xml.dom

xml.sax

xml.etree.ElementTree

All of the above


2. Which Python module is commonly used for working with websockets?

asyncio

requests

json

None of the above


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

Flask

Django

Pyramid

Falcon


4.

Which framework is commonly used for building web applications in Python?

Django

Flask

Pyramid

All of the above


5. Which of the following is NOT a web framework for Python?

Django

Pygame

Flask

Pyramid


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

Flask

Django

Pyramid

Bottle


7. Which of the following is an advantage of using Python for web development?

Python has a large and active community of developers.

Python is easy to learn and use.

Python has a vast selection of libraries and frameworks.

All of the above.


8. Which Python module is commonly used for working with web testing and debugging?

unittest

pytest

doctest

All of the above


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

Requests

Urllib

HttpLib

Socket


10. Which of the following is NOT a commonly used web development protocol?

HTTP

HTTPS

SMTP

FTP