Computer Science, asked by kiran860, 1 year ago

Difference bw high level, low level, machine lanuage,assembly language

Answers

Answered by aryan02p3jd6e
1
A low level language is a language that works at a lower level of abstraction, i.e. at a level closer to the actual hardware.
A high level language is one tha works at a higher level of abstraction, i.e at a level far from the actual hardware.

Low level languages are mostly tougher to learn than high level languages.

C++ is a good example of a low level language while Python is a good example of a high level language.

Now, let's talk about machine code and the assembly language.
Whenever code is written in high and/or low level languages, it is compiled into assembly and then finally run as machine code.

The only language a computer actually understands is machine code, i.e. instructions in the binary language (contains only 0s and 1s).

Processors only understand certain operations and those operations have codes called Opcodes. Machine code just contains those opcodes with parameters in the order in which the operations have to be performed.
   
Now, these instructions have a human readable version and that human readable version is called Assembly.

Although you can code in binary instructions, it is often more convenient to write it in English. That's the basic idea behind Assembly. 

I hope that helps.
Similar questions