SlideShare a Scribd company logo
1 of 23
1
System Programs
What is system?

  A system is a set of components that interact to be
   accomplish some common purpose.

  i.e. human body, organisation.




                                                         2
System Programs
What is Operating System?


  In computer an operating system is a program
   that acts as an intermediary between the user of a
   computer and the computer hardware.

  In another way a mordan system is the collection
   of system programs.



                                                        3
System Programs
What is program?

  A program is set of code that perform a specific
   process.

  i.e. c program, visual basic program.




                                                      4
System Programs
    System programs provide a convenient
 environment for program development and
 execution.
    Some of them are simply user interface to
 system calls ; others are considerably more
 complex.
Most users’ view of the operation system is
 defined by system programs, not the actual
 system calls.

                                                 5
System Programs
The System program can be divided
 into seven parts:
 File manipulation
 Status information
 File modification
 Programming language support
 Program loading and execution
 Communications
 Application programs
                                     6
System Programs
                                Users (People)
               System Programs                    Other User Applications




                                 System Calls




      Kernel

    From OS’s view: system+user programs are all applications

                                                                            7
System Calls
Programming interface to the services provided by
 the OS
Typically written in a high-level language (C or C++)
Mostly accessed by programs via a high-level
 Application Program Interface (API) rather than
 direct system call use
Three most common APIs are Win32 API for
 Windows, POSIX API for POSIX-based systems
 (including virtually all versions of UNIX, Linux, and
 Mac OS X), and Java API for the Java virtual machine
 (JVM)
                                                         8
File Management
What is File?
  Collection of similar records call a file.
  It can be Treated as a single entity.
  It must Have name (file name).
  May restrict access.




                                                9
File Management
File management is one of the most visible
 components of an operating system.

File management system consists of system
 utility programs that run as privileged
 applications.

Input to applications is by means of a file

Output is saved in a file for long-term storage

                                                   10
File Management
File Management Functions
 Identify and locate a selected file.
 Use a directory to describe the location of all files
   plus their attributes.
 On a shared system describe user access control
 Blocking for access to files
 Allocate files to free blocks
 Manage free storage for available block s


                                                          11
File Management
File Operations
  Create
  Delete
  Open
  Close
  Read
  Write




                   12
File Management
Typical Operations On File
 Retrieve_All
 Retrieve_One
 Retrieve_Next
 Retrieve_Previous
 Insert_One
 Delete_One
 Update_One
 Retrieve_Few


                              13
Status information
Some programs ask the system for date, time,
 amount of available, memory disk space, number
 of users or similar steatious information.

Typically, these programs format and print the
 output to the terminal or other output devices.

Some systems implement a registry - used to store
 and retrieve configuration information.


                                                     14
File modification
Several text editors may also be available to
 create and modify the content of files stored on
 disk or tape.

Special commands to search contents of files or
 perform transformations of the text.



                                                    15
Programming-language support

 Compilers, assemblers, and interpreters for
  common programming languages (such as c, c+
  +, Java, Visual Basic , and PERL) are often
  provided to the user with the operating system.

 Some of these programs are now priced and
  provided seperately.


                                                    16
Program loading and execution
Once a program is assembled or compiled , it
 must be loaded into memory to be executed.

The system may provided absolute loaders,
 relocatable loaders , linkage editors , and
 overlay loaders.

Debugging systems for either higher-level
 language are needed also.

                                                17
Communications
These program provide the mechanism for
 creating virtual connections among processes,
 users, and different computer systems.

Allow users to send messages to one
 another’s screens, browse web pages, send
 electronic-mail messages, log in remotely,
 transfer files from one machine to another.

                                                 18
Communications
There are two common models of communication.
  1. Message-passing model.
  2. Shared-memory model.


1. Message-passing model :-
   In the message-passing model, information is
     exchanged through an interprocess – communication
     facility provided by the operating system.


                                                         19
Communications
Message-pasing Model is useful when smaller numbers
 of data need to be exchanged, because no conflicts need
 to be avoided.

It is also easier to implement than is shared memory for
 intercomputer communications.




                                                            20
Communications
2. Shared-Memory model :-

   In the Shared-memory model , process use map
      memory system calls to gain access to regions of
      memory owned by other memory process.

      Shared-memory model allows maximum speed and
      convenience of communication, as it can be done at
      memory speeds when within a computer.

                                                           21
M
  Process A
                       M
  Process B
                           2   1




   Kernel              M
a) Message-Passing model           22
1


                         2
 Process A
Shared Memory


 Process B




   Kernel

b) Shared-Memory Model
                                 23

More Related Content

What's hot

Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43
myrajendra
 
Chapter 2 - Operating System Structures
Chapter 2 - Operating System StructuresChapter 2 - Operating System Structures
Chapter 2 - Operating System Structures
Wayne Jones Jnr
 
Pipeline and data hazard
Pipeline and data hazardPipeline and data hazard
Pipeline and data hazard
Waed Shagareen
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
Kumar
 
15. Transactions in DBMS
15. Transactions in DBMS15. Transactions in DBMS
15. Transactions in DBMS
koolkampus
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
Mahmuda Rahman
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
myrajendra
 

What's hot (20)

Memory management ppt
Memory management pptMemory management ppt
Memory management ppt
 
Thrashing allocation frames.43
Thrashing allocation frames.43Thrashing allocation frames.43
Thrashing allocation frames.43
 
Chapter 2 - Operating System Structures
Chapter 2 - Operating System StructuresChapter 2 - Operating System Structures
Chapter 2 - Operating System Structures
 
Shared Memory Multi Processor
Shared Memory Multi ProcessorShared Memory Multi Processor
Shared Memory Multi Processor
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Pipeline and data hazard
Pipeline and data hazardPipeline and data hazard
Pipeline and data hazard
 
Computer system architecture
Computer system architectureComputer system architecture
Computer system architecture
 
System program
System programSystem program
System program
 
System call
System callSystem call
System call
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Unix architecture | Operating System
Unix architecture | Operating SystemUnix architecture | Operating System
Unix architecture | Operating System
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
Swap-space Management
Swap-space ManagementSwap-space Management
Swap-space Management
 
15. Transactions in DBMS
15. Transactions in DBMS15. Transactions in DBMS
15. Transactions in DBMS
 
Methods for handling deadlock
Methods for handling deadlockMethods for handling deadlock
Methods for handling deadlock
 
Introduction of Memory Management
Introduction of Memory Management Introduction of Memory Management
Introduction of Memory Management
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memory
 
Chapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating SystemChapter 1: Introduction to Operating System
Chapter 1: Introduction to Operating System
 
Operating system services 9
Operating system services 9Operating system services 9
Operating system services 9
 

Viewers also liked (8)

Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08
 
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
 
Spr ch-01
Spr ch-01Spr ch-01
Spr ch-01
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
 
Operating Systems: File Management
Operating Systems: File ManagementOperating Systems: File Management
Operating Systems: File Management
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit II
 

Similar to System programs in o.s. for bca and bscit students by hardik nathani

operating systems
operating systemsoperating systems
operating systems
chukey
 
Operating Systems Structure1- Explain briefly why the objectives o.pdf
Operating Systems Structure1- Explain briefly why the objectives o.pdfOperating Systems Structure1- Explain briefly why the objectives o.pdf
Operating Systems Structure1- Explain briefly why the objectives o.pdf
rishabjain5053
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
MemMem25
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
C.U
 
operating systems 6
operating systems 6operating systems 6
operating systems 6
chukey
 
operating systems
operating systemsoperating systems
operating systems
chukey
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
sphs
 

Similar to System programs in o.s. for bca and bscit students by hardik nathani (20)

os.ppt
os.pptos.ppt
os.ppt
 
operating systems
operating systemsoperating systems
operating systems
 
Operating Systems Structure1- Explain briefly why the objectives o.pdf
Operating Systems Structure1- Explain briefly why the objectives o.pdfOperating Systems Structure1- Explain briefly why the objectives o.pdf
Operating Systems Structure1- Explain briefly why the objectives o.pdf
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 
Operating System
Operating SystemOperating System
Operating System
 
MELJUN CORTES operating_system_structure
MELJUN CORTES operating_system_structureMELJUN CORTES operating_system_structure
MELJUN CORTES operating_system_structure
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Ch3 OS
Ch3 OSCh3 OS
Ch3 OS
 
OSCh3
OSCh3OSCh3
OSCh3
 
OS_Ch3
OS_Ch3OS_Ch3
OS_Ch3
 
System structure
System structureSystem structure
System structure
 
Operating-System Structures
Operating-System StructuresOperating-System Structures
Operating-System Structures
 
Ch3
Ch3Ch3
Ch3
 
OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
 
LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).ppt
 
operating systems 6
operating systems 6operating systems 6
operating systems 6
 
operating systems
operating systemsoperating systems
operating systems
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwaha
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Recently uploaded (20)

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 

System programs in o.s. for bca and bscit students by hardik nathani

  • 1. 1
  • 2. System Programs What is system? A system is a set of components that interact to be accomplish some common purpose. i.e. human body, organisation. 2
  • 3. System Programs What is Operating System? In computer an operating system is a program that acts as an intermediary between the user of a computer and the computer hardware. In another way a mordan system is the collection of system programs. 3
  • 4. System Programs What is program? A program is set of code that perform a specific process. i.e. c program, visual basic program. 4
  • 5. System Programs  System programs provide a convenient environment for program development and execution.  Some of them are simply user interface to system calls ; others are considerably more complex. Most users’ view of the operation system is defined by system programs, not the actual system calls. 5
  • 6. System Programs The System program can be divided into seven parts: File manipulation Status information File modification Programming language support Program loading and execution Communications Application programs 6
  • 7. System Programs  Users (People) System Programs Other User Applications System Calls Kernel From OS’s view: system+user programs are all applications 7
  • 8. System Calls Programming interface to the services provided by the OS Typically written in a high-level language (C or C++) Mostly accessed by programs via a high-level Application Program Interface (API) rather than direct system call use Three most common APIs are Win32 API for Windows, POSIX API for POSIX-based systems (including virtually all versions of UNIX, Linux, and Mac OS X), and Java API for the Java virtual machine (JVM) 8
  • 9. File Management What is File? Collection of similar records call a file. It can be Treated as a single entity. It must Have name (file name). May restrict access. 9
  • 10. File Management File management is one of the most visible components of an operating system. File management system consists of system utility programs that run as privileged applications. Input to applications is by means of a file Output is saved in a file for long-term storage 10
  • 11. File Management File Management Functions Identify and locate a selected file. Use a directory to describe the location of all files plus their attributes. On a shared system describe user access control Blocking for access to files Allocate files to free blocks Manage free storage for available block s 11
  • 12. File Management File Operations Create Delete Open Close Read Write 12
  • 13. File Management Typical Operations On File Retrieve_All Retrieve_One Retrieve_Next Retrieve_Previous Insert_One Delete_One Update_One Retrieve_Few 13
  • 14. Status information Some programs ask the system for date, time, amount of available, memory disk space, number of users or similar steatious information. Typically, these programs format and print the output to the terminal or other output devices. Some systems implement a registry - used to store and retrieve configuration information. 14
  • 15. File modification Several text editors may also be available to create and modify the content of files stored on disk or tape. Special commands to search contents of files or perform transformations of the text. 15
  • 16. Programming-language support Compilers, assemblers, and interpreters for common programming languages (such as c, c+ +, Java, Visual Basic , and PERL) are often provided to the user with the operating system. Some of these programs are now priced and provided seperately. 16
  • 17. Program loading and execution Once a program is assembled or compiled , it must be loaded into memory to be executed. The system may provided absolute loaders, relocatable loaders , linkage editors , and overlay loaders. Debugging systems for either higher-level language are needed also. 17
  • 18. Communications These program provide the mechanism for creating virtual connections among processes, users, and different computer systems. Allow users to send messages to one another’s screens, browse web pages, send electronic-mail messages, log in remotely, transfer files from one machine to another. 18
  • 19. Communications There are two common models of communication. 1. Message-passing model. 2. Shared-memory model. 1. Message-passing model :-  In the message-passing model, information is exchanged through an interprocess – communication facility provided by the operating system. 19
  • 20. Communications Message-pasing Model is useful when smaller numbers of data need to be exchanged, because no conflicts need to be avoided. It is also easier to implement than is shared memory for intercomputer communications. 20
  • 21. Communications 2. Shared-Memory model :-  In the Shared-memory model , process use map memory system calls to gain access to regions of memory owned by other memory process.  Shared-memory model allows maximum speed and convenience of communication, as it can be done at memory speeds when within a computer. 21
  • 22. M Process A M Process B 2 1 Kernel M a) Message-Passing model 22
  • 23. 1 2 Process A Shared Memory Process B Kernel b) Shared-Memory Model 23