Source Code vs Machine Code
Concept Check Beginner
Question
What is the difference between source code and machine code?
Hint
Think about who reads each type of code.
Explanation
Source code is written by humans in a programming language (like Python, JavaScript) and is human-readable. Machine code is the binary instructions (0s and 1s) that the CPU executes directly. A compiler or interpreter translates source code into machine code so the computer can run it.
Related Resources
Related Lessons
- What Is Programming?
Learn what programming is.
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.