Search Header Logo

Ball Movement Control Quiz

Authored by TIAGO CARBONERA

Mathematics

1st Grade

Used 1+ times

Ball Movement Control Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function is used to control the movement of a ball based on the mouse position?

map()

draw()

move()

circle()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the movement area for the ball according to the code?

The ball can move freely on the entire screen.

The ball only moves between coordinates 130 and 170 on both X and Y axes.

The ball moves on the entire Y axis but is limited on the X axis.

The map() function only defines the size of the circles, not their positions.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the circle() function do in the code?

It changes the color of the ball.

It draws the ball at the specified position.

It makes the ball disappear.

It increases the size of the ball.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which axis is the ball's movement limited to according to the code?

X axis

Y axis

Both X and Y axes

Neither axis

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of using the map() function in the code?

To change the color of the ball.

To control the ball's movement based on mouse position.

To make the ball bounce.

To stop the ball from moving.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the function `createCanvas(400, 400)` do in the code?

It creates a circle.

It sets the background color.

It creates a drawing area of 400 by 400 pixels.

It changes the color of the circle.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `map()` function in the code?

To draw a circle.

To adjust the color based on the mouse position.

To set the background color.

To create a canvas.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?