Programming Languages
Programming languages are formal languages used to write instructions for computers, from low-level machine code to high-level languages like Python.
▶ Interact
Play with the controls to see the idea in action.
📘 Learn
Programming languages are formal languages used to write instructions for computers, from low-level machine code to high-level languages like Python.
- High-level languages are easier to read
- Low-level languages are closer to hardware
- Compilers and interpreters translate code
🧠 Quick quiz
Three questions. Score 2 or more to complete the topic.
What is Programming Languages?
Within Computer Science, which covers algorithms, programming, data, networks, hardware and safe, responsible use of technology, this topic explains Programming Languages. Computing topics explain how software, hardware and data work, with diagrams and models that show each step in order.
Check that you can explain Programming Languages in your own words and give one example from everyday life. If you can do that, you have understood the core idea.
Understanding Programming Languages helps you design, test and explain programs, websites and systems, from small projects to exam questions.
Programming Languages in detail
Programming languages let humans write instructions for computers. Low-level languages, such as machine code and assembly, are close to the hardware, fast and efficient but difficult to read, and specific to a processor. High-level languages, such as Python, Java, C# and JavaScript, are closer to human language, easier to write and portable across systems.
Each has strengths: Python is simple and good for beginners and data, JavaScript runs on websites, C is fast and used in systems, and SQL queries databases. Code in a high-level language must be translated into machine code by a compiler or interpreter. Choosing a language depends on the task.
How the interactive helps you understand Programming Languages
Click a card to flip it and reveal the answer, then move on to the next one.
Before you change anything, predict the result. Then change one value at a time and check whether your prediction was right. This is a quick way to build a correct mental model of Programming Languages.
Real-life uses and examples
- Recognise Programming Languages in an app or device you use every day.
- Apply Programming Languages when you design a small program, website or spreadsheet.
- Explain Programming Languages to someone new to computing by comparing it to a familiar process.
Common mistakes to avoid
- Using the term without being able to say what the computer actually does.
- Testing only the normal case and forgetting the edge cases.
- Learning the definition without testing it. Use the quiz and the interactive to check that you can apply the idea.
Frequently asked questions about Programming Languages
What is Programming Languages?
Programming languages are formal languages used to write instructions for computers, from low-level machine code to high-level languages like Python.
What are the most important points about Programming Languages?
The main points are: High-level languages are easier to read; Low-level languages are closer to hardware; Compilers and interpreters translate code.
Why is Programming Languages useful?
Understanding Programming Languages helps you design, test and explain programs, websites and systems, from small projects to exam questions.
How can I practise Programming Languages?
Open the interactive at the top of this page and change the controls one at a time. Predict the result before each change, then take the three-question quiz. A score of two or more marks the topic as complete on this device.
Which topics are related to Programming Languages?
Related topics in Computer Science include Introduction to HTML, Web Browsers and Web Servers, Network Topologies.