Search Header Logo

Flask Unit 1 - 8

Authored by Steven Mochengo

Computers

1st - 5th Grade

Used 3+ times

Flask Unit 1 - 8
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is Flask?

A video game engine

A micro web framework in Python

A kind of drink

A music app

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one is true about how the Web works?

The server only sends games to the client

The client sends requests and the server sends responses

The client is always offline

The server never sends anything unless asked

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What command starts a simple Flask “Hello, World!” app?

app.run()

start.web()

hello.world()

flask.boot()

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why do we choose Flask for small apps?

Because it has lots of built-in heavy features

Because it’s very big and complex

Because it’s lightweight and simple to use

Because it doesn’t require Python

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What file is commonly used to write a Flask app?

hello.java

app.py

style.css

index.html

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does a “route” in Flask do?

It cooks food

It defines a URL path so browser can reach a function

It paints pictures

It stores cookies

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you capture part of a URL in Flask?

Using /

Typing name in the browser title bar

Saving name in CSS

Using loadNameFromUrl()

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?