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

Transcript

(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.

Next arrow_forward
Instructions
  1. Click on the starter project.
  2. Sign in to Scratch.
  3. Remix the starter project.
Attributions
  • "Sergey Brin" by Freedom To Marry (https://www.flickr.com/photos/marriageequality/3570577093) -- Licensed by CC BY 2.0 (https://creativecommons.org/licenses/by/2.0/) -- Image cropped on left edge
  • "Larry Page in the European Parliament, 17.06.2009.jpg" by Marcin Mycielski (https://commons.wikimedia.org/wiki/File:Larry_Page_in_the_European_Parliament,_17.06.2009.jpg) -- Licensed by CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/) -- No modifications to image
  • "Happy Go Lucky" by Scott Holmes (http://freemusicarchive.org/music/Scott_Holmes/Music_for_TV__Film/Happy_Go_Lucky) -- Licensed by CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/)