FOC HoPL
FOC HoPL
FOC HoPL
Assignment Number 01 Prepared for: Mujtaba Memon Student Name: Maaz Saleem Student ID: 15124
Page 2 2
FUNDAMENTAL OF COMPUTING
FIRST THREE MODERN PROGRAMMING LANGUAGES WERE; ForTRAN (FORMULA TRANSLATOR), LISP (List Processor), COBOL (Common business oriented language) , ensued by algol 60 (Algorithmic language)
Page 3
FUNDAMENTAL OF COMPUTING
different representations while skipping the details is called abstraction. Implementation is basically the execution of an idea or a plan. The step by step procedure for calculation is called Algorithm. It was undoubtedly the most successful of the four high level programming languages out of its 4 contemporaries. It consolidated many ideas circulating at the time and featured two key language innovations: Code Block: Grouping of a section of code Lexical Scoping : a block could have its own private variables, procedures and functions, invisible to code outside that block. A scope is the context within a computer program in which a variable name or other identifier is valid and can be used, or within which a declaration has effect. A variable is a storage location and an associated symbolic name which contains some known or unknown quantity or information, a value. It was an extended subset of Algol. Algol 68's many little-used language features (e.g. concurrent and parallel blocks) and its complex system of syntactic shortcuts and automatic type coercions defame it with implementers. Many other languages also appeared after ALGOL which included the PASCAL. Some of the famous programming languages include; C++ C++ an advance version of C language is a multi paradigm compiled language devolped by Bjarne Stroustrup. It tries to bring together the backwardness of C and object orientation on the same ground which helps in difficult areas. Inspite of its old age it is still use to create games and apps. Strengths: Speed Weaknesses: C++ an old objected oriented language is considered clumsier than Java. Java Java an object-oriented programming language make use of a compiler and was first released by Sun Microsystems in 1995. Java is a well organized language for two reasons: 1. Executable on different machine by the use of JVM (Java virtual machine). 2. Strong library of refunctionable components of software.
Page 4
FUNDAMENTAL OF COMPUTING
The biggest advantage of using first generation programming language is that the codes written by the user function and perform extremely fast as they are directly operated by the device. However, the codes are difficult to understand and write and in case an error occurs its extremely hard to edit it. For example, assembly code is a first generation language. Second-generation programming languages, is a category of assembly languages. They have the following features. The programmer reads and writes the code, there is a compiler or an assembler which converts the language into machine readable version through a process called Assembly. For example, COBOL and FORTRAN are the second generation languages.
Page 5
FUNDAMENTAL OF COMPUTING
Third-generation programming language (3GL) is infact an advanced generation or the successor of second generation languages with its basic aim to make the programming language much more user-friendly. They are also called High level languages. For example, C, C++, C#, Java, Basic and Delphi are the third generation language.