High level languages cant be understood by the computer as it performs all tasks in binary form. So its necessary to convert high level language into machine oriented language
Both must be translated into a common language. That language is machine code, the native language of the machine.
Generally languages are used for communication, In the case of computers languages are used to communicate with the Hardware. Language consist of set of rules and syntaxes to frame the valid instructions to work with the Machines.
The only real disadvantage of high level languages is that they must be converted to machine code in order to execute. However, machine code is extremely difficult to work with; we use high level languages because it makes it easier to both write and maintain programs.
False. You cannot convert low-level language to high-level language, you can only convert from a high-level to a low-level. However, all languages, whether high-level or low-level, must ultimately be converted to machine code in order to execute.
There is no program that can translate machine code to a high-level language. The best you can do is disassemble the code. This produces code that is similar to assembly language, but which lacks variable names and comments. Even a skilled programmer will need to spend hours disentangling the code in order to make it readable -- but you can never restore the code back to its original source code, no matter what language it was written in.
Well its like this, a high level language is a language for programming computers which does not require detailed knowledge of a specific computer, as a low-level language does.High-level languages do not have to be written for a particular computer, but must be compiled for the computer they will work with.High-level languages are closer to human language than low-level languages, and include statements like GOTO or FOR which are regular words On the other hand, a low level language is a computer programming language that is close to machine language.Machine language is at the lowest level, because it is the actual binary code of 1s and 0s that the computer understands.Assembly languages are low- level languages which are translated into machine code by an assembler.Each assembly language instruction corresponds to one machine language instruction, but assembly language is easier notation for the programmer to use than machine code. You can google the topic for more info
Machine code is the native language of the machine. The machine does not "understand" any language other than its own native language. As such, all other languages, including low level assembly languages, must be compiled or interpreted in order to produce the required machine code.
yes i definetly think that high level language is better than low level language!!! because it provides a much user friendly environment and makes programmes easier to read and write...It also makes the program less error prone.. The speed of writing programs also becomes easy
my pet monkey ate a sandwich
There are two basic categories of languages: low-level and high-level. A low-level language interacts with the hardware directly or mostly directly, so an intimate knowledge of the underlying hardware being programmed for must exist. Low-level languages are also relatively difficult to move from one computing platform to another (such as from Windows to a Mac). A high-level language abstracts the hardware, and so programming becomes more solution-oriented and less hardware-oriented. Python does not offer access to the underlying hardware directly, and allows you to perform numerous low-level instructions in just a few lines of code. Thus, since Python substantially removes the programmer from the hardware, it is a high-level language.
High-level languages must be either compiled or interpreted because they are designed to be human-readable and abstract away the complexities of machine code. Compilers translate the entire high-level code into machine code before execution, optimizing performance, while interpreters translate the code line-by-line during execution, allowing for flexibility and easier debugging. This translation process is essential for the computer to understand and execute the instructions written in high-level languages. Without this step, the machine would not be able to execute the program as it only understands binary code.
Assembly languages allow complete control over the machine's instruction set. This means programs must be written in minute detail, in terms the machine itself can understand. It is tedious, prone to human error, and very difficult to maintain. High-level languages make use of high-level abstractions to select the appropriate machine instructions for us. That is, a single high-level statement can produce dozens of individual machine code instructions. This makes programming much easier; the more abstract the language, the easier it is to express solutions in terms a human can understand.