PROGRAM IMPLEMENTATION Where do Low-Level and High-Level Languages fit in with Programming Implementation Before we start with the comparisons of these levels of programming languages, let's understand a few things! A computer program comprises a series of instructions. The CPU in a computer interprets these program instructions to complete one task or many tasks. These computer programs can be written using different languages that the computer can interpret and execute. These programming languages are categorised as either high-level or low-level languages. Low-Level Languages Machine Language Now most CPUs (Central Processing Units) have their own special code to interpret their instructions. We call these set of instructions that only the particular computer can interpret machine language. So they are many different machine languages. Most of the time the instructions in machine language are written in binary using zeros and ones. For example, 01100011 can be a specific instruction to move a number to a location. SO! Machine language is the only language that can be interpreted by computers (or rather the CPUs of computers) The instructions consist of a series of combinations of binary code, that is, zeros and ones (0 and 1) Because they comprise zeros and ones, it is very difficult for people to understand or interpret (it can be very confusing to remember what 00110101011 means!!) Any set of instructions that are written so that people can understand the instructions, must be translated back to machine language for the computer's CPU to interpret and follow. Machine language is interpreted very quickly by the CPU We call machine language a LOW-LEVEL language since it is closest to or ideally is the language of the computer Machine language is machine dependent. That is each computer has their own machine language that specific to them.
PROGRAM IMPLEMENTATION Where do Low-Level and High-Level Languages fit in with Programming Implementation Before we start with the comparisons of these levels of programming languages, let's understand a few things! A computer program comprises a series of instructions. The CPU in a computer interprets these program instructions to complete one task or many tasks. These computer programs can be written using different languages that the computer can interpret and execute. These programming languages are categorised as either high-level or low-level languages. Low-Level Languages Machine Language Now most CPUs (Central Processing Units) have their own special code to interpret their instructions. We call these set of instructions that only the particular computer can interpret machine language. So they are many different machine languages. Most of the time the instructions in machine language are written in binary using zeros and ones. For example, 01100011 can be a specific instruction to move a number to a location. SO! Machine language is the only language that can be interpreted by computers (or rather the CPUs of computers) The instructions consist of a series of combinations of binary code, that is, zeros and ones (0 and 1) Because they comprise zeros and ones, it is very difficult for people to understand or interpret (it can be very confusing to remember what 00110101011 means!!) Any set of instructions that are written so that people can understand the instructions, must be translated back to machine language for the computer's CPU to interpret and follow. Machine language is interpreted very quickly by the CPU We call machine language a LOW-LEVEL language since it is closest to or ideally is the language of the computer Machine language is machine dependent. That is each computer has their own machine language that specific to them.