Programming Languages PDF
Document Details
Uploaded by Deleted User
Ms. Mary Jade C. Jakosalem
Tags
Summary
This document provides an overview of programming languages, categorizing them into generations (1GL to 5GL). It explains the characteristics of each generation and provides examples of languages within each category. Programming languages are fundamental to software development.
Full Transcript
Ms. Mary Jade C. Jakosalem, LPT, MBA PROGRAMMING LANGUAGES WHAT IS A PROGRAMMING LANGUAGE? It is the third category of computer software which is used by programmers to write programs, scripts, and instructions which can be executed by a computer. There is always a similarity betwee...
Ms. Mary Jade C. Jakosalem, LPT, MBA PROGRAMMING LANGUAGES WHAT IS A PROGRAMMING LANGUAGE? It is the third category of computer software which is used by programmers to write programs, scripts, and instructions which can be executed by a computer. There is always a similarity between programming languages, the only difference being the syntax. GENERATIONS OF PROGRAMMING LANGUAGES FIRST GENERATION LANGUAGES 1GL are low-level languages that are essentially written with machine language code. Machine language code comprises binary code, that is, a series of zeros and ones (0,1). SECOND GENERATION LANGUAGES 2GL are low-level assembly languages used in kernels and hardware drives. These programming languages were popular in the late 1950s. Assembly language uses structured commands in place of binary numbers allowing us to read the code easier than looking at binary code. It uses an assembler to convert language statements to machine language. THIRD GENERATION LANGUAGES 3GL are high-level languages like Pascal, C, C++, Java, Basic and JavaScript. High-level languages are also easier to understand since their code uses some English- type words. In order to execute 3GL programs, the source program must be translated to its binary form using an interpreter or compiler. FOURTH GENERATION LANGUAGES 4GL are languages that consist of English- type statements that are similar to statements in the human language. These are used mainly in database programming and scripting. Example of these languages include Perl, Python, Ruby, SQL, MatLab (MatrixLaboratory). FIFTH GENERATION LANGUAGES 5GL are the programming languages that have visual tools to develop a program. Examples of fifth generation language include Mercury, OPS5, and Prolog. ANY QUESTIONS?