Grade 11 Information Technology · Lesson 6.1
Types of Programming Languages
Unit 6: Fundamentals of Programming
A program is a set of instructions that tells a computer what to do, and a programming language is a formal language used to write those instructions. Computers only understand binary (0s and 1s), so languages are grouped by how close they are to the machine. Low-level languages are close to the hardware; high-level languages are close to human language.
Key terms
- Program
- set of instructions for a computer
- Machine language
- binary instructions executed directly by the CPU
- Assembly language
- low-level language using mnemonics
- High-level language
- English-like, portable programming language
- Compiler
- translates a whole program into machine code before running
- Interpreter
- translates and executes a program line by line
- Source code
- the program as written by the programmer
Summary
- Languages range from low-level (machine, assembly) to high-level (Python, Java).
- High-level languages are easier and portable but must be translated.
- Compilers translate the whole program; interpreters go line by line.
- Paradigms include procedural, object-oriented and scripting.
In everyday life: Ethiopian software companies and start-ups commonly use high-level languages such as Python, JavaScript and Java to build mobile and web apps.
Check yourself
- Why is machine language hard for humans?
- What does an assembler do?
- Give two advantages of high-level languages.
- Is Python compiled or interpreted?
Practice questions
1. Python is best described as a:
- A. Machine language
- B. High-level interpreted language
- C. Assembly language
- D. Markup language
Show answer
Answer: High-level interpreted language
Python uses English-like statements and is run by an interpreter, making it a high-level interpreted language.
On WeLearn
The full lesson: reading notes, worked examples, class activities and the Unit 6 quiz
Study Types of Programming Languages on WeLearnTeach Types of Programming Languages with WeLearn
We will bring a demo to your school: a lesson on your interactive TV, a virtual lab and a classroom game, with your own teachers.
