menu

Python Web Development


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

Django

Flask

Pyramid

FastAPI


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

requests

urllib

httplib

All of the above


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

HTTP

HTTPS

SMTP

FTP


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

re

os

datetime

None of the above


5. Which of the following is NOT a commonly used Python web server?

Apache HTTP Server

Gunicorn

Nginx

Tomcat


6. Which Python module is commonly used for working with CSS in web development?

cssutils

cssparser

csslib

All of the above


7. Which of the following modules in Python is commonly used for working with databases?

SQLAlchemy

PyMongo

Django ORM

All of the above


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

XML

JSON

YAML

PNG


9. Which Python module is commonly used for working with HTML forms?

Flask-WTF

WTForms

Django Forms

All of the above


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

xml.dom

xml.sax

xml.etree.ElementTree

All of the above