Running a program
A program holds instructions and data for the computer to process. To run it, the parts it needs are loaded into memory and set up so the CPU can work through the instructions.
41 concepts5 lessons
Map Inside the devicePrograms
How apps and files work on your own device
A program holds instructions and data for the computer to process. To run it, the parts it needs are loaded into memory and set up so the CPU can work through the instructions.
Code is instructions written in a language people can read and write. For a computer to run it, the code has to be converted in advance into instructions the machine can process, or a program has to interpret it while it runs.
An algorithm is a step-by-step procedure for solving a problem. Different procedures for the same problem can take different amounts of time and resources.
An operating system coordinates many programs so they can share the CPU, memory, and storage. It allocates resources, manages permissions, and connects apps to the hardware.
A file is one way to keep data on a storage device. An app interprets the data according to the file's format, so the same bytes can look different depending on the rules used to read them.
Get new posts by email, plus launch news when it's ready. No spam.