NEW
Font size
WorksheetsFlask
Total questions: 11
Worksheet time: 2mins
What is the output of the Program?
HEllo World
Hello World
Page not Found
None of these
ModuleNotFoundError
None of these
Hello World
No error
Primary key is__________.
Nullable
Cannot update
Not unique
None of the above
command to install sqlalchemy
pip install Alchemy
pip3 install Alchemy
pip install flask-sqlalchemy
How data stored in database
In table
In file
Anywhere
Which extension is used to store flask app?
.py
.html
.sql
Jinja tag is written as
{% %}
{{ }}
Both answer are coorect
None of the Above
What is the default ip address for flask
127.1.1.1:5000
127.0.0.1:5000
127.1.0.0:5000
127.0.1.0:5000
Which of the following statements is true?
A class is blueprint for the object.
You can only make a single object from the given class
Both statements are true.
Neither statement is true.
What is the output for the given code
Python
line
Java
Java
Python
What does the __init__() function do in Python?
Initializes the class for use.
This function is called when a new object is instantiated.
Initializes all the data attributes to zero when called.
None of the above.
