written 2.7 years ago by |
Types of Languages
There are three main kinds of programming language:
• Machine language
• Assembly language
• High-level language
Machine language is - it's the language of machines, consisting of bits (1s and Os) put together into chunks like bytes, a group of 8 bits, and lots of other larger sizes. It's highly unlikely you will ever have to write in machine language, but in the old days, we used to plot 1s and Os on graph paper and then type them in, to make pictures appear on the computer screen.
Assembly language
Mnemonics
Assembly language is a little easier than machine language, but not much! It uses more convenient numbers, symbols, and abbreviations to describe the huge strings of 1s and Os, to make it both easier and more memorable to type in instructions. The computer knows that certain strings of numbers are commands, so assembly language lets you use English-like strings instead of numbers to refer to those. Plus, with assembly language you have access to all kinds of resources to organize your programming code.
High-level languages
• The third type of language are the high-level languages.
These languages use English-like statements and symbols, and are independent of the type of computer you are using.
• You can even put in lots of English labels and comments to help remember what the instructions are doing. This makes your programs much easier to read and modify. There are far more high-level languages than any other type of computer language, each one tailored for a certain kind of use.
• Compiler High level language to Low level language Then you tell a program called an assembler to assemble your instructions, which just means they get turned into 1s and Os for you.