Programming Languages & Types of Programming Language

Programming Language



Programming language a set of words and symbols used to write programs. Programming language is a platform for programmer to write program for computer to instruct that computer. There are many programming languages which are used for writing programs for computers. These languages uses specific words and symbols which are written by programmer (it is called Coding) in some specific ways which command computer. C++, Java, SQL, python etc are some examples of programming languages.


Types of  Programming Languages:

Low Level Language:

Low-level programming languages are programming languages that are closely tied to the hardware of a computer. These languages are difficult to read and write and require a deep understanding of computer architecture. Examples of low-level programming languages include machine language and assembly language. Machine language is the lowest level of programming language and consists of binary code that directly controls the computer's hardware. Assembly language is a slightly higher-level language that uses mnemonic codes to represent machine language instructions. Low-level programming languages offer greater control over a computer's resources but require more effort and expertise to use effectively.

Types of Low Level Languges:


There are two main types of low-level languages: machine language and assembly language.

Machine Language:


Machine language is the lowest level of programming language. It is written in binary code, which is a series of 1s and 0s that represent the computer's machine code. This language is specific to a particular computer architecture, and it is not easy to read or write. Each instruction in machine language corresponds to a single operation that the computer can perform, such as adding two numbers or moving data from one memory location to another. Machine language is difficult to work with, and it is rarely used directly by programmers.

Assembly Language:


Assembly language is a low-level programming language that is easier to read and write than machine language. It uses mnemonics to represent each machine language instruction. These mnemonics are easier for humans to understand than binary code. Assembly language is specific to a particular computer architecture, just like machine language. However, it is easier to read and write than machine language. Assembly language is still considered a low-level language, but it provides some abstraction from the hardware, making it more accessible to programmers.

In summary, machine language is the lowest level of programming language, written in binary code, and specific to a particular computer architecture. Assembly language is easier to read and write than machine language, uses mnemonics to represent machine language instructions, and is also specific to a particular computer architecture.

High Level Languages:


High-level programming languages are programming languages that are designed to be easier to read and write than low-level languages. These languages are closer to natural language and allow programmers to write code that is more abstract and less tied to the underlying hardware. Examples of high-level programming languages include Python, Java, and C++. High-level programming languages offer greater abstraction and are more portable than low-level languages, making them easier to learn and use. They also offer a wider range of programming constructs and libraries, which can make programming tasks faster and more efficient.

Types of High Level Languages:

There are several types of high-level programming languages:

Procedural languages:

Procedural languages are the most common type of high-level programming language. These languages allow programmers to define a sequence of instructions that the computer will execute one after the other. Examples of procedural languages include C, Pascal, and Fortran.

Object-oriented languages:

Object-oriented languages are a type of high-level programming language that is based on the concept of objects. Objects are data structures that contain data and the operations that can be performed on that data. Examples of object-oriented languages include Java, C++, and Python.

Functional languages:

Functional languages are a type of high-level programming language that is based on the concept of functions. In these languages, functions are treated as first-class citizens, meaning that they can be passed as arguments to other functions, returned as values, and assigned to variables. Examples of functional languages include Haskell, Lisp, and ML.

Scripting languages:

Scripting languages are a type of high-level programming language that is used to write scripts or small programs that automate tasks. These languages are often used for web development, system administration, and scientific computing. Examples of scripting languages include Perl, PHP, and Ruby.

Markup languages:

Markup languages are not considered traditional programming languages but are used to define the structure and formatting of documents. Examples of markup languages include HTML, XML, and Markdown.


In summary, high-level programming languages provide a high level of abstraction from the computer's hardware and come in several types, including procedural languages, object-oriented languages, functional languages, scripting languages, and markup languages.


Comments

Popular posts from this blog

Client-Server Network Model: Types, Advantages, and Disadvantages Explained

What is Proxy Server? Working, Benefits & Limitations - Proxy Server Explained

Bus Topology: Advantages, Disadvantages, and How it Works