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 web framework is commonly used for building web applications with complex business logic?

Flask

Django

Pyramid

Bottle


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

Django

Flask

Pyramid

FastAPI


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

json

xml.sax

xml.dom

None of the above


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

BeautifulSoup

Requests

PyYAML

None of the above


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

Django

Pygame

Flask

Pyramid


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

Flask

Django

Pyramid

Bottle


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

cssutils

cssparser

csslib

All of the above


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

sqlite3

MySQLdb

psycopg2

All of the above


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

Flask

Django

Pyramid

Bottle