Programming Basics/Introduction/What is a programming language?

Whenever you want to implement an algorithm, you’ll have to translate it into a language that computers can understand, which is known as a programming language.

A programming language can be defined as a high-level language or low-level language. A high-level language uses instructions encoded in a language more suited to humans.

While a low-level language uses instructions encoded in a language more suited to computers.

Each type of programming language has a different way of writing instructions. The instructions in a high-level language are called source code and are written in plain text.

The instructions in a low-level language can be written in two different ways. Either by using binary numbers, and in this case the instructions are called machine code.

Or by using mnemonics, and in this case the instructions are called assembly code.