Skip to content

Please update your browser

Your browser version is not supported by this site. CS First may not work properly. Learn more

1. Introduzione alla programmazione modulare

Transcript

Hey team!

It’s time for activity 4 of Google CS First Sports!

In this activity, you’ll imagine a fitness gadget and the features it might have.

Fitness gadgets motivate people to sit less, move more, and get some exercise.

The gadget could be worn anywhere, like on a person’s head, wrist, arm, or shoes.

Over the next few videos, you’ll learn how to bring your fitness gadget to market by creating a commercial to persuade your family and friends to purchase one.

As you build this project, you’ll also learn about an important computer science concept called: modularization.

When you “modularize” something, you break it down into smaller pieces called modules.

Computer scientists use modularization, or modular programming, to simplify programs by breaking them into smaller sub-programs.

When the modules are joined together, they make finished products like jigsaw puzzles and Lego creations.

Check out this sweet video on how modularization is used to create customizable smart watches.

Modularization allowed the computer scientists on the Blocks team to work with small parts of the large project’s code one section at a time.

The code for the GPS module is separate from the code for the heart rate module.

By writing code for each section separately, the team was able to find and fix problems by testing each part individually before shipping the product to millions of consumers.

You will use modularization in a similar way to craft a commercial for your Fitness Gadget.

By breaking down your commercial into smaller sub-programs, you’ll gain a better understanding of how some of the world’s top fitness companies persuade customers to buy their products.

To do this, you will use "broadcast" blocks throughout the project to add features to your fitness gadget commercial.

Think about how you’d like a fitness gadget to improve your performance.

What amazing things can you imagine?

Will your gadget turn your data into powerful information by: showing you how to become a more efficient cyclist improving your hand eye coordination in boxing or tracking how much yardage you cover with each swimming stroke This example project advertises a gadget called the SportsWatch9000.

Most fitness gadgets fit into one of these four categories: headwear eyewear wristwear and footwear Choose one of these starter projects to begin your fitness gadget commercial: Remix the project, and sign in to save your work.

First, pick the android sprite that will introduce and demonstrate your product.

Then, delete the other sprite – you won’t need it!

The showcase sprite will be used to showcase your product at the end of the commercial.

Alright, here's the game plan: First, choose a starter project.

Avanti arrow_forward
Istruzioni
  1. Scegli un progetto di partenza.
  2. Fai clic su "Remix".
  3. Effettua l'accesso a Scratch.