Please enable JavaScript to use CodeHS

What You Can Do With Computers

Code in Your World

Every day you touch things that are run by code. Tap the cards to see how code makes them work.

Beginner ~8 min Elementary
The Big Idea

Code is all around you

Every day you use things that are run by code. Your tablet, phone, video games, and even some toys have computers inside them. Code makes them work.

When you tap a screen, the code notices. When a game scores a point, the code counts. When a map shows you the way, the code figures out the best path.


How It Works

Input, code, output

Most computer programs do the same three things:

  1. Input: the program receives information, like a tap or a voice command.
  2. Code: the program decides what to do using instructions.
  3. Output: the program shows a result, like a sound, picture, or movement.

A music app is a great example. You press play (input). The app reads the song file and sends sound to the speakers (code and output).


Interactive

Click the things that use code

Tap each card to see how code helps it work.

Tap a card to learn more.

Your Turn

Check yourself

Name one device you used today that has code inside. What did it do for you?

Sample answer: I used a tablet to watch a video. Code made the video play and the sound come out.


Check Yourself

Quick quiz

1. Where can you find code?

2. What does a phone use code for?

3. Are there computers in cars?

Keep learning

You found code in your world. Next, start your own project.

Part of the What You Can Do With Computers series.