menu

Python Web Development


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

HTTP

HTTPS

SMTP

FTP


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

xml.dom

xml.sax

xml.etree.ElementTree

All of the above


3. Which Python module is commonly used for working with HTTP requests in web development?

requests

urllib

httplib

All of the above


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

BeautifulSoup

lxml

html.parser

All of the above


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

json

xml.sax

xml.dom

None of the above


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

Flask-Security

Django-Auth

Pyramid-Security

All of the above


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

Flask

Django

Pyramid

Falcon


8. Which Python module is commonly used for working with databases in web development?

sqlite3

MySQLdb

psycopg2

All of the above


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

Django

Pygame

Flask

Pyramid


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

Requests

Urllib

HttpLib

Socket