wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

AI and App Lab Quiz

Total questions: 26

Worksheet time: 13mins

Name
Class
Date
1.

If we want to train AI to classify fruits, which of these can be used as a “feature”?

a)

Apple, Banana, Orange

b)

Sweetness

c)

Fruit or Vegetable

d)

Tasty or Not

2.

In machine learning, what does “classification” mean?

a)

Predicting a number

b)

Sorting files into folders

c)

Predicting a category

d)

Making the graph bigger

3.

When classifying fruits vs vegetables in class activity, which two features were compared?

a)

Sweetness and easy to eat

b)

Color and size

c)

Shape and weight

d)

Expensive and cheap

4.

If a fruit’s data point is exactly on the dividing line of the graph, what should the model do?

a)

Ignore the fruit

b)

The model must still decide

c)

Put the fruit in both groups

d)

Ask a human to remove the data

5.

On the fruit/veggie graph, each point represents what?

a)

The dividing line

b)

A group of fruits

c)

A single fruit or vegetable

d)

The accuracy of the model

6.

Why is a line drawn on the fruit/veggie graph?

a)

To make the graph look nice

b)

To separate the data into two groups

c)

To connect all the points

d)

To show the biggest fruit

7.

If a fruit’s point is very close to the dividing line, why might the model struggle?

a)

The fruit is too big

b)

The data is missing

c)

The model may have a hard time deciding its category

d)

The model always ignores close points

8.

In shape recognition, which of these can be a feature for classifying shapes?

a)

Number of sides

b)

Color of the pen

c)

Size of the paper

d)

Name of the shape

9.

If we include too many features when training a model, what might happen to accuracy?

a)

It always becomes perfect

b)

It sometimes becomes less accurate

c)

It will have no effect

d)

It makes the model faster

10.

What is the main goal of Lesson 7 in App Lab?

a)

Learn how to draw shapes

b)

Learn how to import and use models in an app

c)

Learn how to code in Python

d)

Learn how to use spreadsheets

11.

What kind of app did students create in this lesson?

a)

A music playlist app

b)

A book recommendation app

c)

A calculator app

d)

A weather forecast app

12.

In App Lab, what is the purpose of the Design Mode?

a)

To test machine learning models

b)

To design screens and add UI elements

c)

To write only JavaScript code

d)

To install external apps

13.

Which block is used to respond to user actions like button clicks?

a)

setText()

b)

onEvent()

c)

getText()

d)

getPrediction()

14.

Which block allows you to display text on the screen?

a)

getText()

b)

setText()

c)

addPair()

d)

setScreen()

15.

What does the getText() block do?

a)

Collects text input from the user

b)

Predicts the result of a model

c)

Changes the color of the screen

d)

Imports a new survey

16.

What does the getPrediction() block do?

a)

Collects survey responses

b)

Makes a prediction using the model

c)

Adds a new screen

d)

Deletes old data

17.

What is the role of the addPair() function?

a)

To add a new event

b)

To collect user data as key-value pairs

c)

To add another screen

d)

To import external apps

18.

Why do we need to connect screens in an app?

a)

To allow users to navigate between parts of the app

b)

To make the code shorter

c)

To delete unused screens

d)

To increase accuracy of the model

19.

Which event block is used when a button is pressed?

a)

addPair()

b)

onEvent()

c)

setText()

d)

getPrediction()

20.

What type of data should be collected for a good prediction?

a)

Data that is related to the prediction goal

b)

Random survey questions

c)

Data about favorite sandwiches

d)

Data about the weather

21.

Why should we be careful about including gender in surveys for AI models?

a)

It is not allowed in App Lab

b)

It can introduce bias and stereotypes

c)

It always makes the model wrong

d)

It cannot be collected in Google Forms

22.

What happens when a model is imported into App Lab?

a)

A lot of pre-generated code appears

b)

The app deletes all old screens

c)

Only the teacher can use it

d)

The model disappears after 5 minutes

23.

Which block is used to switch between screens?

a)

setScreen()

b)

setText()

c)

getPrediction()

d)

addPair()

24.

What should students do if the instructions feel overwhelming?

a)

Quit the lesson

b)

Remember that many blocks are already familiar

c)

Delete all the code

d)

Only focus on the final prediction

25.

What is a Welcome Screen used for in the app?

a)

To import new data

b)

To greet the user when they first open the app

c)

To show coding instructions

d)

To test accuracy

26.

Why is this lesson important for understanding AI in apps?

a)

It shows how to play games in App Lab

b)

It demonstrates how data and models can be used in real apps

c)

It replaces the need for surveys

d)

It removes the need for coding