What is Computer Programming? and type of Programming Language
Computer Programming ?
A computer program is a sequence of instructions written using a Computer Programming Language to perform a specified task by the computer. The computer program is programmer. The programmer is a person who know the programming language.
Types of programming language
1. Low-level programming language
2. High-level programming language
1. Low-level programming language
Low-level language is machine-dependent (0s and 1s) programming language. The processor runs low- level programs directly without the need of a compiler or interpreter, so the programs written in low-level language can be run very fast.
Low-level language is further divided into two parts –
i. Machine Language
ii. Assembly Language
i. Machine Language
Machine language is a type of low-level programming language. It is also called as machine code or object code. Machine language is easier to read because it is normally displayed in binary or hexadecimal form (base 16) form. It does not require a translator to convert the programs because computers directly understand the machine language programs.
The machine language is that it helps the programmer to execute the programs faster than the high-level programming language.
ii. Assembly Language
Assembly language (ASM) is also a type of low-level programming language that is designed for specific processors. It represents the set of instructions in a symbolic and human-understandable form. It uses an assembler to convert the assembly language to machine language.
Assembly languages directly correspond to a machine language.The assembly language is that it requires less memory and less execution time to execute a program.
2. High-level programming language
High-level programming language (HLL) is designed for developing user-friendly software programs and websites. This programming language requires a compiler or interpreter to translate the program into machine language (execute the program). the high-level language is that it is easy to read, write, and maintain.
High-level programming language example Python, Java, JavaScript, PHP, C#, C++, Objective C, Perl, LISP, Pascal, Cobol, FORTRAN, and Swift programming language etc.
A high-level language is further divided into three parts –
i. Procedural Oriented programming language
ii. Object-Oriented Programming language
iii. Natural language
i. Procedural Oriented programming language
Procedural Oriented Programming (POP) language is derived from structured programming and based upon the procedure call concept. It divides a program into small procedures called routines or functions.
Procedural Oriented programming language is used by a software programmer to create a program that can be accomplished by using a programming editor like IDE, Adobe Dreamweaver, or Microsoft Visual Studio.
Example: C, FORTRAN, Basic, Pascal, etc.
ii. Object-Oriented Programming language
The Object-Oriented Programming language follows a bottom-up approach. Object-Oriented Programming (OOP) language is based upon the objects. In this programming language, programs are divided into small parts called objects. It is used to implement real-world entities like inheritance, polymorphism, abstraction, etc in the program to makes the program resusable, efficient, and easy-to-use. the object-oriented programming is that OOP is faster and easier to execute, maintain, modify, as well as debug.
Example: C++, Java, Python, C#, etc.
iii. Natural language
Natural language is a part of human languages such as English, Hindi, Russian, German, and Japanese. It is used by machines to understand, manipulate, and interpret human's language. It is used by developers to perform tasks such as translation, automatic summarization.
The natural language is that it helps users to ask questions in any subject and directly respond within seconds.
3. Middle-level programming language
Middle-level programming language lies between the low-level programming language and high-level programming language. It is also known as the intermediate programming language and pseudo-language.
The middle-level programming languages are that it supports the features of high-level programming, it is a user-friendly language, and closely related to machine language and human language.
Example: C, C++, language
Reviewed by Sarvgya
on
July 10, 2023
Rating:

No comments: