Why we use Programming languages || Details in simple words
In the history of computers, Programming has been defined as a system that tells the computer how to perform some task on a computer screen.
A computer program contains specific instructions that tell the computer how and when to perform a task.
What are Programming languages?
Instructions to the computer must be given in the computer's own language. Computers have many programming languages.
Actually, a person gives any type of instructions to the computer system. A person who gives some instructions to the computer by using specific computer languages is called a Programmer or Computer Programmer. A Programmer or Computer Programmer is also called a Developer.
A programmer makes a set of instruction by using programming languages, In this set of instruction programmer tell the computer how to perform some function or action.
If you are interested in programming, you must know that computers understand just binary language. Basically, computer binary language just have two value one is "0" and the second is "1".
Further the two binary numbers 0 and 1 have their own values, the binary number "0" means false and the binary number "means" true.
During performing some tasks, the computer just understands true or false values. A computer checks the conditions of specific programs if the condition is true then the following function is executed and the results show on the screen if the condition is false then the computer program does not comfortable with the given instruction(program), and the finals results does not show in the screen.
There are many programming languages. Every programming language in the computer must have an algorithm. The programming language executes results by using algorithms.
Below is a list of a few top programming languages:
- C
- C++
- C#
- Java
- PHP
- Python
- OOP(Object Oriented Programming)
- Ruby
- Rust
- SQL
Types of Programming Languages
There are two types of computer programming languages one's programming language is Low-Level Language and the second programming language is High-Level Language There are so many computer languages that they are divided into two groups.
- Low-Level Programming Languages
- High-Level Programming Languages
• Low-Level Programming Languages
A Low-Level Programming Language is a type of computer programming that is easy to understand for a computer system but very difficult for a human (developer) to understand. That is why Low-Level Programming Languages are near to the computer system and far for the developer.
There are further two types of Low-Level Programming Languages:
- Machine language
- Assembly Langage
1. Machine language
Machine language is also called binary language and is the first generation of programming language. In machines, language codes are written in the form of banners (0,1). This means machine language is very far for humans(developers). In machine languages, a developer will write all computer instructions in the form of binary numbers(0,1).
You will rarely hear of someone being a machine language programmer or a developer because machine language is very difficult to learn and program. That is why machine language developers or programmers are so rare.
Only computer hardware engineers use machine language for a specific task. The code of the machine language runs very fast on the system.
The advantage of machine language is that it runs directly on a computer, so a computer system does not need a translator to execute machine language code or program. This is the reason why machine language is also called the closest language of computer systems.
One of the disadvantages of machine language is that if there is an error occurs in the code or program of the machine language, it is very difficult to find it. Fixing these simple words and machine language errors is very difficult.
2. Assembly language
Assembly language is also called the second generation of computer programming language. Assembly language is a second low-level language.
In assembly language, A programmer writes a program of several code lines in a word, those words are called Mnemonic.
A computer needs a translator to understand the code that is written in assembly languages. The translator that use to translate the assembly language is called Assemble.
Mostly used of assembly language is to create real-time systems. For example, real-time systems are like televisions, ovens, Security Systems, Fax-Machines, etc.
• High-Level Programming Languages
High-Level Programming Languages are just opposite of the Low-Level Programming Languages. A -High-Level Programming Languages is a type of computer programming that is easy to understand for a human or developer but very difficult for a computer to understand. That is why Low-Level Programming Languages are near to humans and far from the computer system.
Mostly high-level language is used for developing software, etc. There are three generations of High-Level Programming Languages. Below is a list of few High-Level Programming Languages:
- C
- C++
- C#
- FORTRAN
- Java
- etc
High-Level Programming Languages are written in the English word. Computers understand only binary (0,1) language to execute programs, so a developer used a translator to execute high-level programming language code.
Addition
There are a total of five generations of programming languages:
- First-generation programming language(1GL, Machine language).
- Second-generation programming language(2GL, Assembly language).
- Third-generation programming language(3GL).
- Fourth-generation programming language(4GL).
- Fifth-generation programming language(5GL).
إرسال تعليق