Skip to content

Please update your browser

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

7. Wrap-up: DJ Mixer

Transcript

Congratulations on building your DJ mixer.

Today you're gonna use some of the core computer science concepts you already know by using forever loops to repeat and action and using an event to capture a keyboard press from the person using your computer program.

You also learned a really important computer science concept, variables.

Use the variable to distort the position of the sliders so that you can use your value in your code.

The code bot knows to look inside that variable for how long the computer should wait before performing an action.

So if the variable changes the wait length changes also.

Variables are also used in nearly every computer program.

Computer scientists use to store the cost of an item in an app so that people can buy and sell clothing with one another.

A variable stores the scores in a racing game app and stores the price of homes in a real estate app.

Although variables exist in computer science, they can also apply to any field that interests you.

From gaming to retail, and even real estate.

You can use computer science to build all kinds of apps and tools for the people to use.

When you take a computer science class in the future you'll learn even more cool and fun ways to use variables.

When you get there you'll be ahead of the game because you already made and used variables in Scratch.

The next time we meet in CS First you'll build your own music video with songs, characters, and special effects.

arrow_backward Back
Next arrow_forward
Instructions
Write a G+ shout-out!
Attributions
  • Ocado Delivery Slot by Tony Hirst (https://c1.staticflickr.com/3/2629/3986871195_6f65833a2f.jpg) licensed under CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/)
  • Trulia iPad app property details by Ken Shuman (http://www.flickr.com/photos/truliavisuals/5589846836/) licensed under CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/)
  • Space Wars Intergalactic by panda33a (http://scratch.mit.edu/projects/15076094/#editor) licensed under CC-BY 3.0 (http://creativecommons.org/licenses/by/3.0/)
  • The song “Festival” is © YouTube-- CC-BY-SA 4.0 does not apply.