NEW
Font size
WorksheetsAI and App Lab Quiz
Total questions: 26
Worksheet time: 13mins
If we want to train AI to classify fruits, which of these can be used as a “feature”?
Apple, Banana, Orange
Sweetness
Fruit or Vegetable
Tasty or Not
In machine learning, what does “classification” mean?
Predicting a number
Sorting files into folders
Predicting a category
Making the graph bigger
When classifying fruits vs vegetables in class activity, which two features were compared?
Sweetness and easy to eat
Color and size
Shape and weight
Expensive and cheap
If a fruit’s data point is exactly on the dividing line of the graph, what should the model do?
Ignore the fruit
The model must still decide
Put the fruit in both groups
Ask a human to remove the data
On the fruit/veggie graph, each point represents what?
The dividing line
A group of fruits
A single fruit or vegetable
The accuracy of the model
Why is a line drawn on the fruit/veggie graph?
To make the graph look nice
To separate the data into two groups
To connect all the points
To show the biggest fruit
If a fruit’s point is very close to the dividing line, why might the model struggle?
The fruit is too big
The data is missing
The model may have a hard time deciding its category
The model always ignores close points
In shape recognition, which of these can be a feature for classifying shapes?
Number of sides
Color of the pen
Size of the paper
Name of the shape
If we include too many features when training a model, what might happen to accuracy?
It always becomes perfect
It sometimes becomes less accurate
It will have no effect
It makes the model faster
What is the main goal of Lesson 7 in App Lab?
Learn how to draw shapes
Learn how to import and use models in an app
Learn how to code in Python
Learn how to use spreadsheets
What kind of app did students create in this lesson?
A music playlist app
A book recommendation app
A calculator app
A weather forecast app
In App Lab, what is the purpose of the Design Mode?
To test machine learning models
To design screens and add UI elements
To write only JavaScript code
To install external apps
Which block is used to respond to user actions like button clicks?
setText()
onEvent()
getText()
getPrediction()
Which block allows you to display text on the screen?
getText()
setText()
addPair()
setScreen()
What does the getText() block do?
Collects text input from the user
Predicts the result of a model
Changes the color of the screen
Imports a new survey
What does the getPrediction() block do?
Collects survey responses
Makes a prediction using the model
Adds a new screen
Deletes old data
What is the role of the addPair() function?
To add a new event
To collect user data as key-value pairs
To add another screen
To import external apps
Why do we need to connect screens in an app?
To allow users to navigate between parts of the app
To make the code shorter
To delete unused screens
To increase accuracy of the model
Which event block is used when a button is pressed?
addPair()
onEvent()
setText()
getPrediction()
What type of data should be collected for a good prediction?
Data that is related to the prediction goal
Random survey questions
Data about favorite sandwiches
Data about the weather
Why should we be careful about including gender in surveys for AI models?
It is not allowed in App Lab
It can introduce bias and stereotypes
It always makes the model wrong
It cannot be collected in Google Forms
What happens when a model is imported into App Lab?
A lot of pre-generated code appears
The app deletes all old screens
Only the teacher can use it
The model disappears after 5 minutes
Which block is used to switch between screens?
setScreen()
setText()
getPrediction()
addPair()
What should students do if the instructions feel overwhelming?
Quit the lesson
Remember that many blocks are already familiar
Delete all the code
Only focus on the final prediction
What is a Welcome Screen used for in the app?
To import new data
To greet the user when they first open the app
To show coding instructions
To test accuracy
Why is this lesson important for understanding AI in apps?
It shows how to play games in App Lab
It demonstrates how data and models can be used in real apps
It replaces the need for surveys
It removes the need for coding
