Login
Register as
Teacher
/
Learner
Forgotten your password
Cambridge GCSE Computing Online
Home
About Us
FAQs
Programming languages
Introduction
21. Characteristics of low and high level languages
High and low level code: Part A
High and low level code: Test A
High and low level code: Part B
High and low level code: Test B
High and low level code: Part C
High and low level code: Test C
High and low level code: Part D
High and low level code: Worksheet 1
High and low level code: Worksheet 2
Programming languages overview
Overview
Introduction
Programming languages
←
Restart this test
Computers have to be given instructions that they execute step by step to perform the useful tasks we need them to do. Unfortunately, telling a computer what to do is difficult as they can only understand one language:
machine language
or
machine code
, which consists of strings of 1s and 0s.
Humans aren't very good at thinking in 1s and 0s, so computer scientists have created many different programming languages more suited to the human brain.
Assembly
language is very similar to machine code but uses text commands called
mnemonics
to represent the binary codes. One command in assembly language is equivalent to one in machine code. For this reason it is classified with machine code as a
low level language
: as near to the way the CPU works as possible.
Computer scientists have invented other languages that are more like human languages, using words such as ‘if', ‘while', ‘print' and ‘until'. These are called
high level
languages, and allow us to express high level concepts like loops or conditional statements more clearly than in assembly language.
Different high level languages are designed for different purposes. Python makes manipulating character strings easy, for example, while C is harder to write but makes more efficient use of the computer's resources.
Assembly and high level languages allow computer scientists to produce and debug programs quickly, but they have to be translated into machine code for the computer using tools such as
assemblers
,
compilers
and
interpreters
.
« Previous
Next »