wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Basketball Game Quiz

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

What is the main objective of this basketball game?

a)

To perform double jumps on platforms

b)

To throw a basketball through a moving hoop

c)

To collect bonus items for extra points

d)

To race against a timer

2.

Which creator is presenting this tutorial?

a)

Mark Rober

b)

Al Sweigart

c)

James Lee

d)

John Doe

3.

What additional element does this game include compared to the double jump demo?

a)

A moving background

b)

A basketball that can be thrown

c)

Extra enemies

d)

Power-ups

4.

What is unique about the basketball in the game?

a)

It is used to jump over obstacles

b)

It is thrown through a hoop that moves around

c)

It is the only object that changes color

d)

It serves as the main character

5.

What is the first step Al instructs when starting the project?

a)

Load a pre-made backdrop

b)

Click on the Create button to start the Scratch editor

c)

Import a custom sprite

d)

Immediately code the jumping animation

6.

Which previous demo does Al mention that the basketball game’s code resembles?

a)

The Maze Runner demo

b)

The double jump demo

c)

The color wheel demo

d)

The optical illusion demo

7.

What basic movement does the game code include for the cat?

a)

Sliding on walls

b)

Moving left/right with a walking animation and jumping

c)

Flying with jetpacks

d)

Teleporting across the stage

8.

Which event block is used first in the cat’s movement code?

a)

When key pressed

b)

When green flag clicked

c)

When space key pressed

d)

When backdrop switches

9.

How does the code detect leftward movement?

a)

By checking for the left arrow key press

b)

By sensing the mouse pointer

c)

By checking for the “A” key

d)

By using a random generator

10.

What is the primary action performed when the left arrow key is pressed?

a)

The cat rotates 90° clockwise

b)

The cat faces left and moves 10 steps

c)

The cat jumps

d)

The cat switches costumes without moving

11.

What does Al use to ensure the walking animation appears?

a)

A “switch costume” block from the purple Looks category

b)

A “glide” block from the Motion category

c)

A “hide” block from the Control category

d)

A “broadcast” block from the Events category

12.

How is the rightward movement code created?

a)

By writing new code from scratch

b)

By duplicating the leftward code and modifying key assignments

c)

By using a “mirror” block

d)

By reversing the walking animation

13.

What adjustment is made to the sprite’s rotation style?

a)

Set to “all around”

b)

Set to “left-right” so the cat always stays upright

c)

Set to “no rotation”

d)

Set to “90-degree increments”

14.

Which variable is created to implement gravity?

a)

Gravity Force

b)

Cat Falling Speed

c)

Jump Strength

d)

Fall Timer

15.

What condition is checked to prevent the cat from falling past the ground?

a)

If the cat’s y position is greater than 0

b)

If the cat’s y position is less than –130

c)

If the cat’s x position is less than –240

d)

If the cat’s rotation is too high

16.

When the cat’s y position is below ground level, what happens?

a)

The cat disappears

b)

The cat’s y position is reset to –130 and falling speed is set to zero

c)

The cat bounces up

d)

The cat’s costume changes

17.

How is the cat’s falling speed applied to its movement?

a)

By setting the y position directly

b)

By changing y by the current value of cat falling speed

c)

By using a glide block

d)

By switching costumes

18.

Under what condition is the cat allowed to jump?

a)

Only when the cat is in midair

b)

Only when the cat’s y position is exactly –130

c)

Anytime the up arrow is pressed

d)

Only when the score is above 10

19.

What change is made to the cat falling speed when the up arrow key is pressed?

a)

It is set to a negative number

b)

It is set to a positive number (e.g., 20) to make the cat jump

c)

It is doubled

d)

It is reset to zero

20.

Which sprite is added next to implement the basketball mechanic?

a)

A custom drawn ball

b)

The pre-made Basketball sprite from the library

c)

A clone of the cat sprite

d)

A hoop sprite

21.

How does the basketball initially behave when the game starts?

a)

It is visible on the stage

b)

It remains hidden until the space key is pressed

c)

It immediately begins moving

d)

It rotates continuously

22.

Which variable is created to keep track of the game score?

a)

Points

b)

BasketCount

c)

Score

d)

GamePoints

23.

What variable is created specifically for the basketball’s motion?

a)

BasketballSpeed

b)

BasketballFallingSpeed

c)

Ball Velocity

d)

Hoop Impact

24.

How is a basket detected in the game?

a)

When the basketball touches any part of the hoop sprite

b)

When the basketball touches a new sprite called “hoop center” (a single white pixel)

c)

When the basketball reaches a specific x-coordinate

d)

When the basketball’s speed exceeds a threshold

25.

What additional condition is added to ensure a basket only counts once per throw?

a)

A variable named “madeBasket” is set to false at the start and then true once a score is registered

b)

The score increases automatically with every loop iteration

c)

The basketball disappears immediately after touching the hoop

d)

The hoop changes color to indicate a successful basket