The difference between high level language and machine laguage are given below-
Programs written in the machine language of a given type of computer can be directly executed by the CPU of that type of computer. High-level language programs must be translated into machine language before they can be executed. (Machine language instructions are encoded as binary numbers that are meant to be used by a machine, not read or written by people. High-level languages use a syntax that is closer to human language.)
High level programming languages are closer to English, therefore easier to learn, but slower than machine language.
Machine language is the language "spoken" by your computer, a succession of 0s and 1s.
High level languages use purpose made functions and components to achieve results, wheras machine language manipulates the hardware directly.
A CPU contains a series of registers, like really, really fast memory, but not much of it. Machine language allows you to load data into and out of these CPU registers directly, it has very few commands and they are things like load a value into a register, clear a register, etc. You need to run hundreds or thousands of these commands just to do something simple.
A high level function would be something like "print()", ultimately this still messes around with CPU registers just a much as machine language but you don't have to see or deal with it. It is much, much more user friendly.
Answered by
Nagendra
at
7:25 PM on July 09, 2008