Search Header Logo

Streamlit

Authored by Ivy Professional School

Professional Development

Professional Development

Used 3+ times

Streamlit
AI

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.

OPEN ENDED QUESTION

3 mins • Ungraded

Enter your Fullname

Evaluate responses using AI:

OFF

2.

OPEN ENDED QUESTION

3 mins • Ungraded

Enter your Student ID

Evaluate responses using AI:

OFF

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to run a Streamlit app locally?

python app.py

streamlit run app.py

run streamlit app.py

streamlit run app.ipynb

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You built a Streamlit app on your laptop. When you run it, the URL shows http://localhost:8501. What does this mean?

The app is live on the internet

The app is only accessible on your computer

The app is running on GitHub

The app is deployed on Streamlit Cloud

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we need a requirements.txt file in the GitHub repository before deploying to Streamlit Cloud?

To describe the project purpose

To list Python packages needed for the app

To add images to the app

To create the app URL

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You want your Streamlit app to be accessible to your classmates with just a link. Which of the following is the correct workflow?

Run app locally → Share localhost:8501 link

Upload app to GitHub → Deploy on Streamlit Cloud → Share .streamlit.app link

Only share the .py file

Run streamlit deploy app.py on your terminal

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Your Streamlit app uses the google-generativeai library, but you forgot to add it to requirements.txt. What will happen when you deploy?

The app will still run because Streamlit installs pandas by default

The app will crash with “ModuleNotFoundError: No module named google-generativeai'”

GitHub will automatically fix the issue

The app will show a blank page

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?

Discover more resources for Professional Development