Streamlit

Streamlit

Professional Development

8 Qs

quiz-placeholder

Similar activities

Relationship B/W HT - HT & HT - Youth

Relationship B/W HT - HT & HT - Youth

Professional Development

10 Qs

The Hotel School

The Hotel School

Professional Development

12 Qs

i-LEAD 2

i-LEAD 2

Professional Development

10 Qs

October Office Day 2021

October Office Day 2021

Professional Development

11 Qs

IP FABRIC

IP FABRIC

Professional Development

12 Qs

Quiz 11

Quiz 11

Professional Development

10 Qs

PRIME HRM R&R and  National Disaster Resilience Month

PRIME HRM R&R and National Disaster Resilience Month

Professional Development

10 Qs

LUX- DAY 4

LUX- DAY 4

Professional Development

10 Qs

Streamlit

Streamlit

Assessment

Quiz

Professional Development

Professional Development

Easy

Created by

Ivy Professional School

Used 1+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You built a Streamlit app that uses OpenAI API. You hardcoded your API key inside app.py and deployed it. After a week, your API key got leaked and misused. What should you have done instead?

a) Keep using the same key, but restart the app

b) Store the API key in Streamlit’s Secrets Manager

c) Save the key in requirements.txt

d) Add the key to your README.md so collaborators can use it

Discover more resources for Professional Development