Written by the Fiveable Content Team • Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated September 2025
Definition
Computer programs are sets of instructions that tell a computer what to do. They are written in programming languages and can perform various tasks, from simple calculations to complex operations.
Related terms
Algorithms: Algorithms are step-by-step procedures or formulas used to solve problems or perform tasks. They are like the individual steps in a recipe that guide you through each action needed to bake cookies.
Syntax: Syntax refers to the rules and structure of a programming language. It's like following grammar rules when writing sentences in English - if you don't follow proper syntax, the computer won't understand your program.
Debugging: Debugging is the process of finding and fixing errors or bugs in a computer program. It's similar to troubleshooting issues with your cookie recipe, such as adjusting ingredient measurements or oven temperature until you get perfect cookies.