Digital Learning

Showing posts with label Programming language and its types. Show all posts
Showing posts with label Programming language and its types. Show all posts

Monday, November 18, 2019

FORTRAN Language:

FORTRAN: One of the oldest programming languages, the FORTRAN were created by a group of software engineers at IBM drove by John Backus, and was first distributed in 1957. The name FORTRAN is an abbreviation for Formula Translation, since it was intended to permit simple interpretation of math equations into code. 
Frequently alluded to as a logical language, FORTRAN was the primary significant level language, utilizing the main compiler at any point created. Preceding the improvement of FORTRAN software engineers were required to program in machine/get together code, which was an incredibly troublesome and tedious assignment, also the appalling errand of investigating the code. 

The goal during its plan was to make a programming language that would be: easy to learn, reasonable for a wide assortment of utilization, machine autonomous, and would permit complex scientific articulations to be expressed comparably to ordinary arithmetical documentation. While as yet being nearly as productive in execution as low level computing construct. Since FORTRAN was such a great amount of simpler to code, software engineers had the option to compose programs 500% quicker than previously, while execution effectiveness was just decreased by 20%, this permitted them to concentrate more on the critical thinking parts of an issue, and less on coding. 

FORTRAN was so creative not just on the grounds that it was the main elevated level language, yet additionally due to it's compiler, which is attributed as offering ascend to the part of software engineering presently known as compiler hypothesis. Quite a while after it's discharge FORTRAN had created a wide range of lingos, (because of exceptional tweaking by developers attempting to improve it suit their own needs) making it extremely hard to move programs starting with one machine then onto the next. 

These issues lead the American Standards Association (presently known as the American National Standards Association) to discharge it's first Standard for a Programming Language 1966. This originally institutionalized rendition has come to be known as FORTRAN '66 (otherwise known as.. FORTRAN IV). 

FORTRAN, in full Formula Translation, PC programming language made in 1957 by John Backus that abbreviated the way toward programming and made PC programming progressively open. 

The formation of FORTRAN, which appeared in 1957, denoted a critical stage in the improvement of PC programming languages. Past writing computer programs was written in machine (original) language or get together (second-age) language, which required the software engineer to compose directions in paired or hexadecimal math. 

FORTRAN empowered the fast composition of PC programs that ran about as effectively as projects that had been difficultly hand coded in machine language. As PCs were uncommon and amazingly costly, wasteful projects were a more prominent monetary issue than the protracted and meticulous advancement of machine-language programs. With the formation of a proficient more elevated level (or regular) language, otherwise called a third-age language, PC programming moved past a little cadre to incorporate architects and researchers, who were instrumental in extending the utilization of PCs. 

It was refreshed various occasions during the 1950s and 1960s so as to stay serious with increasingly contemporary programming languages. FORTRAN 77 was discharged in 1978, trailed by FORTRAN 90 out of 1991 and further updates in 1996 and 2004. Be that as it may, fourth-and fifth-age languages to a great extent displaced FORTRAN outside scholarly circles starting during the 1970s.

Friday, November 15, 2019

High Level Languages:



High Level Languages: 

The programming languages that are near human languages (model like English languages) are known as the High level languages. 
Examples of high level language are: 
1. FORTRAN 
2. COBOL 
3. Essential 
4. Pascal 
5. C 
6. C++ 
7. Java 

The High level languages are like English language. The program directions are composed utilizing English words, for instance print, input and so on. Be that as it may, every High level language has its own standard and syntax for composing program directions. 

The program written in High level language must be meant machine code before to run it. Every High level language has its own interpreter program. 

The High level programming languages are additionally isolated into: 
1. Procedural languages 
2. Non procedural languages 
3. Item arranged programming languages 

Favorable circumstances of High Level Languages: 
There are a few favorable circumstances of High level programming languages. The most High preferences are: 

1. Simple to learn - the High level languages are anything but difficult to learn than low level languages. The announcements composed for the program are like English-like explanations. 

2. Straightforward - the program written in High level language by one software engineer can without much of a stretch be comprehended by another on the grounds that the program guidelines are like the English language. 

3. Simple to compose program - in High level language, another program can without much of a stretch be written in a brief time frame. The bigger and confounded programming can be created in barely any days or months. 

4. Simple to identify and evacuate blunders - the mistakes in a program can be handily recognized and expelled. For the most part the blunders are happened during the arrangement of new program. 

5. Worked in library capacities - Each High level language gives an enormous number of implicit capacities or methodology that can be utilized to perform explicit undertaking during structuring of new projects. Right now, huge measure of time of software engineer is spared. 

6. Machine Independence - program written in High level language is machine autonomous. It implies that a program written in one sort of PC can be executed on another kind of PC. 

Confinement of High Level Language: 

There are two fundamental restrictions of High level languages are: 

1. Low proficiency - a program written in High level languages has lower effectiveness than one written in a machine/low level computing construct to do a similar activity. 
2. Less adaptability - High level languages are less adaptable than low level computing constructs since they don't typically have guidelines or system to control a PC's CPU, memory and register. 

Procedural Language: 
Procedural languages are otherwise called third era languages (3GLs). In a procedural language, a program is structured utilizing methods. 

A methodology is an arrangement of guidelines having an extraordinary name. The directions of the strategy are executed with the reference of its name. 

In procedural programming languages, the program guidelines are written in a grouping or in a particular request where they should be executed to tackle a particular issue. 

Some well known procedural languages are depicted underneath: 
FORTRAN it represents equation interpretation. 
COBOL - it represents regular business arranged language. It was created in 1959. This High level language was uniquely created for business and business applications. It was appropriate for taking care of huge measure of information,
for example,  

1. To get ready finance 
2. To process credit and charge account 
3. To control stock framework and numerous different business applications 

Pascal - this programming language is named in the respect of Blaise Pascal, a mathematician and researcher who concocted the principal mechanical adding machine. 

ADA - it is created in 1980 and is named in the respect of Lady Augusta ADA. She was the primary software engineer. The High level structure language Pascal was utilized as a model for the advancement of ADA language. This language is primarily utilized for protection purposes, for example, for controlling military weapons like rockets and so forth. 

C language - Dennis Ritchie and Brian Karnighan created it in 1972 at Bell Laboratories. It is a High level language however it can likewise bolster low level computing construct codes (low level codes). It is on the grounds that; C language is likewise alluded to as center level language. 
The program written in C can be arranged and run on a PC. As it were programs written in C language are compact. C language is an organized programming language. The fundamental component of C language is that, it utilizes countless implicit capacities to perform different assignments. The client can likewise make its own capacities. 

Non Procedural Languages: 
Non procedural programming languages are otherwise called fourth era languages. In non procedural programming languages, the request for program guidelines isn't High. The most High non procedural languages and instruments are talked about underneath: 

SQL - it represents organized question language. It is well known database get to language and is exceptionally used to get to and to control the information of databases. The word question speaks to that this language is utilized to make inquiries (or enquiries) to perform different procedure on information of database. 

RPG - it represents report program generator. This language was acquainted by IBM with produce business reports. Normally, RPG is utilized for application advancement on IBM midrange PCs, for example, AS/400. 

Article Oriented Programming Languages. 
The article arranged programming idea was presented in the late 1960s, however now it has become the most well known way to deal with create programming. 

In object arranged programming, the product is created by utilizing a lot of interfacing object. An item is a segment of program that has a lot of modules and information structure. The modules are additionally called strategies and are utilized to get to the information from the item. The advanced method to plan the program is object situated methodology. 
Presently a-days, generally mainstream and usually utilized item arranged programming (OOPs) languages are C++ and Java.


Thursday, November 14, 2019

Types of Programming Languages:

Types of Programming Languages

There are two Types of programming languages, which can be arranged into the accompanying ways: 

1. Low level language 

a) Machine language (1GL) 
b) Assembly language (2GL) 

2. High level language 

a) Procedural-Oriented language (3GL) 
b) Problem-Oriented language (4GL) 
c) Natural language (5GL) 

Low Level Languages :


The programming dialects that are exceptionally near machine code (0s and 1s) are called low-level programming dialects. 
The program guidelines written in these dialects are in parallel structure. 

The instances of low-level dialects are: 

  • Machine language 
  • Low level computing construct 

Machine Language: 

Machine language is understood by computer. Computer can understand only binary or machine language. Machine language consist of two digits like 0 and 1. Where 0 means off and 1 means on.

The guidelines in parallel structure, which can be straightforwardly comprehended by the PC (CPU) without deciphering them, is known as a machine language or machine code. 

Machine language is otherwise called original of programming language. Machine language is the essential language of the PC and the program guidelines right now in the parallel structure (that is 0's and 1's). 

This language is distinctive for various PCs. 
It is difficult to become familiar with the machine language. 

Preferred position of Machine Language: 
The main preferred position of machine language is that the program of machine language runs exceptionally quick in light of the fact that no interpretation program is required for the CPU. 

Drawback of Machine Language: 
Here are a portion of the principle disservices of machine dialects: 
Machine Dependent - the inside plan of each PC is not quite the same as each other sort of PC; machine language additionally contrasts starting with one PC then onto the next. Henceforth, in the wake of getting capable in the machine language of one sort of PC, in the event that an organization chooses to change to another kind, at that point its developer should gain proficiency with another machine language and would need to revise all current program. 

Hard to Modify - it is hard to address or adjust this language. Checking machine guidelines to find blunders is troublesome and tedious. 

Hard to Program - a PC executes machine language program legitimately and effectively, it is hard to program in machine language. A machine language programming must be learned about the equipment structure of the PC. 

Low level computing construct: 

It is another low-level programming language on the grounds that the program directions written right now near machine language. 

Low level computing construct is otherwise called second era of programming language. 

With low level computing construct, a developer composes guidelines utilizing emblematic guidance code rather than twofold codes. 
Representative codes are important shortened forms, for example, SUB is utilized for substation activity, MUL for duplicate activity, etc. In this manner this language is additionally called the low-level representative language. 

The arrangement of program directions written in low level computing construct are likewise called as memory aide code. 

Low level computing construct gives offices to controlling the equipment. 

Favorable position of Assembly Language: 

Here are a portion of the principle favorable circumstances of utilizing low level computing construct: 

Straightforward and use - because of the utilization of mental helper rather than numeric operation codes and representative names for information area rather than numeric locations, it is a lot more obvious and use conversely with machine language. 

Simpler to find and right mistakes - the software engineers need not to monitor stockpiling area of the information and guidance, less blunders are made while composing programs in low level computing construct and those that are made, are simpler to discover and address. 

Simple to alter - low level computing construct are more obvious, it is simpler to find, address and adjust guidance of a low level computing construct program. 
Proficiency of machine language - a low level computing construct program will be similarly as long as the subsequent machine language program. 

Impediment of Assembly Languages: 

Furthermore, here are a portion of the fundamental impediments of utilizing low level computing construct: 
Machine subordinate - every guidance of low level computing construct program is converted into precisely one machine language guidance, a low level computing construct programs are reliant on machine language. 

Information on equipment required - low level computing constructs are machine needy, a low level computing construct developer must have a decent information on qualities and intelligent structure of his/her PC to compose a decent low level computing construct PC code. 

Machine level coding - low level computing construct guidance is fill in for one machine language guidance. Henceforth like machine language programs, compose low level computing construct program is additionally tedious and troublesome.

Wednesday, October 16, 2019

What is Programming Language?



* A programming language is a computer language which contain a set of instructions that produce many kinds of output. Mostly programming languages include set of instructions for computer system. There are different kinds of programming language that are used for developing computer software. Today there are hundreds of different programming languages like ALGOL, BASIC, C,C++, COBOL, Lisp, Java, JavaScript, JCL, QBasic, Python, PHP, Perl, Pick, LOGO, Lua, Metro, Nim, MUMPS, RPG, Rust, SPL, SQL, Tcl, Turbo, FoxPro etc.

* Computer programming languages enable us to give instructions to the computer system. As we all know that computer understand only machine languages and human can understand only high level languages so there is a need to convert high level language into machine language, translator that translate high level language into machine language is known as compiler. Computer can understand only binary language that is 0 and 1, where 0 means off and 1 means on.

* A programming language is a set of instructions, directions, and other sentence structure use to make a product program. Dialects that developers use to compose code are designated "significant level dialects." This code can be gathered into a "low-level language," which is perceived straightforwardly by the PC equipment.

* High-level dialects are intended to be anything but difficult to peruse and comprehend. This permits software engineers to compose source code in a characteristic manner, utilizing coherent words and images. 
* For instance, saved words like capacity, while, if, and else are utilized in most significant programming dialects. Images like <, >, ==, and! = are normal administrators. Some significant level dialects are comparative enough that software engineers can without much of a stretch comprehend source code written in different dialects. 
* Examples of elevated level dialects incorporate C++, Java, Perl, and PHP. Dialects like C++ and Java are designated "aggregated dialects" since the source code should initially be gathered so as to run. 
* Dialects like Perl and PHP are classified "deciphered dialects" since the source code can be gone through a translator without being incorporated. For the most part, aggregated dialects are utilized to make programming applications, while deciphered dialects are utilized for running contents, for example, those used to create content for dynamic sites.

* Low-level dialects incorporate get together and machine dialects. A low level computing construct contains a rundown of fundamental guidelines and is considerably more hard to peruse than an elevated level language. In uncommon cases, a software engineer may choose to code an essential program in a low level computing construct to guarantee it works as productively as could reasonably be expected. 
* A constructing agent can be utilized to make an interpretation of the get together code into machine code. The machine code, or machine language, contains a progression of twofold codes that are seen straightforwardly by a PC's CPU. Obviously, machine language isn't intended to be comprehensible.

* Kinds of Programming Languages: 
* There are two kinds of programming dialects, which can be sorted into the accompanying ways: 
    1. Low level language
2. Machine language (1GL)
3. Assembly language (2GL)
4. High level language
5. Procedural-Oriented language (3GL)
6. Problem-Oriented language (4GL)
7. Natural language (5GL)