Explain the difference between high level languages and machine language


Asked by admin @ in Computer Science viewed by 326 People


What is the difference between high level language and machine language​

Answered by admin @



Explanation:

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


Similar Questions

What are the features of high level language

Asked by admin @ in Computer Science viewed by 365 persons

Features of high level language

A program written in high level language is called

Asked by admin @ in Computer Science viewed by 328 persons

A program written in a high level language is referred to as : (a) Source code (b) Object code (c) Machine code (d) Assembly code

How is assembly language different from machine language

Asked by admin @ in Computer Science viewed by 314 persons

How is assembly language different from machine language​

Differentiate between high level language and low level language

Asked by admin @ in Computer Science viewed by 305 persons

Differentiate between low level language and high level language​

Explain the power sharing among government at different levels

Asked by admin @ in Social Sciences viewed by 352 persons

How is power shared among government at different levels?explain

Explain the difference between accuracy and precision in an instrument

Asked by admin @ in Physics viewed by 282 persons

1. Explain the difference between accuracy and precision 2. Name a statistical quantity that can be used to indicate an accuracy level. 3. Name a statistical quantity that can be …

Why was the rosetta stone written in three different languages

Asked by admin @ in English viewed by 344 persons

Can make sure this essay ok? I just want to make sure it makes sense and the grammar is good :) (please don't copy and paste :< its illegal bc …

Briefly explain the difference between primary research and secondary research

Asked by admin @ in History viewed by 325 persons

What's the difference between primary source and secondary source

How high is mount everest above sea level in meters

Asked by admin @ in Mathematics viewed by 469 persons

Some people say Mauna Kea is a taller mountain than Mt. Everest, because its total under sea and above sea level height is a0 meters.

What is the difference between a language and a dialect

Asked by admin @ in World Languages viewed by 414 persons

What are the differences between language and dialect?

Explain how polyphonic and homophonic textures are different from monophonic

Asked by admin @ in Biology viewed by 388 persons

The following excerpts exemplify the three basic textures of music. Monophonic texture, you will find, is easy to hear because it has only one line of music. More difficult is …

Explain the difference between a heart attack and a stroke

Asked by admin @ in Health viewed by 396 persons

What is the difference between a stroke and a heart attack?

Explain the main differences between alpha beta and gamma rays

Asked by admin @ in Chemistry viewed by 313 persons

Differentiate between alpha and beta and gamma rays

Explain the difference between indoor and outdoor games

Asked by admin @ in Art viewed by 412 persons

Explain the difference between indoor and outdoor games.

Most viewed questions in Computer Science


A programmer mistakenly writes gor instead of for

Asked by admin @ in Computer Science viewed by 19018 persons


Domestic data entry operator ncert book class 9 solutions

Asked by admin @ in Computer Science viewed by 15805 persons


Information technology code 402 class 9 solutions chapter 1

Asked by admin @ in Computer Science viewed by 10969 persons



Ncert solutions for class 8 computer chapter 1 computer system

Asked by admin @ in Computer Science viewed by 10401 persons


A scrum team works on a 4 weeks sprint

Asked by admin @ in Computer Science viewed by 8721 persons


Which of the following occupies more memory in c

Asked by admin @ in Computer Science viewed by 8135 persons



A database of motor vehicles has the base entity

Asked by admin @ in Computer Science viewed by 7840 persons


The network architecture can be termed as a mcq

Asked by admin @ in Computer Science viewed by 6485 persons


Cat5 and cat6 cabling refer to which reference model layer

Asked by admin @ in Computer Science viewed by 5788 persons



Class 7 computer chapter 3 questions and answers

Asked by admin @ in Computer Science viewed by 5691 persons


Choose the correct options about usability and user experience

Asked by admin @ in Computer Science viewed by 5474 persons


Which advocates daily team meetings for coordination and integration

Asked by admin @ in Computer Science viewed by 4980 persons



Which three security features match the database security level

Asked by admin @ in Computer Science viewed by 4970 persons


Which of the dbms package is not available

Asked by admin @ in Computer Science viewed by 4682 persons


________ aid a business grow and attain its objectives

Asked by admin @ in Computer Science viewed by 4486 persons