Computer Science, asked by shubhsahu1162, 7 months ago

Differentiate between machine language and high level programming language

Answers

Answered by WanderLust007
4

Answer:

HEY BUD!HELLO!BYE!

Explanation:

Machine language, or machine code, consists of binary code and is the only language that is directly understood by the computer. ... Both machine code and assembly languages are hardware specific. A high-level language is a programming language that uses English and mathematical symbols in its instructions.Machine language, or machine code, is the only language that is directly understood by the computer, and it does not need to be translated. All instructions use binary notation and are written as a string of 1s and 0s. A program instruction in machine language may look something like this:

10010101100101001111101010011011100101  

A high-level language is a programming language that uses English and mathematical symbols, like +, -, % and many others, in its instructions. When using the term 'programming languages,' most people are actually referring to high-level languages. High-level languages are the languages most often used by programmers to write programs. Examples of high-level languages are C++, Fortran, Java and Python.

To get a flavor of what a high-level language actually looks like, consider an ATM machine where someone wants to make a withdrawal of $100. This amount needs to be compared to the account balance to make sure there are enough funds. The instruction in a high-level computer language would look something like this:

x = 100  

if balance x:  

print 'Insufficient balance'  

else:  

print 'Please take your money'  

This is not exactly how real people communicate, but it is much easier to follow than a series of 1s and 0s in binary code.

There are a number of advantages to high-level languages.

The first advantage is that high-level languages are much closer to the logic of a human language.

The second advantage is that the code of most high-level languages is portable and the same code can run on different hardware

Answered by Jk97834
1

Answer:

high level

1) it is programmer friendly language...

2)it is easy to understand...

3) it is simple to debug....

Similar questions