You are currently using an older browser. Please update to the latest browser to ensure features and pages work properly. Learn more
7. Wrap-up: DJ Mixer
Congratulations on building your DJ mixer.
Today you're gonna use some of the core computer scienceconcepts you already know by using forever loopsto repeat and action and using an event to capture akeyboard press from the person using your computer program.
You also learned a really importantcomputer science concept, variables.
Use the variable to distort the position of the slidersso that you can use your value in your code.
The code bot knows to look inside that variable for howlong 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 itemin an app so that people can buyand sell clothing with one another.
A variable stores the scores in a racing game appand 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 appsand tools for the people to use.
When you take a computer science class in the futureyou'll learn even more cool and fun ways to use variables.
When you get there you'll be ahead of the game becauseyou already made and used variables in Scratch.
The next time we meet in CS First you'll build your ownmusic video with songs, characters, and special effects.