wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 7 - Importing Models in App Lab

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

When importing the Class Book Recommender model, what menu do you open to manage AI models?

a)

File → Import → AI Model

b)

Settings → Manage Imports

c)

Gear icon → Manage AI Models

d)

Toolbox → Add Model Block

2.

What model did you select to import from the list?

a)

Movie Genre Predictor

b)

Class Book Recommender

c)

Weather Forecast Model

d)

Animal Classifier

3.

What did the lesson ask you to do after pressing “Import”?

a)

Edit the model code

b)

Press Run and test the app to verify it works

c)

Delete the onEvent block

d)

Add a new prediction label

4.

According to the lesson, which line of code contains the *button press event*?

a)

getPrediction("Class Book Recommender", …)

b)

onEvent("ClassBookRecommender_predict","click",function(){

c)

addPair(data,"animal",getText("animal_dropdown"));

d)

setScreen("screen1");

5.

Which function call actually sends the user’s answers to the model to get a recommendation?

a)

setText()

b)

getPrediction("Class Book Recommender","OV8kuQzp3Yuh",data,function(value){...});

c)

addPair()

d)

onEvent()

6.

When updating your text design elements, which of these questions did you have to use? (Select ALL that apply)

a)

Which animal do you like the most?

b)

Which word best describes you?

c)

Where would you prefer to spend your time?

d)

How would you prefer to spend your time?

7.

What was the purpose of selecting a theme in the “Improving the Style” level?

a)

To add code blocks

b)

To make the app more visually appealing using App Lab Themes

c)

To import more data

d)

To test the model

8.

When creating the Home (Welcome) Screen, what ID were you instructed to assign to it?

a)

homeScreen

b)

welcomeScreen

c)

startScreen

d)

firstScreen

9.

What code makes the “Next” arrow icon take the user from the Welcome Screen to the main app screen?

a)

setProperty("nextIcon","hidden",false);

b)

onEvent("nextIcon","click",function(){ setScreen("screen1"); });

c)

playSpeech("Next");

d)

onEvent("screen1","click",function(){ setScreen("welcomeScreen"); });

10.

In the “Customize Your App” level, which of these were listed as *choice activities*? (Select ALL that apply)

a)

Change fonts, colors, or borders

b)

Add an image to the Welcome Screen

c)

Add a sound when buttons are clicked

d)

Open a library webpage button

e)

Use playSpeech() to read text out loud