SlideShare a Scribd company logo
1 of 25
Download to read offline
INTRODUCTION TO
LEARNING OBJECTIVES
Introduction to Software
2
▰ Identify system programs and application programs
▰ discuss basic concepts of high- and low-level languages
SOFTWARE
written programs, procedures or rules and associated
documentation pertaining to the operation of a computer system
and that are stored in read/write memory
3
SOFTWARE
1. System Software
2. Application Software
4
SOFTWARE
1. Executable file
intended to be executed by users or automatically launched by the
operating system.
5
SOFTWARE
2. Local Application Software
its files are placed in the appropriate locations on the computer’s hard
disk and may require additional configurations with the underlying
operating system so that it can be run as and when required.
6
SOFTWARE
3. Portable Software
is basically designed to run from removable storage, such as a CD or
USB flash drive without installing its program files or configuration
data on the hard disk.
7
SOFTWARE
4. Web Application Software
is accessed through a Web browser and most of its program code runs on
a remote computer connected to the Internet or other computer network.
8
PROGRAMMING LANGUAGES
Introduction to Software 9
4
“ It is composed of a set of
instructions in a language
understandable to the programmer
and recognizable by a computer.
10
10
Programming Languages
Programming Languages 11
Computer languages have been
continuing to grow and evolve since
the 1940’s.
Most programming languages are
designed to be good for one
category of applications but not
necessarily for the other.
The development of programming
languages has been governed by a
number of factors such as type and
performance of available hardware,
applications of computers in
different fields, the development of
new programming methodologies
and its implementation etc.
GENERATION OF PROGRAMMING LANGUAGES
▰ First generation language (1GL)—machine language
12
The instructions in machine language are written in the form of binary
codes that can immediately be executed by the processor.
A machine language instruction generally has three parts:
General format of machine language instruction
GENERATION OF PROGRAMMING LANGUAGES
▰ First generation language (1GL)—machine language
13
Machine language is considered to be the first generation (1GL). As it is the
native language of the computer, CPU can directly start executing machine
language instructions. But the limitations of using machine language in
writing programs include the following:
DIFFICULT TO USE AND ERROR PRONE. It is difficult to understand and develop a
program using machine language because it is hard to understand and remember the various
combinations of 1’s and 0’s representing data and instructions.
MACHINE INDEPENDENT. As the internal design of the computer is different across
types, which in turn is determined by the actual design or construction of the ALU, CU, and size of
the word of the memory unit, the machine language also varies from one type of computer to
another.
GENERATION OF PROGRAMMING LANGUAGES
▰ Second generation language (2GL)—assembly language
14
Assembly language is considered to be a second generation language
(2GL). In this language, an instruction is expressed using mnemonic codes
instead of binary codes. Normally an assembly language statement
consists of a label, an operation code, and one or more operands.
LABELS. Are used to identify and reference instructions in the program.
OPERATION CODE. Is a symbolic notation that specifies the particular operation to be
performed, such as MOV, ADD, SUB, or CMP etc.
OPERAND. Represents the register or the location in main memory where the data to be
processed is located.
GENERATION OF PROGRAMMING LANGUAGES
▰ Second generation language (2GL)—assembly language
15
Writing a program in assembly language is more convenient than writing in
machine language. Instead of binary sequence, as in machine language, a
program in assembly language is written in the form of symbolic instructions.
This gives the assembly language program improved readability. It also offers
several disadvantages.
• The most eminent disadvantage of assembly language is that it is machine dependent.
Assembly language is specific to the internal architecture of a particular model of a processor
and the programmer should know all about the internal architecture of the processor. A
program written in assembly language for one processor will not work on a different
processor if it is architecturally different.
GENERATION OF PROGRAMMING LANGUAGES
▰ Second generation language (2GL)—assembly language
16
Writing a program in assembly language is more convenient than writing in
machine language. Instead of binary sequence, as in machine language, a
program in assembly language is written in the form of symbolic instructions.
This gives the assembly language program improved readability. It also offers
several disadvantages.
• Though mnemonic codes are easier to be remembered than binary codes, programming with
assembly language is still difficult and time-consuming.
GENERATION OF PROGRAMMING LANGUAGES
▰ Third generation language (3GL)—high-level language
17
High-level languages are called third generation languages (3GLs). High-
level programming languages were developed to make programming easier
and less error-prone. Languages like C, C++, COBOL, FORTRAN, BASIC,
PASCAL etc., have instructions that are similar to English language that
makes it easy for a programmer to write programs and identify and correct
errors in them.
10 LET X = 7
20 LET Y = 10
30 SUM = X + Y
40 PRINT SUM
50 END
* Program written in BASIC to obtain the sum of two numbers.
GENERATION OF PROGRAMMING LANGUAGES
▰ Third generation language (3GL)—high-level language
18
Most third generation languages are procedural in nature. That is, the
programmer must specify the sequential logically related steps to be
followed by the computer in a program.
As computer only understands machine language, a program written in a
high level language must be translated into the basic machine language
instruction set before it can be executed. This can be performed either by a
compiler, or by interpreter.
One statement in a high-level programming language will be translated into
several machine language instructions.
GENERATION OF PROGRAMMING LANGUAGES
▰ Third generation language (3GL)—high-level language
19
Advantages of high-level programming languages are many fold which are
as follows.
READABILITY. Programs written in these languages are more readable than those written in
assembly and machine languages.
PORTABILITY. High-level programming languages can be run on different machines with
little or no change.
EASY DEBUGGING. Errors can be easily detected and removed.
EASE IN THE DEVELOPMENT OF SOFTWARE. Since the instructions or statements of
these programming languages are closer to the English language, software can be developed
with ease.
GENERATION OF PROGRAMMING LANGUAGES
▰ Fourth generation language (4GL)—non-procedural
language
20
The Fourth Generation Language (4GL) is a non-procedural language that
allows the user to simply specify what is wanted without describing the
steps that the computer has to follow to produce the result.
This class of languages requires significantly fewer instructions to
accomplish a particular task than does a third generation language. Thus, a
programmer should be able to write a program faster in 4GL than in a third
generation language.
GENERATION OF PROGRAMMING LANGUAGES
▰ Fourth generation language (4GL)—non-procedural
language
21
The main areas and purviews of 4GLs are: database queries, report
generators, data manipulation, analysis and reporting, screen painters, etc.
An example of a 4GL is the query language that allows a user to request
information from a database with precisely worded English-like sentences.
A query language is used as a database user interface and hides the specific
details of the database from the user.
GENERATION OF PROGRAMMING LANGUAGES
▰ Fourth generation language (4GL)—non-procedural
language
22
The following example shows a query in a common query language, SQL.
SELECT address FROM EMP WHERE empname = ‘PRADIP DEY’
With a report generator, the programmer specifies the headings, detailed
data, and other details to produce the required report using data from a file.
GENERATION OF PROGRAMMING LANGUAGES
▰ Fourth generation language (4GL)—non-procedural
language
23
4GLs offer several advantages which include the following.
▰ Like third generation languages, fourth generation languages are mostly machine
independent. They are primarily used mainly for developing business applications.
▰ Most of the fourth generation languages can be easily learnt and employed by end-users.
▰ All 4GLs are designed to reduce programming effort, the time it takes to develop software,
and the cost of software development. Programming productivity is increased when 4GL is
used in coding.
GENERATION OF PROGRAMMING LANGUAGES
▰ Fifth generation language (5GL)—natural languages
24
Natural languages represent the next step in the development of
programming languages belonging to Fifth Generation Language (5GL).
Natural language is similar to query language, with one difference: it
eliminates the need for the user or programmer to learn a specific
vocabulary, grammar, or syntax.
GENERATION OF PROGRAMMING LANGUAGES
▰ Fifth generation language (5GL)—natural languages
25
Actually, 5GL is a programming language based around solving problems
using constraints given to the program, rather than using an algorithm
written by a programmer.
OPS5 and Mercury are examples of fifth generation languages.
Fifth generation languages are used mainly in artificial intelligence
research.

More Related Content

Similar to INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf

Programming language
Programming languageProgramming language
Programming language
Ayesha Waheed
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
Suneel Dogra
 
Computer programming
Computer programmingComputer programming
Computer programming
Suneel Dogra
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
kapil078
 

Similar to INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf (20)

What is Assembly & Procedural Programming Languages?
What is Assembly & Procedural Programming Languages?What is Assembly & Procedural Programming Languages?
What is Assembly & Procedural Programming Languages?
 
Notacd071
Notacd071Notacd071
Notacd071
 
Notacd07
Notacd07Notacd07
Notacd07
 
Nota programming
Nota programmingNota programming
Nota programming
 
La5 programming
La5  programmingLa5  programming
La5 programming
 
Generation of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptxGeneration of Computer language by arya dutta (1).pptx
Generation of Computer language by arya dutta (1).pptx
 
Programming languages of computer
Programming languages of computerProgramming languages of computer
Programming languages of computer
 
Computer Programming
Computer Programming Computer Programming
Computer Programming
 
Computer
ComputerComputer
Computer
 
Programming language
Programming languageProgramming language
Programming language
 
CH 01.pptx
CH 01.pptxCH 01.pptx
CH 01.pptx
 
Algorithm and flowchart(1)
Algorithm and flowchart(1)Algorithm and flowchart(1)
Algorithm and flowchart(1)
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
Programming language
Programming languageProgramming language
Programming language
 
Block diagram (computer programming & utilization)
Block diagram (computer programming & utilization)Block diagram (computer programming & utilization)
Block diagram (computer programming & utilization)
 
Computer programming
Computer programmingComputer programming
Computer programming
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Generations of programming language
Generations of programming languageGenerations of programming language
Generations of programming language
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 
Cmp104 lec 6 computer lang
Cmp104 lec 6 computer langCmp104 lec 6 computer lang
Cmp104 lec 6 computer lang
 

Recently uploaded

AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
masabamasaba
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
masabamasaba
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 

Recently uploaded (20)

%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban%in Durban+277-882-255-28 abortion pills for sale in Durban
%in Durban+277-882-255-28 abortion pills for sale in Durban
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Generic or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisionsGeneric or specific? Making sensible software design decisions
Generic or specific? Making sensible software design decisions
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 

INTRODUCTION TO SOFTWARE, PROGRAMMING LANGUAGES.pdf

  • 2. LEARNING OBJECTIVES Introduction to Software 2 ▰ Identify system programs and application programs ▰ discuss basic concepts of high- and low-level languages
  • 3. SOFTWARE written programs, procedures or rules and associated documentation pertaining to the operation of a computer system and that are stored in read/write memory 3
  • 4. SOFTWARE 1. System Software 2. Application Software 4
  • 5. SOFTWARE 1. Executable file intended to be executed by users or automatically launched by the operating system. 5
  • 6. SOFTWARE 2. Local Application Software its files are placed in the appropriate locations on the computer’s hard disk and may require additional configurations with the underlying operating system so that it can be run as and when required. 6
  • 7. SOFTWARE 3. Portable Software is basically designed to run from removable storage, such as a CD or USB flash drive without installing its program files or configuration data on the hard disk. 7
  • 8. SOFTWARE 4. Web Application Software is accessed through a Web browser and most of its program code runs on a remote computer connected to the Internet or other computer network. 8
  • 10. “ It is composed of a set of instructions in a language understandable to the programmer and recognizable by a computer. 10 10 Programming Languages
  • 11. Programming Languages 11 Computer languages have been continuing to grow and evolve since the 1940’s. Most programming languages are designed to be good for one category of applications but not necessarily for the other. The development of programming languages has been governed by a number of factors such as type and performance of available hardware, applications of computers in different fields, the development of new programming methodologies and its implementation etc.
  • 12. GENERATION OF PROGRAMMING LANGUAGES ▰ First generation language (1GL)—machine language 12 The instructions in machine language are written in the form of binary codes that can immediately be executed by the processor. A machine language instruction generally has three parts: General format of machine language instruction
  • 13. GENERATION OF PROGRAMMING LANGUAGES ▰ First generation language (1GL)—machine language 13 Machine language is considered to be the first generation (1GL). As it is the native language of the computer, CPU can directly start executing machine language instructions. But the limitations of using machine language in writing programs include the following: DIFFICULT TO USE AND ERROR PRONE. It is difficult to understand and develop a program using machine language because it is hard to understand and remember the various combinations of 1’s and 0’s representing data and instructions. MACHINE INDEPENDENT. As the internal design of the computer is different across types, which in turn is determined by the actual design or construction of the ALU, CU, and size of the word of the memory unit, the machine language also varies from one type of computer to another.
  • 14. GENERATION OF PROGRAMMING LANGUAGES ▰ Second generation language (2GL)—assembly language 14 Assembly language is considered to be a second generation language (2GL). In this language, an instruction is expressed using mnemonic codes instead of binary codes. Normally an assembly language statement consists of a label, an operation code, and one or more operands. LABELS. Are used to identify and reference instructions in the program. OPERATION CODE. Is a symbolic notation that specifies the particular operation to be performed, such as MOV, ADD, SUB, or CMP etc. OPERAND. Represents the register or the location in main memory where the data to be processed is located.
  • 15. GENERATION OF PROGRAMMING LANGUAGES ▰ Second generation language (2GL)—assembly language 15 Writing a program in assembly language is more convenient than writing in machine language. Instead of binary sequence, as in machine language, a program in assembly language is written in the form of symbolic instructions. This gives the assembly language program improved readability. It also offers several disadvantages. • The most eminent disadvantage of assembly language is that it is machine dependent. Assembly language is specific to the internal architecture of a particular model of a processor and the programmer should know all about the internal architecture of the processor. A program written in assembly language for one processor will not work on a different processor if it is architecturally different.
  • 16. GENERATION OF PROGRAMMING LANGUAGES ▰ Second generation language (2GL)—assembly language 16 Writing a program in assembly language is more convenient than writing in machine language. Instead of binary sequence, as in machine language, a program in assembly language is written in the form of symbolic instructions. This gives the assembly language program improved readability. It also offers several disadvantages. • Though mnemonic codes are easier to be remembered than binary codes, programming with assembly language is still difficult and time-consuming.
  • 17. GENERATION OF PROGRAMMING LANGUAGES ▰ Third generation language (3GL)—high-level language 17 High-level languages are called third generation languages (3GLs). High- level programming languages were developed to make programming easier and less error-prone. Languages like C, C++, COBOL, FORTRAN, BASIC, PASCAL etc., have instructions that are similar to English language that makes it easy for a programmer to write programs and identify and correct errors in them. 10 LET X = 7 20 LET Y = 10 30 SUM = X + Y 40 PRINT SUM 50 END * Program written in BASIC to obtain the sum of two numbers.
  • 18. GENERATION OF PROGRAMMING LANGUAGES ▰ Third generation language (3GL)—high-level language 18 Most third generation languages are procedural in nature. That is, the programmer must specify the sequential logically related steps to be followed by the computer in a program. As computer only understands machine language, a program written in a high level language must be translated into the basic machine language instruction set before it can be executed. This can be performed either by a compiler, or by interpreter. One statement in a high-level programming language will be translated into several machine language instructions.
  • 19. GENERATION OF PROGRAMMING LANGUAGES ▰ Third generation language (3GL)—high-level language 19 Advantages of high-level programming languages are many fold which are as follows. READABILITY. Programs written in these languages are more readable than those written in assembly and machine languages. PORTABILITY. High-level programming languages can be run on different machines with little or no change. EASY DEBUGGING. Errors can be easily detected and removed. EASE IN THE DEVELOPMENT OF SOFTWARE. Since the instructions or statements of these programming languages are closer to the English language, software can be developed with ease.
  • 20. GENERATION OF PROGRAMMING LANGUAGES ▰ Fourth generation language (4GL)—non-procedural language 20 The Fourth Generation Language (4GL) is a non-procedural language that allows the user to simply specify what is wanted without describing the steps that the computer has to follow to produce the result. This class of languages requires significantly fewer instructions to accomplish a particular task than does a third generation language. Thus, a programmer should be able to write a program faster in 4GL than in a third generation language.
  • 21. GENERATION OF PROGRAMMING LANGUAGES ▰ Fourth generation language (4GL)—non-procedural language 21 The main areas and purviews of 4GLs are: database queries, report generators, data manipulation, analysis and reporting, screen painters, etc. An example of a 4GL is the query language that allows a user to request information from a database with precisely worded English-like sentences. A query language is used as a database user interface and hides the specific details of the database from the user.
  • 22. GENERATION OF PROGRAMMING LANGUAGES ▰ Fourth generation language (4GL)—non-procedural language 22 The following example shows a query in a common query language, SQL. SELECT address FROM EMP WHERE empname = ‘PRADIP DEY’ With a report generator, the programmer specifies the headings, detailed data, and other details to produce the required report using data from a file.
  • 23. GENERATION OF PROGRAMMING LANGUAGES ▰ Fourth generation language (4GL)—non-procedural language 23 4GLs offer several advantages which include the following. ▰ Like third generation languages, fourth generation languages are mostly machine independent. They are primarily used mainly for developing business applications. ▰ Most of the fourth generation languages can be easily learnt and employed by end-users. ▰ All 4GLs are designed to reduce programming effort, the time it takes to develop software, and the cost of software development. Programming productivity is increased when 4GL is used in coding.
  • 24. GENERATION OF PROGRAMMING LANGUAGES ▰ Fifth generation language (5GL)—natural languages 24 Natural languages represent the next step in the development of programming languages belonging to Fifth Generation Language (5GL). Natural language is similar to query language, with one difference: it eliminates the need for the user or programmer to learn a specific vocabulary, grammar, or syntax.
  • 25. GENERATION OF PROGRAMMING LANGUAGES ▰ Fifth generation language (5GL)—natural languages 25 Actually, 5GL is a programming language based around solving problems using constraints given to the program, rather than using an algorithm written by a programmer. OPS5 and Mercury are examples of fifth generation languages. Fifth generation languages are used mainly in artificial intelligence research.