A programming language is a set of instructions that helps a computer perform tasks. The most common computer languages are text-based formal languages, but they can also be expressed graphically. Its description of a programming language is basically divided into two components. One component is called syntax (form), and the other is called semantics (meaning).
Programming language theory is the subfield of computer science that studies the designs and implementations of programming languages. As an example, human beings can talk and understand each other in their language. Computers can’t understand the languages of human beings, so they developed programming languages that are understandable by computers.
Procedural language is follow the sequence of commands and achieve the output. The output of a procedural language is obtained by following the command sequence.
Common example of procedural language :
C and C++
Functional languages give output of mathematical functions and evaluations. This language is not focus on execution of commands. Every function, which is a reusable module of code, completes a certain task and produces a result. The output will dependent on input value which id given in function.
Example of functional language :
This type of language treats a program as a group of objects composed of data and program elements, known as attributes and methods. Objects are reusable across programs or within the same program, allowing it to handle complex programming with ease. This makes it more and more popular.
Example of Object-oriented programming language :
Scripting language is mostly use for manage dynamic web content or as a supporting to processor in large applications. Repetitive task also handled by the scripting language.
Example of Scripting Language :
A set of facts and rules are expressed in the logic programming language to give the computer guidance on how to make decisions.
Example of Login Programming Language :
Front-end languages mostly work with user interfaces. The front-end basically deals with text, colors, buttons, images, and navigations of application or website. It is also useful to handle the graphics.
Example of front-end languages :
Back-end programming language is generally used for database actions. Back-end is responsible for all the activity which is not necessary to show to the users.
For example, User need to load website that time user only want to see website. User know that website is loaded. Its front-end part but user don’t know about established port number for this site. They don’t know about how connection is going between user and server. It is back-end.
Example of back-end languages :