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. Introduction to Our Story


Welcome to day 4 of Google CS First!

In today’s project, you will tell the story of how you and your friend met!

To tell your story so that others can understand it, you will need to sequence your code.

When you sequence code, you put it in a specific order so that things happen one after another.

Here’s an example project of two friends meeting: First, the android sprite talks.

Second, she turns green.

Next, the blue-haired friend sprite appears and talks.

Finally, the android sprite runs to her.

In order for the story to work correctly, the actions must happen in the right order.

It wouldn’t make any sense if the sprite started out by running!

Sequencing code is what makes this sort of project possible.

Computer scientists sequence code in the real world all the time!

Best friends Larry Page and Sergei Brin use sequencing in Google search!

First, Google uses a program called a “spider” that follows links on webpages.

This spider gets a list of all the pages on the web.

Then, Google uses algorithms, or step-by-step instructions, to understand what the user is looking for.

Next Google ranks the results.

The ranking is based on lots of things, including the number of times that webpage is linked on other websites.

The more websites linking to a specific page, the higher that page’s rank will be.

Finally, Google displays those pages as search results.

Larry and Sergei came up with this idea together.

Computer Scientist friends help each other with ideas all the time!

Alright, let’s get started coding!

Jason will take you through the steps to build your project today, and I’ll see you in the last video!

All right, see you later, Taylor! Bye Jason!

Now it’s your turn: Click on the link to the starter project, then remix the starter project, and sign into Scratch.

Next arrow_forward
  1. Click on the starter project.
  2. Sign in to Scratch.
  3. Remix the starter project.