menu

Python Web Development


1. Which Python module is commonly used for working with email?

smtplib

email

imaplib

All of the above


2. Which Python module is commonly used for working with dates and times?

datetime

os

re

None of the above


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

asyncio

requests

json

None of the above


4. Which Python module is commonly used for working with web authentication and authorization?

Flask-Security

Django-Auth

Pyramid-Security

All of the above


5. Which of the following is NOT a commonly used data format for transmitting data over the web?

XML

JSON

YAML

PNG


6. 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.


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

Flask

Django

Pyramid

Bottle


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

Flask

Django

Pyramid

Bottle


9. Which Python web framework is commonly used for building real-time web applications?

Flask

Django

Tornado

Pyramid


10. Which Python module is commonly used for working with HTML in web development?

BeautifulSoup

lxml

html.parser

All of the above