Skip to main content

Explain Different Types and Differences of Programming Languages and Differences

Topic: Explain Different Types of Programming Languages and Differences
What is a programming language?
Types of programming languages : Low level and high level programming languages with examples
Differences between low level and high level programming languages

What is a Programming Language?

A set of words, symbols and codes used to write programs is called programming language. Different programming languages are available for writing different types of programs.

Learn Programming now in easy steps from Perfect Programming Tutorial on EasyCodeBook.com

Explain different types of programming languages in detail
Explain different types of programming languages


With the help of computer language, a programmer tells a computer what to do. Some popular computer programming languages are C++, Java, Visual Basic etc. These are examples of high level programming languages. Whereas machine language and assembly language are called low level programming language.

Another Definition of a Programming Language

A programming language is a language that is designed to be used (read and written) by humans to create programs that can be executed by computers. In other words we can say that programming languages provides the way so that the users may interact with the computer to give it commands and instructions to perform certain tasks.

Types of Programming Languages

There are two main types of computer programming languages.
•    low-level languages
•    high-level languages.

Low Level Programming Languages

These languages are near to computer hardware and far from human languages. Computer can understand these languages easily.

Following are two low-level languages:
•     Machine Language
•     Assembly Language

Machine Language

Types of programming languages - Machine language

A computer language in which instructions are written in binary form (0 and 1) is called machine language. It is the only language that is directly understood by the computer. Machine language is the native language of computer.
A computer language in which instructions are written in binary form (0 and 1) is called machine language. It is the only language that is directly understood by the computer.

Advantages of  Machine Languages

a)    Very fast program execution: Because the machine language is the native language of computer that computers directly understand and execute. There is no need of a translator program, because computer can already understand and execute the machine language instructions directly without the need of translation.  

Disadvantages of  Machine Languages:

a)    Machine Language is difficult to understand
b)    Machine Language is difficult to learn
c)    Programs of Machine Language are difficult to modify
d)    Machine Language requires deep knowledge of hardware
e)    Programs of Machine Language are difficult to remove errors
f)    Programs of Machine Language are Machine dependent
Machine language is also known as first generation language.

 Assembly Language

Types of Programming Languages - Assembly Language
Assembly Language Example Code

Assembly language is a low-level language. In assembly language, symbols are used instead of binary code. These symbols are easy to remember. For example Add instruction is used to add two numbers.
Assembly language is also known as second generation language

Advantages of Assembly Langauge:

a) Assembly language programs are executed with fast speed
b) Assembly language programming is easier to learn, understand and modify than machine language
Disadvantages:
a)    Assembly language programs are machine dependent
b)    Assembly language programming requires deep knowledge of hardware

 High Level Programming Languages

A type of language that is close to human languages is called high level language. High-level languages are easy to understand. Instructions of these languages are written in English-like words e.g. Print, Display, Write etc.

  Examples of High Level Programming Languages



Types of Programming Languages - High Level Programming Language

 

Advantages of High Level Programming Languages:

Types of Programming Languages - Advantages of High Level Programming Language

a) High Level Programming Languages are Easy to learn and understand
b) Programs written in High Level Programming Languages are Easy to modify
c) It is Easy to remove errors in the Programs written in High Level Programming Languages
d) Programs written in High Level Programming Languages are Machine independent
e) High Level Programming Languages have Better documentation

Disadvantages of High Level Programming Languages

a) A disadvantage of High Level Programming Languages is slower program execution.
b) High Level Programming Languages provide programming facilities for performing Certain operations.

An Introduction To High Level Programming Languages

FORTRAN

FORTRAN stands for FORmula TRANslation. It is mainly used for writing applications related to science and engineering fields.

BASIC

BASIC stands for Beginners All-purpose Symbolic Instruction Code. It was invented in late 1960's to teach programming skills to students.


COBOL


COBOL stands for Common Business Oriented Language. It was especially designed for business applications.


C Language



C Language is one of the most popular programming language among students and beginners in the field of computer programming. C Language was designed by Dennis Ritchie at AT&T Bell Labs in 1972. Sometimes C Language is called a middle level language because it provides facilities to develop application software as well as system software. So C Language combines some important qualities of a high level language and a low level programming language.

Difference between Low-level and High-level Programming Language


High-level Language

Low-level Language

1.   High-level languages are easy to learn

1. Low-level languages are difficult to learn.

2.   near to human languages.

2, far from human languages.

3.    Programs in high-level languages are slow in execution.

3. Programs in low-level languages are fast in execution.

4.    Programs in high-level languages are easy to modify.

4. Programs   in   low-level   languages   are difficult to modify.

5.    Deep   knowledge   of hardware   is  not required to write programs.

5. Deep knowledge of hardware is required to write programs.


Topic: Explain Different Types of Programming Languages and Differences What is a programming language? Types of programming languages : Low level and high level programming languages with examples Differences between low level and high level programming languages

Comments

Unknown said…
Software developers to create stunning mobile application with ease. Further, they can make use of this platform at free of cost. Java Course in Chennai
Admin X2 said…
wow great post on different types of Programming Languages. Here are Perfect Programming tutorials with example programs

Popular posts from this blog

Explain different types of storage devices

Topic: Explain different types of storage devices in Computer systems Storage Devices Storage devices are used to store data and instructions permanently. Storage devices are also called secondary storage devices / backing storage devices / external storage devices or auxiliary storage devices. Examples of storage devices include Hard Disk, CD and DVD etc. Why Secondary Storage Devices are Used? Secondary storage devices are used because: Primary memory(RAM) is volatile and temporary. When computer is switched off, all data in ram is erased. Storage devices can store large amounts of data and instructions permanently whereas Primary memory has less capacity of storing data. Types Of Storage Devices There are three main types of storage devices:  Magnetic Tape   Magnetic Disk   Optical Disk   Flash Memory storage devices 1. Magnetic Tape Magnetic tape is the oldest storage device. It is made of plastic coated with magnetic material. Data is stored on mag

Important Objective Type Questions 101-155

MMC stands for multimedia card. SD stands for secure digital card. System Bus  is used to connect main components of a computer such as cpu and main memory. A Port is an interface or a point of attachments. POS stands for Point Of Sale terminal. ATM stands for Automated Teller Machine. PIN stands for Personal identification number. Kbps stands for kilobits per second. Mbps stands for megabits per second. A port that transmits one bit at a time is called Serial Port. A type of port that transmits many bits at a time is called Parallel Port. LPT stands for Line Printer. Examples of system software are Operating System, Utility Programs and Device Drivers. Examples of operating systems are DOS, Windows, Unix and Linux. Examples of Utility programs are File Manager, Image Viewer, Disk Scanner and File Compressor. Software used to detect and remove viruses is called Antivirus . Examples of antivirus programs are Mcaffee, Avast,

Convert Centimeters to Inches Python Programming | Python Program Conver...

YouTube Video Tutorial How to write a Python program to convert centimetres to inches Formula to convert centimetres to inches   Explanation of this Python Program This Python program prompts the user to enter a height in inches, converts it to centimeters, and then prints the converted value. It uses the conversion factor of 2.54 to perform the conversion and rounds the result to two decimal places before displaying it to the user. Here's an explanation of the provided Python program line by line: python inches = float ( input ( 'Enter the Height in inches to convert into centimeters:' )) This line prompts the user to enter a height in inches and assigns the entered value to the variable inches . The input() function is used to receive input from the user, and float() is used to convert the input into a floating-point number. python centimeters = inches * 2.54 This line calculates the equivalent value in centimeters by multiplying the inches variable by the conver