Generation of Computer language by arya dutta (1).pptx

AryaDutta4 71 views 20 slides Oct 08, 2022
Slide 1
Slide 1 of 20
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20

About This Presentation

This ppt is make by a school student of class 11 studying computer science to help others in there school project.
thank you :D


Slide Content

Generation of Computer language By :- Arya Dutta

What is programming language ? A programming language is a computer language that is used by programmers (developers) to communicate with computers. It is a set of instructions written in any specific language ( C, C++, Java, Python) to perform a specific task. A programming language is mainly used to develop desktop applications, websites, and mobile applications. Although many languages share similarities, each has its own syntax. Once a programmer learns the languages rules, syntax, and structure, they write the  source code  in a text editor or IDE. Then, the programmer often compiles the code into machine language that can be understood by the computer. Scripting languages, which do not require a compiler, use an interpreter to execute the script .

Types Of Programming language There are two types of programming language:- Low level programming languages:- First generation computer language. Second generation computer language.  High-level programming language:- Third generation computer language. Forth generation of computer language Fifth generation of computer language

First generation computer language or Machine language A first-generation programming language is a machine-level programming language. A first generation language is a grouping of programming languages that are machine level languages used to program first-generation computers. Originally, no translator was used to compile or assemble the first-generation language. The first-generation programming instructions were entered through the front panel switches of the computer system. The instructions in 1GL are made of binary numbers, represented by 1s and 0s. This makes the language suitable for the understanding of the machine but far more difficult to interpret and learn by the human programmer.

Second generation computer language or Assembly Language A second generation (programming) language (2GL) is a grouping of programming languages associated with assembly languages. Unlike the first generation languages, programs can be written symbolically, using English words (also known as mnemonics), in a way that a human can understand and are subsequently converted into machine language by an assembler. 2GL are mostly used for the implementation of low-level kernels and drivers and for performance-oriented and processing-intensive applications such as computer games, graphic manipulation applications and video editing applications. The symbolic representation of machine Instructions, registers and memory addresses allows the programmer to produce a human-readable program. For the computer to understand the program it must be converted to a machine readable format using an Assembler. The Assembler usually converts the Mnemonics via a one-to-one mapping from the mnemonic representation to machine language, for a particular processor family and environment.

Third generation computer language or high level language 3GLs are much more machine-independent and more programmer-friendly. This includes features like improved support for aggregate data types, and expressing concepts in a way that favors the programmer, not the computer. A third generation language improves over a second-generation language by having the computer take care of non-essential details. 3GLs are more abstract than previous generations of languages, and thus can be considered higher-level languages than their first- and second-generation counterparts. First introduced in the late 1950s,  Fortran ,  ALGOL , and  COBOL  are examples of early 3GLs. Most popular general-purpose languages today, such as  C ,  C++ ,  C# ,  Java ,  BASIC  and  Pascal , are also third-generation languages, although each of these languages can be further subdivided into other categories based on other contemporary traits. Most 3GLs support  structured programming . Many support  object-oriented programming . Traits like these are more often used to describe a language rather than just being a 3GL.

Foth generation language or object oriented programming language Computer programming language that is intended to be easier for user Than machine languages assembly languages and the older high level Languages. 4GL are closer to human language than other high level Languages and are accessible to people without formal training as Programmer They allow multiple common operations to be performed with a single programmer-entered command. 4GLs are usually not general-purpose languages like third-generation languages such as C++

5 th GENERATION LANGUAGE (L5 ) A fifth generation (programming) language (5GL) is a grouping of programming languages build on the premise that a problem can be solved, and an application built to solve it, by providing constraints to the program (constraint-based programming), rather than specifying algorithmically how the problem is to be solved (imperative programming). In essence, the programming language is used to denote the properties, or logic, of a solution, rather than how it is reached. Most constraint-based and logic programming languages are 5GLs. A common misconception about 5GLs pertains to the practice of some 4GL vendors to denote their products as 5GLs, when in essence the products are evolved and enhanced 4GL tools.

Most Used programming languages are :- Java Python C++ Go C#

Python Python is one of the most widely used user-friendly programming languages. It is an open-source and easy to learn programming language developed in the 1990s. It is mostly used in Machine learning, Artificial intelligence, Big Data, GUI based desktop applications, and Robotics.

Advantages Python is easy to read, easy to understand, and easy to write. It integrates with other programming languages like C, C++, and Java. Python executes code line-by-line, so it is easy for the programmer to find the error that occurred in the code. Python is platform-independent means you can write code once and run it anywhere. Disadvantages Python is not suitable for developing mobile applications and games. Python works with the interpreter. That's why it is slower than other programming languages like C and C++.

  Java Java is a simple, secure, platform-independent, reliable, architecture-neutral high-level programming language developed by Sun Microsystems in 1995. Now, Java is owned by Oracle. It is mainly used to develop bank, retail, information technology, android, big data, research community, web, and desktop applications.

Advantages Java is easy to write, compile, learn, and debug as compared to other programming languages. It provides an ability to run the same program on different platforms. It is a highly secured programming language because in java, there is no concept of explicit pointers. It is capable of performing multiple tasks at the same time. Disadvantages Java consumes more memory and slower than other programming languages like C or C++. It does not provide a backup facility.

C++ C++ is one of the thousands of programming languages that we use to develop software. C++ programming language is developed by Bjarne Stroustrup in 1980. It is similar to the C programming language but also includes some additional features such as exception handling, object-oriented programming, type checking, etc.

Advantages C++ is a simple and portable structured programming language. It supports OOPs features such as Abstraction, Inheritance, Encapsulation. It provides high-level abstraction and useful for a low-level programming language, and more efficient for general-purpose. C++ is more compatible with the C language. Disadvantages C++ programming language is not secured as compared to other programming languages like Java or Python. C++ can not support garbage collection. It is difficult to debug large as well as complex web applications.

Go Go or Golang is an  open-source programming language . It is used to build simple, reliable, and efficient software. It is developed by  Robert Griesemer, Rob Pike, and Ken Thompson in 2007 .

Advantages Go language is easy-to-learn and use. It comes with the in-built testing tools. Go is a fast programming language. Disadvantages Go language does not support generics. It does not support error handling. It supports a lack of frameworks.

C# C# (pronounced as C sharp) is a modern, general-purpose, and object-oriented programming language used with XML based Web services on the .NET platform. It is mainly designed to improve productivity in web applications. It is easier to learn for those users who have sufficient knowledge of common programming languages like C, C++, or Java.

Advantages C# is a modern, type-safe, easy, fast, and open-source programming language that is easily integrated with Windows. The maintenance of C# (C sharp) is lower than the C++ programming language. C# is a pure object-oriented programming language. C# includes a strong memory backup facility. That's why it avoids the problem of memory leakage. Disadvantages C# is less flexible because it is completely based on Microsoft.net framework. In C#, it is difficult to write, understand, debug, and maintain multithreaded applications.