SlideShare a Scribd company logo
2
Most read
3
Most read
8
Most read
CONTENTS TO BE DISCUSSED
DIFFERENCE BETWEEN SYSTEM
PROGRAMMING AND APPLICATION
PROGRAMMING
LANGUAGE PROCESSORS
Inderbir Kaur Sandhu
Assistant Professor
PG Department of Computer Science
GSSDGS Khalsa College, Patiala
Punjab, India
System programming
⚫ It is the collection of
components and art
or designing of a
given program.
⚫System program aims
to produce software
which provides service
to the computer
hardware.
⚫These are the set of
programs that view
computer as a tool for
solving a particular
problem.
⚫Application software is
a software that are
been used by the user .
SYSTEM PROGRAMMING v/s
APPLICATION PROGRAMMING
Application programming
⚫System software that
executes the
application software. It
helps in executing the
application software.
⚫System programming is
used to write low level
instructions.
⚫Example:- loader, linker,
compiler.
⚫Application programming
is used to built
application software
which includes software
like notepad, calculator,
Microsoft excel and many
more.
⚫Application programming
is used to write high level
instructions.
Example:- library
management system,
calculator.
LANGUAGE
PROCESSORS
⚫Language processor activities arises due to the
difference between the manner in which a software
designer describes the ideas concerning the behavior
of a software and the manner in which these ideas are
implemented in a computer system.
⚫The designer expresses the ideas in term related to
the application domain of the software. To implement
these ideas, their description has to be interpreted in
terms related to the execution domain.
INTRODUCTION
SEMANTIC GAP
Semantic gap leads to many problems such as:
1. Large development time
2.Large development efforts
3.Poor quality of software
SEMANTIC GAP
Application
domain
Execution
domain
Specification gap Execution gap
when a programming language(PL) are used to
bridge the gap between application domain and
execution domain , a new type of domain comes
into existence. This is known as programming
language (PL) domain.
Specification and Execution
Gaps
Application
domain
PL domain
Execution
domain
Specification Gap:- It is the semantic
gap between two specifications of the
same task
Execution Gap:- It is the gap between
the semantics of programs (that
perform the same task) written in
different programming languages.
Specification and Execution
Gaps
⚫A language processor is a software which
bridges a specification gap or execution
gap.
⚫The program form input to a language
processor as the source program and to its
output as the target program.
⚫The language in which these programs are
written are called source language and
target language, respectively.
Language processors
❑Program Generating Activities
❑ Program Execution Activities
Language Processing Activities
Program
Specification Program in
target PL
errors
specification
gap
Application program target PL execution
Domain generator domain domain domain
Program Generation Activities
Program generator
⚫ Two popular models for program execution are translation
and interpretation .
⚫ program translation:-
⚫ errors data
source target
Program program
⚫ A program must be translated before it can be executed.
⚫ The translated program may be saved in a file. The saved
program may be executed repeatedly.
Program Execution Activities
translator m/c language
program
The interpreter on the other hand , read the source
program and stores it in its memory. Thereafter the
various statements are read one by one, their meaning
and corresponding actions are implemented. Such
action involves I/O actions.
PROGRAM INTERPRETATION
⚫Language processing= Analysis of (SP) source
program + Synthesis of (TP) target program.
⚫Collection of LP components engaged in analysis a
source program as the analysis phase and components
engaged in synthesizing a target program constitute
the synthesis phase
Fundamentals of Language
Processing
⚫The analysis of source program is done on the basis of
three major specification of source language :-
a) lexical rules are used for identifying the basic
lexical unit in the source program
b) syntax rules are used to identify the valid statement
of the program
c) Semantic rules represents the interpretation of the
valid statement of the program
Analysis Phase
• simple_interest=(Principal*rate*time)/100;
❑ lexical analysis identifies=,*and / as operators,100 as
constant and simple interest, principal , rate, time as
identifier.
❑Syntax analysis identifies the statement as an
assignment statement.
❑Semantic analysis represents the meaning of the
statement by assigning (Principal*rate*time)/100 to
simple_interest.
Example of Analysis phase
❑The synthesis phase is concerned with the
construction of target language statements which
have the same meaning as a source statement.
❑It performs two main activities:
❖Creation of data structure in the target program
(memory allocation)
❖Generation of target code( code generation)
Synthesis Phase
THANKS
Ad

Recommended

Introduction to Compiler design
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
System software - macro expansion,nested macro calls
System software - macro expansion,nested macro calls
SARASWATHI S
 
Natural language processing
Natural language processing
prashantdahake
 
Compiler construction
Compiler construction
Muhammed Afsal Villan
 
High level languages representation
High level languages representation
gaurav jain
 
Register Reference Instructions | Computer Science
Register Reference Instructions | Computer Science
Transweb Global Inc
 
E.s unit 6
E.s unit 6
Sneha Chopra
 
Computer programming concepts
Computer programming concepts
Jasper John Cinatad
 
Register transfer language
Register transfer language
Sanjeev Patel
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
AshokRachapalli1
 
Introduction to system programming
Introduction to system programming
sonalikharade3
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
Ashim Lamichhane
 
Code Optimization
Code Optimization
Akhil Kaushik
 
Computer Language Translator
Computer Language Translator
Ranjeet Kumar
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
Dr. Pankaj Zope
 
Combinational circuits
Combinational circuits
DrSonali Vyas
 
Interfacing external memory in 8051
Interfacing external memory in 8051
ssuser3a47cb
 
Von Neumann Architecture
Von Neumann Architecture
Chamodi Adikaram
 
Control Unit Design
Control Unit Design
Vinit Raut
 
basics of compiler design
basics of compiler design
Preeti Katiyar
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
sonalikharade3
 
Logical instruction of 8085
Logical instruction of 8085
vishalgohel12195
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
DigiGurukul
 
States, state graphs and transition testing
States, state graphs and transition testing
geethawilliam
 
DEVELOPMENT TOOLS FOR MICROCONTROLLERS.pdf
DEVELOPMENT TOOLS FOR MICROCONTROLLERS.pdf
Srikrishna Thota
 
Chapter 4 software project planning
Chapter 4 software project planning
despicable me
 
ADDRESSING MODES
ADDRESSING MODES
Sadaf Rasheed
 
Arduino and its hw architecture
Arduino and its hw architecture
Zeeshan Rafiq
 
Chap 1-language processor
Chap 1-language processor
shindept123
 
Chap 1-dhamdhere system programming
Chap 1-dhamdhere system programming
TanzoGamerz
 

More Related Content

What's hot (20)

Register transfer language
Register transfer language
Sanjeev Patel
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
AshokRachapalli1
 
Introduction to system programming
Introduction to system programming
sonalikharade3
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
Ashim Lamichhane
 
Code Optimization
Code Optimization
Akhil Kaushik
 
Computer Language Translator
Computer Language Translator
Ranjeet Kumar
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
Dr. Pankaj Zope
 
Combinational circuits
Combinational circuits
DrSonali Vyas
 
Interfacing external memory in 8051
Interfacing external memory in 8051
ssuser3a47cb
 
Von Neumann Architecture
Von Neumann Architecture
Chamodi Adikaram
 
Control Unit Design
Control Unit Design
Vinit Raut
 
basics of compiler design
basics of compiler design
Preeti Katiyar
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
sonalikharade3
 
Logical instruction of 8085
Logical instruction of 8085
vishalgohel12195
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
DigiGurukul
 
States, state graphs and transition testing
States, state graphs and transition testing
geethawilliam
 
DEVELOPMENT TOOLS FOR MICROCONTROLLERS.pdf
DEVELOPMENT TOOLS FOR MICROCONTROLLERS.pdf
Srikrishna Thota
 
Chapter 4 software project planning
Chapter 4 software project planning
despicable me
 
ADDRESSING MODES
ADDRESSING MODES
Sadaf Rasheed
 
Arduino and its hw architecture
Arduino and its hw architecture
Zeeshan Rafiq
 
Register transfer language
Register transfer language
Sanjeev Patel
 
Computer Organization and Architecture.pptx
Computer Organization and Architecture.pptx
AshokRachapalli1
 
Introduction to system programming
Introduction to system programming
sonalikharade3
 
Unit 1. Problem Solving with Computer
Unit 1. Problem Solving with Computer
Ashim Lamichhane
 
Computer Language Translator
Computer Language Translator
Ranjeet Kumar
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
Dr. Pankaj Zope
 
Combinational circuits
Combinational circuits
DrSonali Vyas
 
Interfacing external memory in 8051
Interfacing external memory in 8051
ssuser3a47cb
 
Control Unit Design
Control Unit Design
Vinit Raut
 
basics of compiler design
basics of compiler design
Preeti Katiyar
 
COMPILER DESIGN OPTIONS
COMPILER DESIGN OPTIONS
sonalikharade3
 
Logical instruction of 8085
Logical instruction of 8085
vishalgohel12195
 
Artificial Intelligence Notes Unit 2
Artificial Intelligence Notes Unit 2
DigiGurukul
 
States, state graphs and transition testing
States, state graphs and transition testing
geethawilliam
 
DEVELOPMENT TOOLS FOR MICROCONTROLLERS.pdf
DEVELOPMENT TOOLS FOR MICROCONTROLLERS.pdf
Srikrishna Thota
 
Chapter 4 software project planning
Chapter 4 software project planning
despicable me
 
Arduino and its hw architecture
Arduino and its hw architecture
Zeeshan Rafiq
 

Similar to System programming vs application programming (20)

Chap 1-language processor
Chap 1-language processor
shindept123
 
Chap 1-dhamdhere system programming
Chap 1-dhamdhere system programming
TanzoGamerz
 
Unit 1_Evaluation Criteria_session 3.pptx
Unit 1_Evaluation Criteria_session 3.pptx
Guru Nanak Technical Institutions
 
Language processors
Language processors
Yash Bansal
 
Software development slides
Software development slides
iarthur
 
Computer Programming
Computer Programming
Newreborn Incarnation
 
Computer
Computer
Newreborn Incarnation
 
C Course material
C Course material
Fareed Khan
 
Chapter 1
Chapter 1
ZcelTablizo3
 
Overview of language processor course d&a
Overview of language processor course d&a
HarshBafna8
 
CHAPTER 1 OBJECT ORIENTED NOTES SLIDE PRESENTATION
CHAPTER 1 OBJECT ORIENTED NOTES SLIDE PRESENTATION
TSha7
 
Introduction to programing languages part 1
Introduction to programing languages part 1
university of education,Lahore
 
Introduction to systems programming
Introduction to systems programming
Mukesh Tekwani
 
Language design and translation issues
Language design and translation issues
Dr. SURBHI SAROHA
 
Computer
Computer
leeparkkim
 
SPCC:System programming and compiler construction
SPCC:System programming and compiler construction
mohdumaira1
 
Compiler an overview
Compiler an overview
amudha arul
 
Software development slides
Software development slides
iarthur
 
Chapter 5
Chapter 5
meisaina
 
Introduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
Chap 1-language processor
Chap 1-language processor
shindept123
 
Chap 1-dhamdhere system programming
Chap 1-dhamdhere system programming
TanzoGamerz
 
Language processors
Language processors
Yash Bansal
 
Software development slides
Software development slides
iarthur
 
C Course material
C Course material
Fareed Khan
 
Overview of language processor course d&a
Overview of language processor course d&a
HarshBafna8
 
CHAPTER 1 OBJECT ORIENTED NOTES SLIDE PRESENTATION
CHAPTER 1 OBJECT ORIENTED NOTES SLIDE PRESENTATION
TSha7
 
Introduction to systems programming
Introduction to systems programming
Mukesh Tekwani
 
Language design and translation issues
Language design and translation issues
Dr. SURBHI SAROHA
 
SPCC:System programming and compiler construction
SPCC:System programming and compiler construction
mohdumaira1
 
Compiler an overview
Compiler an overview
amudha arul
 
Software development slides
Software development slides
iarthur
 
Introduction to Programming kkkkkkkkkkkkk
Introduction to Programming kkkkkkkkkkkkk
kimtrm34
 
Ad

Recently uploaded (20)

FIRST DAY HIGH orientation for mapeh subject in grade 10.pptx
FIRST DAY HIGH orientation for mapeh subject in grade 10.pptx
GlysdiEelesor1
 
How to Manage Inventory Movement in Odoo 18 POS
How to Manage Inventory Movement in Odoo 18 POS
Celine George
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
Overview of Employee in Odoo 18 - Odoo Slides
Overview of Employee in Odoo 18 - Odoo Slides
Celine George
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
Celine George
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
JHS SHS Back to School 2024-2025 .pptx
JHS SHS Back to School 2024-2025 .pptx
melvinapay78
 
Publishing Your Memoir with Brooke Warner
Publishing Your Memoir with Brooke Warner
Brooke Warner
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Chalukyas of Gujrat, Solanki Dynasty NEP.pptx
Chalukyas of Gujrat, Solanki Dynasty NEP.pptx
Dr. Ravi Shankar Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 
Introduction to Generative AI and Copilot.pdf
Introduction to Generative AI and Copilot.pdf
TechSoup
 
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
BUSINESS QUIZ PRELIMS | QUIZ CLUB OF PSGCAS | 9 SEPTEMBER 2024
Quiz Club of PSG College of Arts & Science
 
FIRST DAY HIGH orientation for mapeh subject in grade 10.pptx
FIRST DAY HIGH orientation for mapeh subject in grade 10.pptx
GlysdiEelesor1
 
How to Manage Inventory Movement in Odoo 18 POS
How to Manage Inventory Movement in Odoo 18 POS
Celine George
 
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Paper 109 | Archetypal Journeys in ‘Interstellar’: Exploring Universal Themes...
Rajdeep Bavaliya
 
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Battle of Bookworms 2025 - U25 Literature Quiz by Pragya
Pragya - UEM Kolkata Quiz Club
 
Overview of Employee in Odoo 18 - Odoo Slides
Overview of Employee in Odoo 18 - Odoo Slides
Celine George
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
How to Implement Least Package Removal Strategy in Odoo 18 Inventory
Celine George
 
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Paper 107 | From Watchdog to Lapdog: Ishiguro’s Fiction and the Rise of “Godi...
Rajdeep Bavaliya
 
Nice Dream.pdf /
Nice Dream.pdf /
ErinUsher3
 
JHS SHS Back to School 2024-2025 .pptx
JHS SHS Back to School 2024-2025 .pptx
melvinapay78
 
Publishing Your Memoir with Brooke Warner
Publishing Your Memoir with Brooke Warner
Brooke Warner
 
How to Manage Upselling of Subscriptions in Odoo 18
How to Manage Upselling of Subscriptions in Odoo 18
Celine George
 
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Basic English for Communication - Dr Hj Euis Eti Rohaeti Mpd
Restu Bias Primandhika
 
Plate Tectonic Boundaries and Continental Drift Theory
Plate Tectonic Boundaries and Continental Drift Theory
Marie
 
Revista digital preescolar en transformación
Revista digital preescolar en transformación
guerragallardo26
 
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
THERAPEUTIC COMMUNICATION included definition, characteristics, nurse patient...
parmarjuli1412
 
Introduction to Generative AI and Copilot.pdf
Introduction to Generative AI and Copilot.pdf
TechSoup
 
Ad

System programming vs application programming

  • 1. CONTENTS TO BE DISCUSSED DIFFERENCE BETWEEN SYSTEM PROGRAMMING AND APPLICATION PROGRAMMING LANGUAGE PROCESSORS Inderbir Kaur Sandhu Assistant Professor PG Department of Computer Science GSSDGS Khalsa College, Patiala Punjab, India
  • 2. System programming ⚫ It is the collection of components and art or designing of a given program. ⚫System program aims to produce software which provides service to the computer hardware. ⚫These are the set of programs that view computer as a tool for solving a particular problem. ⚫Application software is a software that are been used by the user . SYSTEM PROGRAMMING v/s APPLICATION PROGRAMMING Application programming
  • 3. ⚫System software that executes the application software. It helps in executing the application software. ⚫System programming is used to write low level instructions. ⚫Example:- loader, linker, compiler. ⚫Application programming is used to built application software which includes software like notepad, calculator, Microsoft excel and many more. ⚫Application programming is used to write high level instructions. Example:- library management system, calculator.
  • 5. ⚫Language processor activities arises due to the difference between the manner in which a software designer describes the ideas concerning the behavior of a software and the manner in which these ideas are implemented in a computer system. ⚫The designer expresses the ideas in term related to the application domain of the software. To implement these ideas, their description has to be interpreted in terms related to the execution domain. INTRODUCTION
  • 6. SEMANTIC GAP Semantic gap leads to many problems such as: 1. Large development time 2.Large development efforts 3.Poor quality of software SEMANTIC GAP Application domain Execution domain
  • 7. Specification gap Execution gap when a programming language(PL) are used to bridge the gap between application domain and execution domain , a new type of domain comes into existence. This is known as programming language (PL) domain. Specification and Execution Gaps Application domain PL domain Execution domain
  • 8. Specification Gap:- It is the semantic gap between two specifications of the same task Execution Gap:- It is the gap between the semantics of programs (that perform the same task) written in different programming languages. Specification and Execution Gaps
  • 9. ⚫A language processor is a software which bridges a specification gap or execution gap. ⚫The program form input to a language processor as the source program and to its output as the target program. ⚫The language in which these programs are written are called source language and target language, respectively. Language processors
  • 10. ❑Program Generating Activities ❑ Program Execution Activities Language Processing Activities
  • 11. Program Specification Program in target PL errors specification gap Application program target PL execution Domain generator domain domain domain Program Generation Activities Program generator
  • 12. ⚫ Two popular models for program execution are translation and interpretation . ⚫ program translation:- ⚫ errors data source target Program program ⚫ A program must be translated before it can be executed. ⚫ The translated program may be saved in a file. The saved program may be executed repeatedly. Program Execution Activities translator m/c language program
  • 13. The interpreter on the other hand , read the source program and stores it in its memory. Thereafter the various statements are read one by one, their meaning and corresponding actions are implemented. Such action involves I/O actions. PROGRAM INTERPRETATION
  • 14. ⚫Language processing= Analysis of (SP) source program + Synthesis of (TP) target program. ⚫Collection of LP components engaged in analysis a source program as the analysis phase and components engaged in synthesizing a target program constitute the synthesis phase Fundamentals of Language Processing
  • 15. ⚫The analysis of source program is done on the basis of three major specification of source language :- a) lexical rules are used for identifying the basic lexical unit in the source program b) syntax rules are used to identify the valid statement of the program c) Semantic rules represents the interpretation of the valid statement of the program Analysis Phase
  • 16. • simple_interest=(Principal*rate*time)/100; ❑ lexical analysis identifies=,*and / as operators,100 as constant and simple interest, principal , rate, time as identifier. ❑Syntax analysis identifies the statement as an assignment statement. ❑Semantic analysis represents the meaning of the statement by assigning (Principal*rate*time)/100 to simple_interest. Example of Analysis phase
  • 17. ❑The synthesis phase is concerned with the construction of target language statements which have the same meaning as a source statement. ❑It performs two main activities: ❖Creation of data structure in the target program (memory allocation) ❖Generation of target code( code generation) Synthesis Phase