Flask MCQ Questions

11. ______________ is used as a global namespace for holding any data during the application context.

A. Flask a object
B. Flask f object
C. Flask g object
D. Flask q object

View Answer


12. Forms in Flask can be implemented by using an extension called ?

A. Flask-ATF
B. Flask-WTF
C. Flask-GTM
D. Flask-ZIP

View Answer


13. The __________ decorator in Flask is used to bind URL to a function.

A. route()
B. rend()
C. read()
D. write()

View Answer


14. Which function takes up the floating point number as argument?

A. reverse()
B. show_blog()
C. route()
D. revision()

View Answer


15. Armin Ronacher created the Flask framework.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


16. The _________ method of request.cookies attribute is used to read a cookie.

A. read()
B. get()
C. set()
D. find()

View Answer


17. We can create an Admin interface in Flask using the Flask-Admin extension.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


18. To release a session variable use __________ method.

A. go()
B. pull()
C. pop()
D. explode()

View Answer


19. To integrate with Flask, we can make use of a Flask extension called Flask-Social.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


20. Which of the following provides SMTP interface to Flask application?

A. Flask Sijax
B. Flask SQLAlchemy
C. Flask WTF
D. Flask Mail

View Answer





Discussion


* You must be logged in to add comment.