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

More Related Content

What's hot (20)

PPTX
Assembly Language
Ibrahimcommunication Al Ani
 
PPTX
Deadlock Prevention
prachi mewara
 
PPTX
Timing and control
chauhankapil
 
PPT
Instruction format
Sanjeev Patel
 
PPTX
Memory Reference Instructions
Rabin BK
 
PPTX
Database abstraction
RituBhargava7
 
PPTX
Dynamic storage allocation techniques in Compiler design
kunjan shah
 
PPTX
Toy complier
Daivshala Vighne
 
PPTX
The Phases of a Compiler
Radhika Talaviya
 
PPTX
System software - macro expansion,nested macro calls
SARASWATHI S
 
PPT
Software tools
ravindravekariya
 
PPTX
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
IrtazaAfzal3
 
PPT
Addressing modes of 8051
SARITHA REDDY
 
PDF
System Programming :: Assembler
sanghavimrcoe
 
PDF
Macro-processor
Temesgen Molla
 
PPT
basics of compiler design
Preeti Katiyar
 
PPT
Interface
Siddique Ibrahim
 
PPTX
MACRO PROCESSOR
Bhavik Vashi
 
PPTX
Database architecture
VENNILAV6
 
PPTX
Lect4 software economics
meena466141
 
Assembly Language
Ibrahimcommunication Al Ani
 
Deadlock Prevention
prachi mewara
 
Timing and control
chauhankapil
 
Instruction format
Sanjeev Patel
 
Memory Reference Instructions
Rabin BK
 
Database abstraction
RituBhargava7
 
Dynamic storage allocation techniques in Compiler design
kunjan shah
 
Toy complier
Daivshala Vighne
 
The Phases of a Compiler
Radhika Talaviya
 
System software - macro expansion,nested macro calls
SARASWATHI S
 
Software tools
ravindravekariya
 
PRESCRIPTIVE PROCESS MODEL(SOFTWARE ENGINEERING)
IrtazaAfzal3
 
Addressing modes of 8051
SARITHA REDDY
 
System Programming :: Assembler
sanghavimrcoe
 
Macro-processor
Temesgen Molla
 
basics of compiler design
Preeti Katiyar
 
Interface
Siddique Ibrahim
 
MACRO PROCESSOR
Bhavik Vashi
 
Database architecture
VENNILAV6
 
Lect4 software economics
meena466141
 

Similar to System programming vs application programming (20)

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

Recently uploaded (20)

PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PPTX
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
PDF
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
PDF
epi editorial commitee meeting presentation
MIPLM
 
PDF
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
PPTX
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
PDF
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
Introduction to Indian Writing in English
Trushali Dodiya
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PPTX
infertility, types,causes, impact, and management
Ritu480198
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PPTX
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
PDF
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
PPTX
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
DAY 1_QUARTER1 ENGLISH 5 WEEK- PRESENTATION.pptx
BanyMacalintal
 
Women's Health: Essential Tips for Every Stage.pdf
Iftikhar Ahmed
 
epi editorial commitee meeting presentation
MIPLM
 
AI-Powered-Visual-Storytelling-for-Nonprofits.pdf
TechSoup
 
DIGITAL CITIZENSHIP TOPIC TLE 8 MATATAG CURRICULUM
ROBERTAUGUSTINEFRANC
 
Aprendendo Arquitetura Framework Salesforce - Dia 03
Mauricio Alexandre Silva
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
Horarios de distribución de agua en julio
pegazohn1978
 
Introduction to Indian Writing in English
Trushali Dodiya
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
infertility, types,causes, impact, and management
Ritu480198
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
QNL June Edition hosted by Pragya the official Quiz Club of the University of...
Pragya - UEM Kolkata Quiz Club
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Identifying elements in the story. Arrange the events in the story
geraldineamahido2
 
Knee Extensor Mechanism Injuries - Orthopedic Radiologic Imaging
Sean M. Fox
 
How to Set Up Tags in Odoo 18 - Odoo Slides
Celine George
 
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