SlideShare ist ein Scribd-Unternehmen logo
1 von 21
K.K. WAGH POLYTECHNIC, NASHIK-03
DEPARTMENT OF COMPUTER TECHNOLOGY
(Second Shift)
Chapter-01
Introduction to
System Programming
System Software consists of a variety of programs that
support the operation of a computer.
The software makes it possible for the users to focus
on an application or other problem to be solved,
without needing to know the details of how the
machine works internally.
A System program is a program which is required for
the effective execution of a general user (application)
program.
The term execution here includes all activities namely
writing program code ,editing, storage, translation,
relocation, linking and eventual execution.
System Software
System Programs
Operating
System
Hardware
Application Programs
Hierarchy of computer
components
System Software
Components of System Software
Assembler
Linker
Loader
Macro processor
Text editor
Compiler
Operating system
Debugging system
Source Code Control System
1. Assemblers:
Programmers found it difficult to write or read programs in
machine language, so for more convenience they began to use a
mnemonic for each machine instruction, which subsequently
translate into machine language.
Such a mnemonic machine language is now called as an
assembly language. Program known as assembler were written to
automate the translation of assembly language into machine
language.
The input to an assembler is an assembly language program.
Output is an object program plus information that enables the loader
to prepare the object program for information.
Evolution of System Software
Evolution of System Software
2. Loaders :
Once the assembler produces an object program, that program
must be placed into memory and executed. It is the purpose of the
loader to assure that object program are placed in memory in an
executable form.
A loader is a program that places programs into main memory
and prepares them for execution.
There are various loading schemes: absolute, compile-and-go,
relocating, ,dynamic linking and direct-linking. In general loader
must load, relocate, and link the program.
The period of execution of user’s program is called execution
time. The period of translating a user’s program is called assembly or
compile time. The period of loading and preparing an object program
for execution is called load time.
Evolution of System Software
3. Macros:
To avoid the repetition of the identical parts of code in a program
operating system provide a macro processing facility, which permits
the programmer to define an abbreviation for a part of his program
and to use the abbreviation in his program.
The macro processor treats the identical parts of the program
defined by abbreviation as a macro definition.
The macro processor substitutes the definition for all occurrences
of the abbreviation (macro call) in the program.
Evolution of System Software
4. Compilers:
A compiler is a program that accepts a program written in high
level language and produce an object program.
e.g. FORTRAN, COBOL, C etc.
Modern compilers must interact closely with the operating
system to handle statements concerning the hardware interrupts of a
computer system.
Evolution of System Software
5. Operating Systems:
An operating system is an interface between user and computer
hardware.
An OS is concerned with the allocation of resources and services,
such as memory, processors, devices and information. The OS
includes programs to manage these resources, such as bus controller,
a scheduler, memory management module, I/O programs, and a file
system.
Evolution of Operating System
Historical Review of Operating Systems:
1. Monitors
-Monitors are the simplest operating systems.
-Single user systems .
-Allow user interaction.
2. Simple Batch Systems
-The user prepares a job (which consists of program, data and some
control information), submits it to the computer operator and receives
the output after the program is executed.
-The job is usually punched on cards and the output is usually
printed.
-To speed up processing, jobs with similar needs can be batched
together and run as a group.
-The operating system is always in memory and its job is to transfer
control automatically from one job to the next.
card reader
CPU
I/O line printer
As the I/O devices are slower than the speed of the CPU (the
difference may be three orders of magnitude or more), the CPU is often
idle. For using the system more efficiently, cards can be read from the
card reader onto the disk. The operating system records their location on
disk in a table. When a job requests the printer, the output is copied into a
system buffer and is written to the disk. When the job is completed, the
output is printed. This form of processing is called spooling
(simultaneous peripheral operation on line).
Evolution of Operating System
Evolution of Operating System
3. Multiprogrammed Batch Systems:
The operating system keeps several jobs (a subset of jobs in the
job pool) in memory at a time. During the execution of one job, if it
waits for an I/O operation to complete, the operating system switches to
and executes another job. In this way, as long as there is always some job
to execute, the CPU will never be idle.
4. Time-Sharing Systems
In multiprogrammed batch systems, the user cannot interact with
the program during its execution. In time-sharing or multitasking
systems, multiple jobs are executed by the CPU switching between them,
but the switching occurs so frequently that the user may interact with
each program while it is running. Time-sharing operating systems:
-uses CPU scheduling and multiprogramming,
-uses time-slice mechanism,
-allows interactive I/O,
-allows many users to share the computer simultaneously.
Evolution of Operating System
5. Real time operating systems:
Used whenever a large number of external events have to be treated
in a short or limited interval of time
Support for multiprogramming/multi-tasking
Main goal:
Minimization of the response time to service the external events.
Memory management:
-Concurrent processes are loaded into the memory.
-Support for protection and inter-process communication.
I/O management:
-Critical in time
-Processes dealing with I/O are directly connected to the interrupt
vectors (or handling the interrupt requests)
File management:
It may be missing
If exists, it should comply with requirements for timesharing
systems + it should satisfy the requirements for real time systems
Evolution of Operating System
6. Distributed operating systems
Distributed systems also have more than one processor. Each
processor has its local memory. Processors communicate through
communication lines (eg. Telephone lines, high-speed bus, etc.).
Processors are referred to as sites, nodes, computers depending on the
context in which they are mentioned. Multicomputer systems are loosely
coupled. Example applications are e-mail, web server, etc.
Evolution of Operating System
Foundation of System Programming
Machine Structure
Fig. illustrates the
structure of the
CPU for a typical
von Neuman
machine , such as
the IBM
System/360.
The CPU consists of an instruction interpreter, a location counter, an
instruction register and various working registers and general registers.
Instruction Interpreter:
It is group of electrical circuits(hardware), that execute the
instructions fetched from memory.
Location Counter(LC):
It is also called as Program Counter(PC) or Instruction
Counter(IC), is a hardware memory device which denotes the location of
the current instruction being executed.
Instruction Register(IR):
A copy of current instruction is stored in the Instruction
Register.
Machine Structure
Working & General Registers:
The working registers (WR) are memory devices that serves as
“scratch pads” for the instructions interpreter, while the general
registers(GR) are used by the programmer as storage location and for
special functions.
Memory Address Register(MAR) & Memory Buffer Register(MBR)
The primary interface between the memory and CPU is via the
MAR and MBR.
The MAR contains the address of the memory location that is to
be read from or store into.
The MBR contains a copy of the designated memory location
specified by MAR after a “read” or the new contents of the memory
locations prior “write”.
Machine Structure
Memory Controller:
It is hardware that transfers data between the MBR and primary
memory locations the address of which is in the MAR.
I/O Channel
The I/O channel interpret special instructions for inputting and
outputting information from the memory.
Machine Structure
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

C Programming For Embedded Systems
C Programming For Embedded SystemsC Programming For Embedded Systems
C Programming For Embedded Systems
 
Wireless Sensor Networks
Wireless Sensor NetworksWireless Sensor Networks
Wireless Sensor Networks
 
Congestion avoidance in TCP
Congestion avoidance in TCPCongestion avoidance in TCP
Congestion avoidance in TCP
 
ENCAPSULATION AND TUNNELING
ENCAPSULATION AND TUNNELINGENCAPSULATION AND TUNNELING
ENCAPSULATION AND TUNNELING
 
Sensor Cloud
Sensor CloudSensor Cloud
Sensor Cloud
 
Geographic Routing in WSN
Geographic Routing in WSNGeographic Routing in WSN
Geographic Routing in WSN
 
8237 dma controller
8237 dma controller8237 dma controller
8237 dma controller
 
MicroC/OS-II
MicroC/OS-IIMicroC/OS-II
MicroC/OS-II
 
Dhcp ppt
Dhcp pptDhcp ppt
Dhcp ppt
 
Infrastructure Establishment
Infrastructure EstablishmentInfrastructure Establishment
Infrastructure Establishment
 
Atm ppt
Atm pptAtm ppt
Atm ppt
 
Gsm security algorithms A3 , A5 , A8
Gsm security algorithms A3 , A5 , A8Gsm security algorithms A3 , A5 , A8
Gsm security algorithms A3 , A5 , A8
 
Issues in routing protocol
Issues in routing protocolIssues in routing protocol
Issues in routing protocol
 
Introduction of VANET
Introduction of VANETIntroduction of VANET
Introduction of VANET
 
Standard IO Interface
Standard IO InterfaceStandard IO Interface
Standard IO Interface
 
Presentation on CDMA
Presentation on CDMAPresentation on CDMA
Presentation on CDMA
 
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
Multiplexing and switching(TDM ,FDM, Data gram, circuit switching)
 
Node level simulators
Node level simulatorsNode level simulators
Node level simulators
 
Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)Sensor Protocols for Information via Negotiation (SPIN)
Sensor Protocols for Information via Negotiation (SPIN)
 
CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)CoAP protocol -Internet of Things(iot)
CoAP protocol -Internet of Things(iot)
 

Andere mochten auch

System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniHardik Nathani
 
Microprocessors8085
Microprocessors8085Microprocessors8085
Microprocessors8085Vikas Kumar
 
System programming note
System programming noteSystem programming note
System programming noteSANTOSH RATH
 
Secuencia didactica wiki
Secuencia didactica wikiSecuencia didactica wiki
Secuencia didactica wikimaripala12
 
Presentación Cómo estudiar el medio para posicionar la MARCA
Presentación   Cómo estudiar el medio para posicionar la MARCAPresentación   Cómo estudiar el medio para posicionar la MARCA
Presentación Cómo estudiar el medio para posicionar la MARCAPilar Esteban Hernández
 
Przestrzeń Miasta - Maciej Jędraszek
Przestrzeń Miasta - Maciej JędraszekPrzestrzeń Miasta - Maciej Jędraszek
Przestrzeń Miasta - Maciej Jędraszekecommerce poland expo
 
Williams Brochure Welding Products
Williams Brochure Welding ProductsWilliams Brochure Welding Products
Williams Brochure Welding ProductsJohn Turley
 
Virtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics DigilityVirtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics DigilityJoerg Osarek
 
Employer Brandung: Gemeinsam statt einsam.
Employer Brandung: Gemeinsam statt einsam.Employer Brandung: Gemeinsam statt einsam.
Employer Brandung: Gemeinsam statt einsam.Jörg Buckmann
 
updated BE RETRO FINAL PROJECT
updated BE RETRO FINAL PROJECTupdated BE RETRO FINAL PROJECT
updated BE RETRO FINAL PROJECTKamyle Glover
 
Colombia Prospera con Tolima
Colombia Prospera con TolimaColombia Prospera con Tolima
Colombia Prospera con TolimaColombia Prospera
 
Freds Resume&Portfolio08
Freds Resume&Portfolio08Freds Resume&Portfolio08
Freds Resume&Portfolio08FredBratteson
 
Hu-Friedy Hand Essentials
Hu-Friedy Hand EssentialsHu-Friedy Hand Essentials
Hu-Friedy Hand EssentialsHu-Friedy Mfg.
 
¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...
¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...
¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...Víctor Puig
 

Andere mochten auch (20)

System programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathaniSystem programs in o.s. for bca and bscit students by hardik nathani
System programs in o.s. for bca and bscit students by hardik nathani
 
Microprocessors8085
Microprocessors8085Microprocessors8085
Microprocessors8085
 
System programming note
System programming noteSystem programming note
System programming note
 
Spr ch-02
Spr ch-02Spr ch-02
Spr ch-02
 
Marketing virtual
Marketing virtualMarketing virtual
Marketing virtual
 
Secuencia didactica wiki
Secuencia didactica wikiSecuencia didactica wiki
Secuencia didactica wiki
 
Presentación Cómo estudiar el medio para posicionar la MARCA
Presentación   Cómo estudiar el medio para posicionar la MARCAPresentación   Cómo estudiar el medio para posicionar la MARCA
Presentación Cómo estudiar el medio para posicionar la MARCA
 
Przestrzeń Miasta - Maciej Jędraszek
Przestrzeń Miasta - Maciej JędraszekPrzestrzeń Miasta - Maciej Jędraszek
Przestrzeń Miasta - Maciej Jędraszek
 
Williams Brochure Welding Products
Williams Brochure Welding ProductsWilliams Brochure Welding Products
Williams Brochure Welding Products
 
I'm international - Conferencia Mike Mösch
I'm international  - Conferencia Mike Mösch I'm international  - Conferencia Mike Mösch
I'm international - Conferencia Mike Mösch
 
Virtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics DigilityVirtual and Augmented Reality Analytics Digility
Virtual and Augmented Reality Analytics Digility
 
Employer Brandung: Gemeinsam statt einsam.
Employer Brandung: Gemeinsam statt einsam.Employer Brandung: Gemeinsam statt einsam.
Employer Brandung: Gemeinsam statt einsam.
 
Espacio aereo
Espacio aereoEspacio aereo
Espacio aereo
 
Predicador de la gracia
Predicador de la graciaPredicador de la gracia
Predicador de la gracia
 
updated BE RETRO FINAL PROJECT
updated BE RETRO FINAL PROJECTupdated BE RETRO FINAL PROJECT
updated BE RETRO FINAL PROJECT
 
Colombia Prospera con Tolima
Colombia Prospera con TolimaColombia Prospera con Tolima
Colombia Prospera con Tolima
 
Freds Resume&Portfolio08
Freds Resume&Portfolio08Freds Resume&Portfolio08
Freds Resume&Portfolio08
 
Musica maldita
Musica malditaMusica maldita
Musica maldita
 
Hu-Friedy Hand Essentials
Hu-Friedy Hand EssentialsHu-Friedy Hand Essentials
Hu-Friedy Hand Essentials
 
¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...
¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...
¿De qué hablamos cuando hablamos de Social Media? Una charla a futuros commun...
 

Ähnlich wie Spr ch-01

Operating system concepts (notes)
Operating system concepts (notes)Operating system concepts (notes)
Operating system concepts (notes)Sohaib Danish
 
System Programming VV Notes.pdf
System Programming VV Notes.pdfSystem Programming VV Notes.pdf
System Programming VV Notes.pdfbharathreddy223930
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsmanideepakc
 
What is operating system
What is operating systemWhat is operating system
What is operating systemSuvithak
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxArjayBalberan1
 
3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdfrohitbaweja26
 
Operating system
Operating systemOperating system
Operating systemIbrahim MH
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Ismail Mukiibi
 
Operting system
Operting systemOperting system
Operting systemKAnurag2
 
c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)Acad
 
Operating System
Operating SystemOperating System
Operating Systemguest8b0942
 
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)SURBHI SAROHA
 
SYCS OS PPT INTRODUCTION LECTURE-01.pdf
SYCS OS PPT INTRODUCTION LECTURE-01.pdfSYCS OS PPT INTRODUCTION LECTURE-01.pdf
SYCS OS PPT INTRODUCTION LECTURE-01.pdfAbhinov Shukla
 

Ähnlich wie Spr ch-01 (20)

Operating system concepts (notes)
Operating system concepts (notes)Operating system concepts (notes)
Operating system concepts (notes)
 
Unit 1 q&a
Unit  1 q&aUnit  1 q&a
Unit 1 q&a
 
System Programming VV Notes.pdf
System Programming VV Notes.pdfSystem Programming VV Notes.pdf
System Programming VV Notes.pdf
 
computer Unit 7
computer Unit 7computer Unit 7
computer Unit 7
 
LM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system callsLM1 - Computer System Overview, system calls
LM1 - Computer System Overview, system calls
 
What is operating system
What is operating systemWhat is operating system
What is operating system
 
MYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptxMYSQL DATABASE Operating System Part2 (1).pptx
MYSQL DATABASE Operating System Part2 (1).pptx
 
3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf3330701_unit-1_operating-system-concepts.pdf
3330701_unit-1_operating-system-concepts.pdf
 
Operating system
Operating systemOperating system
Operating system
 
Ch1
Ch1Ch1
Ch1
 
Introduction of operating system
Introduction of operating systemIntroduction of operating system
Introduction of operating system
 
Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2Advanced computer architecture lesson 1 and 2
Advanced computer architecture lesson 1 and 2
 
Ch1
Ch1Ch1
Ch1
 
Operting system
Operting systemOperting system
Operting system
 
Operating system
Operating systemOperating system
Operating system
 
c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)c and data structures first unit notes (jntuh syllabus)
c and data structures first unit notes (jntuh syllabus)
 
Introduction to OS 1.ppt
Introduction to OS 1.pptIntroduction to OS 1.ppt
Introduction to OS 1.ppt
 
Operating System
Operating SystemOperating System
Operating System
 
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
ESSENTIAL COMPONENTS OF COMPUTERS(UNIT 2)
 
SYCS OS PPT INTRODUCTION LECTURE-01.pdf
SYCS OS PPT INTRODUCTION LECTURE-01.pdfSYCS OS PPT INTRODUCTION LECTURE-01.pdf
SYCS OS PPT INTRODUCTION LECTURE-01.pdf
 

Kürzlich hochgeladen

ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxMichelleTuguinay1
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdfMr Bounab Samir
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfChristalin Nelson
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17Celine George
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesVijayaLaxmi84
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 

Kürzlich hochgeladen (20)

ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptxDIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
DIFFERENT BASKETRY IN THE PHILIPPINES PPT.pptx
 
MS4 level being good citizen -imperative- (1) (1).pdf
MS4 level   being good citizen -imperative- (1) (1).pdfMS4 level   being good citizen -imperative- (1) (1).pdf
MS4 level being good citizen -imperative- (1) (1).pdf
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Indexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdfIndexing Structures in Database Management system.pdf
Indexing Structures in Database Management system.pdf
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17How to Manage Buy 3 Get 1 Free in Odoo 17
How to Manage Buy 3 Get 1 Free in Odoo 17
 
Sulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their usesSulphonamides, mechanisms and their uses
Sulphonamides, mechanisms and their uses
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 

Spr ch-01

  • 1. K.K. WAGH POLYTECHNIC, NASHIK-03 DEPARTMENT OF COMPUTER TECHNOLOGY (Second Shift) Chapter-01 Introduction to System Programming
  • 2. System Software consists of a variety of programs that support the operation of a computer. The software makes it possible for the users to focus on an application or other problem to be solved, without needing to know the details of how the machine works internally. A System program is a program which is required for the effective execution of a general user (application) program. The term execution here includes all activities namely writing program code ,editing, storage, translation, relocation, linking and eventual execution. System Software
  • 4. Components of System Software Assembler Linker Loader Macro processor Text editor Compiler Operating system Debugging system Source Code Control System
  • 5. 1. Assemblers: Programmers found it difficult to write or read programs in machine language, so for more convenience they began to use a mnemonic for each machine instruction, which subsequently translate into machine language. Such a mnemonic machine language is now called as an assembly language. Program known as assembler were written to automate the translation of assembly language into machine language. The input to an assembler is an assembly language program. Output is an object program plus information that enables the loader to prepare the object program for information. Evolution of System Software
  • 6. Evolution of System Software 2. Loaders : Once the assembler produces an object program, that program must be placed into memory and executed. It is the purpose of the loader to assure that object program are placed in memory in an executable form. A loader is a program that places programs into main memory and prepares them for execution. There are various loading schemes: absolute, compile-and-go, relocating, ,dynamic linking and direct-linking. In general loader must load, relocate, and link the program. The period of execution of user’s program is called execution time. The period of translating a user’s program is called assembly or compile time. The period of loading and preparing an object program for execution is called load time.
  • 7. Evolution of System Software 3. Macros: To avoid the repetition of the identical parts of code in a program operating system provide a macro processing facility, which permits the programmer to define an abbreviation for a part of his program and to use the abbreviation in his program. The macro processor treats the identical parts of the program defined by abbreviation as a macro definition. The macro processor substitutes the definition for all occurrences of the abbreviation (macro call) in the program.
  • 8. Evolution of System Software 4. Compilers: A compiler is a program that accepts a program written in high level language and produce an object program. e.g. FORTRAN, COBOL, C etc. Modern compilers must interact closely with the operating system to handle statements concerning the hardware interrupts of a computer system.
  • 9. Evolution of System Software 5. Operating Systems: An operating system is an interface between user and computer hardware. An OS is concerned with the allocation of resources and services, such as memory, processors, devices and information. The OS includes programs to manage these resources, such as bus controller, a scheduler, memory management module, I/O programs, and a file system.
  • 10. Evolution of Operating System Historical Review of Operating Systems: 1. Monitors -Monitors are the simplest operating systems. -Single user systems . -Allow user interaction. 2. Simple Batch Systems -The user prepares a job (which consists of program, data and some control information), submits it to the computer operator and receives the output after the program is executed. -The job is usually punched on cards and the output is usually printed. -To speed up processing, jobs with similar needs can be batched together and run as a group. -The operating system is always in memory and its job is to transfer control automatically from one job to the next.
  • 11. card reader CPU I/O line printer As the I/O devices are slower than the speed of the CPU (the difference may be three orders of magnitude or more), the CPU is often idle. For using the system more efficiently, cards can be read from the card reader onto the disk. The operating system records their location on disk in a table. When a job requests the printer, the output is copied into a system buffer and is written to the disk. When the job is completed, the output is printed. This form of processing is called spooling (simultaneous peripheral operation on line). Evolution of Operating System
  • 12. Evolution of Operating System 3. Multiprogrammed Batch Systems: The operating system keeps several jobs (a subset of jobs in the job pool) in memory at a time. During the execution of one job, if it waits for an I/O operation to complete, the operating system switches to and executes another job. In this way, as long as there is always some job to execute, the CPU will never be idle.
  • 13. 4. Time-Sharing Systems In multiprogrammed batch systems, the user cannot interact with the program during its execution. In time-sharing or multitasking systems, multiple jobs are executed by the CPU switching between them, but the switching occurs so frequently that the user may interact with each program while it is running. Time-sharing operating systems: -uses CPU scheduling and multiprogramming, -uses time-slice mechanism, -allows interactive I/O, -allows many users to share the computer simultaneously. Evolution of Operating System
  • 14. 5. Real time operating systems: Used whenever a large number of external events have to be treated in a short or limited interval of time Support for multiprogramming/multi-tasking Main goal: Minimization of the response time to service the external events. Memory management: -Concurrent processes are loaded into the memory. -Support for protection and inter-process communication. I/O management: -Critical in time -Processes dealing with I/O are directly connected to the interrupt vectors (or handling the interrupt requests) File management: It may be missing If exists, it should comply with requirements for timesharing systems + it should satisfy the requirements for real time systems Evolution of Operating System
  • 15. 6. Distributed operating systems Distributed systems also have more than one processor. Each processor has its local memory. Processors communicate through communication lines (eg. Telephone lines, high-speed bus, etc.). Processors are referred to as sites, nodes, computers depending on the context in which they are mentioned. Multicomputer systems are loosely coupled. Example applications are e-mail, web server, etc. Evolution of Operating System
  • 16. Foundation of System Programming
  • 17. Machine Structure Fig. illustrates the structure of the CPU for a typical von Neuman machine , such as the IBM System/360.
  • 18. The CPU consists of an instruction interpreter, a location counter, an instruction register and various working registers and general registers. Instruction Interpreter: It is group of electrical circuits(hardware), that execute the instructions fetched from memory. Location Counter(LC): It is also called as Program Counter(PC) or Instruction Counter(IC), is a hardware memory device which denotes the location of the current instruction being executed. Instruction Register(IR): A copy of current instruction is stored in the Instruction Register. Machine Structure
  • 19. Working & General Registers: The working registers (WR) are memory devices that serves as “scratch pads” for the instructions interpreter, while the general registers(GR) are used by the programmer as storage location and for special functions. Memory Address Register(MAR) & Memory Buffer Register(MBR) The primary interface between the memory and CPU is via the MAR and MBR. The MAR contains the address of the memory location that is to be read from or store into. The MBR contains a copy of the designated memory location specified by MAR after a “read” or the new contents of the memory locations prior “write”. Machine Structure
  • 20. Memory Controller: It is hardware that transfers data between the MBR and primary memory locations the address of which is in the MAR. I/O Channel The I/O channel interpret special instructions for inputting and outputting information from the memory. Machine Structure