Creating a Square with Sphero

Creating a Square with Sphero

Assessment

Interactive Video

Computers, Education, Instructional Technology

5th - 8th Grade

Hard

Created by

Ethan Morris

FREE Resource

This tutorial guides you through creating a program to make a Sphero robot roll in a square. It starts with setting up the program canvas and selecting the appropriate blocks. You learn to use roll blocks to control the robot's movement, adjusting speed and duration for each side of the square. After running the program, you observe the robot's path and make adjustments to achieve sharper corners by adding delays. Finally, you view the JavaScript code generated by the block-based programming.

Read more

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in setting up the program for creating a square with Sphero?

Select the 'JavaScript' option

Click the 'Program Canvas' button

Choose the 'Circle' shape

Click the 'Run' button

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where can you find more information about how the JavaScript code works?

In the 'About' section

In the 'Settings' menu

In the 'Learn More' section of the block

In the 'Help' section of the app

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'roll' block in the Sphero program?

To change the color of Sphero

To control the speed of Sphero

To make Sphero move in a specific direction

To stop Sphero

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you duplicate a roll block in the Sphero programming environment?

Click the 'Duplicate' button in the toolbar

Drag the roll block to the 'Duplicate' area

Press 'Ctrl + D' on the keyboard

Long-press or right-click the roll block and select 'Duplicate'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What heading angle should be set for the second roll block to turn Sphero to the right?

270 degrees

180 degrees

90 degrees

0 degrees

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What issue might you notice when running the initial square program?

Sphero moves too fast

The square has rounded corners

Sphero does not move

The square is too small

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you view the sensor data after running the Sphero program?

Click the 'Sensor Data' button in the toolbar

Tap the overflow button and choose 'Sensor Data'

Select 'View Data' from the menu

Press 'Ctrl + S' on the keyboard

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?