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

PPTX
Single Pass Assembler
PPTX
unit testing and debugging
PDF
Embedded C - Lecture 1
PPTX
Embedded c
PDF
Symbol table in compiler Design
PPTX
Arm Development Tools
PPTX
System Programing Unit 1
PPTX
Design of a two pass assembler
Single Pass Assembler
unit testing and debugging
Embedded C - Lecture 1
Embedded c
Symbol table in compiler Design
Arm Development Tools
System Programing Unit 1
Design of a two pass assembler

What's hot (20)

PPTX
Arm assembly language programming
PDF
Typical Embedded System
PPTX
Direct linking loaders
PPTX
Metrics for project size estimation
PPT
Assembler design option
PPTX
Micro Programmed Control Unit
PPTX
Role-of-lexical-analysis
PPTX
Compiler construction tools
PPTX
Access to non local names
PPTX
Microprogrammed Control Unit
PPT
Microprogram Control
PPTX
Software cost factors in software engineering.pptx
PPTX
Macro Processor
PPT
Cocomo model
PDF
RTOS - Real Time Operating Systems
PPT
Assembler
PPT
Multithreading models
PDF
Python exception handling
PPTX
Type checking in compiler design
Arm assembly language programming
Typical Embedded System
Direct linking loaders
Metrics for project size estimation
Assembler design option
Micro Programmed Control Unit
Role-of-lexical-analysis
Compiler construction tools
Access to non local names
Microprogrammed Control Unit
Microprogram Control
Software cost factors in software engineering.pptx
Macro Processor
Cocomo model
RTOS - Real Time Operating Systems
Assembler
Multithreading models
Python exception handling
Type checking in compiler design
Ad

Similar to System programming vs application programming (20)

PPTX
Overview of language processor course d&a
PDF
4.LanguageProcessors and language Processing Activities.pdf
PPT
Chap 1-dhamdhere system programming
PPT
Chap 1-language processor
PDF
Introduction to systems programming
PPTX
System Programming Overview
PPTX
Language processors
PDF
Language processors
PDF
Compilers Principles, Practice & Tools Compilers
PDF
SPCC:System programming and compiler construction
PPTX
ppt_cd.pptx ppt on phases of compiler of jntuk syllabus
PPTX
Unit1.pptx of compiler design students subjects
PPTX
Unit 1_Evaluation Criteria_session 3.pptx
PPTX
Chapter-1.pptx compiler Design Course Material
PPTX
Fundamentals of Language Processing
PPTX
Fundamentals of Language Processing
PPTX
Language processing activity
PPT
1 - Introduction to Compilers.ppt
PPTX
Compiler Design Introduction With Design
PDF
Chapter#01 cc
Overview of language processor course d&a
4.LanguageProcessors and language Processing Activities.pdf
Chap 1-dhamdhere system programming
Chap 1-language processor
Introduction to systems programming
System Programming Overview
Language processors
Language processors
Compilers Principles, Practice & Tools Compilers
SPCC:System programming and compiler construction
ppt_cd.pptx ppt on phases of compiler of jntuk syllabus
Unit1.pptx of compiler design students subjects
Unit 1_Evaluation Criteria_session 3.pptx
Chapter-1.pptx compiler Design Course Material
Fundamentals of Language Processing
Fundamentals of Language Processing
Language processing activity
1 - Introduction to Compilers.ppt
Compiler Design Introduction With Design
Chapter#01 cc
Ad

Recently uploaded (20)

PPTX
Education and Perspectives of Education.pptx
PDF
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
PDF
semiconductor packaging in vlsi design fab
DOCX
Cambridge-Practice-Tests-for-IELTS-12.docx
PDF
Empowerment Technology for Senior High School Guide
PDF
English Textual Question & Ans (12th Class).pdf
PDF
My India Quiz Book_20210205121199924.pdf
PDF
Paper A Mock Exam 9_ Attempt review.pdf.
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
PPTX
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PPTX
Module on health assessment of CHN. pptx
PPTX
Computer Architecture Input Output Memory.pptx
PDF
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
International_Financial_Reporting_Standa.pdf
PPTX
Virtual and Augmented Reality in Current Scenario
PDF
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf
Education and Perspectives of Education.pptx
FOISHS ANNUAL IMPLEMENTATION PLAN 2025.pdf
semiconductor packaging in vlsi design fab
Cambridge-Practice-Tests-for-IELTS-12.docx
Empowerment Technology for Senior High School Guide
English Textual Question & Ans (12th Class).pdf
My India Quiz Book_20210205121199924.pdf
Paper A Mock Exam 9_ Attempt review.pdf.
Share_Module_2_Power_conflict_and_negotiation.pptx
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Mucosal Drug Delivery system_NDDS_BPHARMACY__SEM VII_PCI.pdf
ELIAS-SEZIURE AND EPilepsy semmioan session.pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
Module on health assessment of CHN. pptx
Computer Architecture Input Output Memory.pptx
Skin Care and Cosmetic Ingredients Dictionary ( PDFDrive ).pdf
Unit 4 Computer Architecture Multicore Processor.pptx
International_Financial_Reporting_Standa.pdf
Virtual and Augmented Reality in Current Scenario
LIFE & LIVING TRILOGY- PART (1) WHO ARE WE.pdf

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