Introduction to Programming Language | Various Types of Programming Language | Computer Science Technology
![]() |
Introduction of Programming Language |
Introduction to Programming
Every year millions of students computer scientists are made in all over world. Although a computer scientist does not just do programming, but programming is a very important part of computer science.
Therefore, as a beginning programmer, it is very important for you to understand the concept of programming and its related components properly.
There are so many programmers who are doing programming but they do not know the concept behind programming. Let's try to know about it.
In simple words, programming is a process in which a programmer instructs the CPU (Central Processing Unit) to perform a task. This task can be anything like adding two numbers etc.
Programming takes a holistic look consisting of some components.
✓ Programming Language
✓ Compiler and Interpreter
✓ Programmer
These components are being described in detail below.
Programming Language
Whenever humans interact, they do so through a language. With a CPU, you also communicate through language.
The language that programmers use to talk to the CPU is called programming language.
By the way, the CPU only understands binary language. But it is impossible for any human to do programming in binary language.
Therefore, such programming languages were created which are in simple English so that any human can easily do programming.
Doing this made programming much easier. Now as you can see, everyone can learn to do programming by getting basic information. But earlier this was not possible.
Types of Programming Languages
More than 256 programming languages have been developed so far. Every language has been developed for a different purpose.
![]() |
Various Types of Programming Language |
According to Purpose, programming languages are mainly divided into 5 categories.
- (1) Machine Language / Machine Code
This is the code that CPU directly executes. Machine code is in hexadecimal. It is very close to the hardware. It is also called low level language.
- (2) Assembly language
Assembly language was created to make the machine code even more readable. Labels have been added to it, which makes it even easier to perform tasks. It is also a low level language.
- (3) High Level Language
High level languages are independent of hardware such as C, C ++, and java etc. The code of these languages is not directly converted to machine code.
- (4) System Language
This type of languages is used to manage a computer. They are used to perform low level tasks. Such as memory management, process management etc.
- (5) Scripting Languages
This type of languages acts as a bridge between the system and other applications. Such as PHP etc.
Common Programming Languages
Here is a list of some programming languages. You may have heard about some of these before.
- ✓ C language
- ✓ C ++
- ✓ Java
- ✓ C #
- ✓ PHP
- ✓ Python
- ✓ Java script
- ✓ Pascal
- ✓ Visual basic
- ✓ Fortran
Let us now try to know what are compiler and interpreter.
Compiler and Interpreter
As I told you, the computer only understands binary language and it is very difficult to program human into binary.
So a program was developed that could take instructions from programmers in the form of simple English statements and convert it to binary and pass it to the CPU. This program is called compiler.
The compiler acts like a bridge between a programmer and a CPU. You can also call it translator. A compiler performs many tasks, these are being given below.
- ✓ Compiler syntax error checks. If a syntax error occurs, the programmer is notified about it.
- ✓ Converts compiler source code to machine language.
- ✓ The compiler generates a machine executable file.
Let us now try to find out about the interpreter.
Some languages use interpreter instead of compiler. Both compiler and interpreter do the same thing. The only difference is that the compiler generates machine code by compiling the entire source code together which can be completely executed at once.
Whereas an interpreter converts the instructions into machine code and executes simultaneously. Languages uses compiler and interpreter according to your requirement.
Programmer
In the initial days people used to do programming due to interest but now it has taken the form of a job.
A programmer is a person who has knowledge of a programming language.
A programmer uses his knowledge to solve the real world problem with the help of programming language.