1. Introduction to Our Story


(playful guitar music)

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.

And then, 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 at all if the Sprite started out by running.

That's right, 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 Sergey Brin use sequencing in Google Search.

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

The 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 website linking to a specific page, the higher that page's rank will be.

Finally, Google displays those pages as search results.

Larry and Sergey 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.

Alright, see you later, Taylor.

Bye Jason.

Now it's your turn.

Click on the link to the starter project and sign in to Scratch, then remix the starter project.


Click on the starter project.
  • "Sergey Brin" by Freedom To Marry ( -- Licensed by CC BY 2.0 ( -- Image cropped on left edge
  • "Larry Page in the European Parliament, 17.06.2009.jpg" by Marcin Mycielski (,_17.06.2009.jpg) -- Licensed by CC BY-SA 4.0 ( -- No modifications to image
  • "Happy Go Lucky" by Scott Holmes ( -- Licensed by CC BY 4.0 (