Font size
WorksheetsLesson 7 - Importing Models in App Lab
Total questions: 10
Worksheet time: 5mins
When importing the Class Book Recommender model, what menu do you open to manage AI models?
File → Import → AI Model
Settings → Manage Imports
Gear icon → Manage AI Models
Toolbox → Add Model Block
What model did you select to import from the list?
Movie Genre Predictor
Class Book Recommender
Weather Forecast Model
Animal Classifier
What did the lesson ask you to do after pressing “Import”?
Edit the model code
Press Run and test the app to verify it works
Delete the onEvent block
Add a new prediction label
According to the lesson, which line of code contains the *button press event*?
getPrediction("Class Book Recommender", …)
onEvent("ClassBookRecommender_predict","click",function(){
addPair(data,"animal",getText("animal_dropdown"));
setScreen("screen1");
Which function call actually sends the user’s answers to the model to get a recommendation?
setText()
getPrediction("Class Book Recommender","OV8kuQzp3Yuh",data,function(value){...});
addPair()
onEvent()
When updating your text design elements, which of these questions did you have to use? (Select ALL that apply)
Which animal do you like the most?
Which word best describes you?
Where would you prefer to spend your time?
How would you prefer to spend your time?
What was the purpose of selecting a theme in the “Improving the Style” level?
To add code blocks
To make the app more visually appealing using App Lab Themes
To import more data
To test the model
When creating the Home (Welcome) Screen, what ID were you instructed to assign to it?
homeScreen
welcomeScreen
startScreen
firstScreen
What code makes the “Next” arrow icon take the user from the Welcome Screen to the main app screen?
setProperty("nextIcon","hidden",false);
onEvent("nextIcon","click",function(){ setScreen("screen1"); });
playSpeech("Next");
onEvent("screen1","click",function(){ setScreen("welcomeScreen"); });
In the “Customize Your App” level, which of these were listed as *choice activities*? (Select ALL that apply)
Change fonts, colors, or borders
Add an image to the Welcome Screen
Add a sound when buttons are clicked
Open a library webpage button
Use playSpeech() to read text out loud
