Quiz
Lesson 5 Assignment
This quiz has question types that open in the usual player.
Questions in this quiz (3)
1What is NOT a required component of a simple Flask code fragment?
- Aimport statement
- BFlask constructor
- Cvariable
- Ddecorator
2Which application cannot be used for writing Python code?
- ANotepad++
- BWord
- CChrome
- DPyCharm
3The import statement "from flask import Flask" imports the module Flask from the [blank_start]package[blank_end] Flask. The Flask [blank_start]constructor[blank_end] "app = Flask(__name__) creates an [blank_start]instance[blank_end] of the Flask class. A [blank_start]decorator[blank_end] creates an association between the URL and the function that follows. The key word "def" after the decorator defines a [blank_start]function[blank_end] which is called by accessing the URL.
- Apackage
- Bconstructor
- Cinstance
- Ddecorator
- Efunction
Information
- Description
- Technical Documentation Quiz on Lesson 5 Assignment, created by Marcus Kesper on 25/03/2018.
- Author
- Marcus Kesper
- Language
- English
- Views
- 85
- Tags
- Rating
- No ratings yet Rate this quiz