
Flask Quiz
Authored by Joseph Maxwell
Computers
9th - 12th Grade
Used 15+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the proper decorator for a route in Flask?
@approute("/")
approute@("/")
@pp.route('/')
@app.route("/")
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How is it possible to pass values from Python to HTML templates?
render_template("file.html", item=value)
rendertemplate(item=value, "file.html")
render_template("file.html", item:value)
render_template("file.html", item, value)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is it possible to use a passed variable in an HTML template?
{ var_name }
{{ var_name }}
{[ var_name ]}
{% var_name %}
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following will properly route a function for url.repl.co/go
@app.route(go/)
@app.route("go")
@app.route("/go")
@app.route("go/"
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a proper link to a function with route @app.route("/this-page")?
<a href="this-page">This</a>
<a href="/this_page">This</a>
<a href="/this-page">This</a>
<a>/this-page</a>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Template HTML files must be placed in which folder?
static
html
main
templates
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
CSS files must be placed in which file?
static
templates
main
style
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
11 questions
Types of Mass Media
Quiz
•
10th Grade - Professi...
10 questions
วิทยาการคำนวณ: การสืบค้น
Quiz
•
10th Grade
10 questions
Sistema Operativo Android
Quiz
•
9th - 12th Grade
10 questions
JavaScript 3 baco med
Quiz
•
12th Grade
10 questions
Үй жұмысы 10 сынып
Quiz
•
10th Grade
13 questions
Pengenalan Aplikasi Blender
Quiz
•
11th Grade
10 questions
MS word
Quiz
•
11th Grade
12 questions
1.2.4. Types of Programming Language
Quiz
•
12th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade