teach-ict.com logo

THE education site for computer science and ICT

1. Introduction

An instruction running inside a CPU is in the form of binary numbers.

However, people tend to find writing instructions as pure binary numbers impossible. Thus, programmers have developed people-friendly computer languages to enable them to write programs using syntax they can understand.

In this section we will not be discussing individual languages, but rather how we translate human-written source code into computer-readable binary.

We will also cover the tools used to write and convert them. These are called translators, and there are two types: compilers and interpreters