2.2.1

Code

Test yourself

Code

When you have an algorithm for a computer task, we need to turn it into a computer language so the computer can understand how to follow the steps in the algorithm.

Illustrative background for Computer languagesIllustrative background for Computer languages ?? "content

Computer languages

  • There are many computer languages for creating programs.
  • A program is a set of instructions to carry out a task.
Illustrative background for Machine codeIllustrative background for Machine code ?? "content

Machine code

  • At the lowest level, the computer uses machine code.
  • Machine code is based on the numbers 0 and 1.
  • The machine code system is called ‘binary’ because there are only two numerals you can use.
Illustrative background for Higher-level languagesIllustrative background for Higher-level languages ?? "content

Higher-level languages

  • BASIC, C, Java, and HTML are all names of higher-level computer languages.
  • Each of the languages uses different codes.
    • Each language is different just like Spanish is different from English.

Jump to other topics

1Computational Thinking & Algorithms

2Programming

3Hardware & Software

4Data

5The Internet

6Online Safety & Security

Go student ad image

Unlock your full potential with GoStudent tutoring

  • Affordable 1:1 tutoring from the comfort of your home

  • Tutors are matched to your specific learning needs

  • 30+ school subjects covered

Book a free trial lesson