Streamlit
Quiz
•
Professional Development
•
Professional Development
•
Easy

Ivy Professional School
Used 1+ times
FREE Resource
Enhance your content
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
Similar Resources on Wayground
10 questions
Gujarat State
Quiz
•
KG - Professional Dev...
12 questions
Week 16 - Primary Survey Recap
Quiz
•
University - Professi...
12 questions
LESSON 2B
Quiz
•
Professional Development
11 questions
Noom | Day 7 Billing
Quiz
•
Professional Development
13 questions
Anime 99
Quiz
•
9th Grade - Professio...
10 questions
Complete Recovery EQ DAY 2
Quiz
•
Professional Development
10 questions
INTELLIGENCE
Quiz
•
Professional Development
11 questions
6035 | Scientific Principles | LO4, 5, 6.
Quiz
•
Professional Development
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade