What’s actually inside an app?
Lesson 17.1 · Instructions Plus Data
Jenny · Mark · Sarah
One recipe, hundreds of ingredients.
Jenny opens the folder where a game is installed on Sarah’s computer.
Hundreds of files: one program file, plus folders of images, sounds, maps, fonts and a settings file.
Mark is surprised there are so many. Jenny says the program file is the recipe. Everything else is the pantry.
The short answer
Instructions plus data: a program file and a pile of images, sounds and settings, sitting on the drive until the OS loads it. Grandma Ruth only needs four apps, and every one of them is either a web app or available on every major operating system. That’s going to matter in Module 19.
Try it yourself
Flip each part of an installed app to see what it is.
What you just did has a name
An application
An application, or app, is a program you use to do something: write, browse, play, call, edit.
It’s made of instructions, the code, plus the data the code needs, like images and sounds.
It sits on the drive until you open it.
Then the operating system copies it into memory and starts running its instructions, as a process from Module 16.
A few more things
App vs. program vs. software
All roughly the same idea. “Software” is the broad word for any instructions. “Program” is one set of them. “App” is what we call programs people use directly, especially on phones.
Web apps
Some apps run inside a web browser instead of being installed, like Google Docs. The instructions download each time you open the page.
Apps need an OS
An app asks the operating system to draw windows, save files and play sounds, so it’s built for a specific OS. That’s why the operating system decision decides your app list.
Go deeper
The longer version, if you want it.
Why updates are so big
An app update often replaces the program file and many of the data files at once: new images, fixed sounds, new levels. That’s why updates can be hundreds of megabytes even for small changes.
Your own data, like saves and documents, is usually kept somewhere separate so an update doesn’t erase it. That separation is also what makes backing up your stuff possible without backing up every app.
Quick check
What happens when you tap an app’s icon?
Let’s take it slower
Think of a board game box. Inside are the rule book and all the pieces: cards, a board, dice. The rules are useless without the pieces, and the pieces are useless without the rules. An app is the box: the program is the rule book, and the images, sounds and settings are the pieces.
More examples
A photo app
Its code knows how to show and edit photos. Its data includes the filter presets and the icons. Photos in your camera roll are separate, so deleting the app leaves them alone. Edits you saved only inside the app might not survive.
A recipe website
A web app. The code downloads to your browser when you visit, and the recipes come from a server each time.
Back to the question
So what’s inside an app?
Show the answer
Instructions plus data: a program file and a pile of images, sounds and settings, sitting on the drive until the OS loads it. Grandma Ruth only needs four apps, and every one of them is either a web app or available on every major operating system. That’s going to matter in Module 19.
One last question
Sarah asks what an app is. Who explained it best?
Talk Card
Talk Card · 17.1
An app is its instructions plus its own files. Your photos in the phone’s gallery live somewhere else, but anything saved only inside the app can go when the app does.
How Computers Work · pettigrewlab.com/learn


