SlideShare a Scribd company logo
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

File concept and access method
File concept and access methodFile concept and access method
File concept and access method
rajshreemuthiah
 
Directory structure
Directory structureDirectory structure
Directory structure
sangrampatil81
 
Introduction to System Calls
Introduction to System CallsIntroduction to System Calls
Introduction to System Calls
Vandana Salve
 
Inter Process Communication
Inter Process CommunicationInter Process Communication
Inter Process Communication
Adeel Rasheed
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
Dinesh Modak
 
System calls
System callsSystem calls
System calls
Bernard Senam
 
6.distributed shared memory
6.distributed shared memory6.distributed shared memory
6.distributed shared memory
Gd Goenka University
 
Cpu scheduling in operating System.
Cpu scheduling in operating System.Cpu scheduling in operating System.
Cpu scheduling in operating System.
Ravi Kumar Patel
 
Deadlock Avoidance - OS
Deadlock Avoidance - OSDeadlock Avoidance - OS
Deadlock Avoidance - OS
MsAnita2
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
Riya Choudhary
 
Unix.system.calls
Unix.system.callsUnix.system.calls
Unix.system.calls
GRajendra
 
Chapter 3: Processes
Chapter 3: ProcessesChapter 3: Processes
Chapter 3: Processes
Shafaan Khaliq Bhatti
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dos
vanamali_vanu
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
Anamika Singh
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Ravindra Raju Kolahalam
 
Deadlock
DeadlockDeadlock
Deadlock
Rajandeep Gill
 
OS Functions and Services
OS Functions and ServicesOS Functions and Services
OS Functions and Services
sgpraju
 
Distributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithmDistributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithm
pinki soni
 
Loader
LoaderLoader
Remote Procedure Call in Distributed System
Remote Procedure Call in Distributed SystemRemote Procedure Call in Distributed System
Remote Procedure Call in Distributed System
PoojaBele1
 

What's hot (20)

File concept and access method
File concept and access methodFile concept and access method
File concept and access method
 
Directory structure
Directory structureDirectory structure
Directory structure
 
Introduction to System Calls
Introduction to System CallsIntroduction to System Calls
Introduction to System Calls
 
Inter Process Communication
Inter Process CommunicationInter Process Communication
Inter Process Communication
 
Distributed operating system(os)
Distributed operating system(os)Distributed operating system(os)
Distributed operating system(os)
 
System calls
System callsSystem calls
System calls
 
6.distributed shared memory
6.distributed shared memory6.distributed shared memory
6.distributed shared memory
 
Cpu scheduling in operating System.
Cpu scheduling in operating System.Cpu scheduling in operating System.
Cpu scheduling in operating System.
 
Deadlock Avoidance - OS
Deadlock Avoidance - OSDeadlock Avoidance - OS
Deadlock Avoidance - OS
 
Process scheduling
Process schedulingProcess scheduling
Process scheduling
 
Unix.system.calls
Unix.system.callsUnix.system.calls
Unix.system.calls
 
Chapter 3: Processes
Chapter 3: ProcessesChapter 3: Processes
Chapter 3: Processes
 
Design issues of dos
Design issues of dosDesign issues of dos
Design issues of dos
 
Distributed file system
Distributed file systemDistributed file system
Distributed file system
 
Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]Inter Process Communication Presentation[1]
Inter Process Communication Presentation[1]
 
Deadlock
DeadlockDeadlock
Deadlock
 
OS Functions and Services
OS Functions and ServicesOS Functions and Services
OS Functions and Services
 
Distributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithmDistributed system lamport's and vector algorithm
Distributed system lamport's and vector algorithm
 
Loader
LoaderLoader
Loader
 
Remote Procedure Call in Distributed System
Remote Procedure Call in Distributed SystemRemote Procedure Call in Distributed System
Remote Procedure Call in Distributed System
 

Viewers also liked

Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08Understanding operating systems 5th ed ch08
Understanding operating systems 5th ed ch08BarrBoy
 
Microprocessors8085
Microprocessors8085Microprocessors8085
Microprocessors8085Vikas Kumar
 
System programming note
System programming noteSystem programming note
System programming noteSANTOSH RATH
 
Spr ch-02
Spr ch-02Spr ch-02
Spr ch-02
Vasim Pathan
 
Spr ch-01
Spr ch-01Spr ch-01
Spr ch-01
Vasim Pathan
 
Operating system structures
Operating system structuresOperating system structures
Operating system structuresMohd Arif
 
Operating Systems: File Management
Operating Systems: File ManagementOperating Systems: File Management
Operating Systems: File Management
Damian T. Gordon
 
System Programming Unit II
System Programming Unit IISystem Programming Unit II
System Programming Unit IIManoj Patil
 

Viewers also liked (9)

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
 
operating system structure
operating system structureoperating system structure
operating system structure
 

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

os.ppt
os.pptos.ppt
os.ppt
banu236831
 
operating systems
operating systemsoperating systems
operating systemschukey
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its ComponentsMahmuda Rahman
 
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
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
miki304759
 
Operating System
Operating SystemOperating System
Operating System
Raja Adapa
 
MELJUN CORTES operating_system_structure
MELJUN CORTES operating_system_structureMELJUN CORTES operating_system_structure
MELJUN CORTES operating_system_structure
MELJUN CORTES
 
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 OSC.U
 
System structure
System structureSystem structure
System structure
Kalyani Patil
 
Operating-System Structures
Operating-System StructuresOperating-System Structures
Operating-System Structures
Cloudbells.com
 
OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING OS - BACKGROUND HANDLING
OS - BACKGROUND HANDLING
ImranBhatti58
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
Mukesh Chinta
 
LinuxOS-1 (1).ppt
LinuxOS-1 (1).pptLinuxOS-1 (1).ppt
LinuxOS-1 (1).ppt
Savitha74
 
operating systems
operating systemsoperating systems
operating systemschukey
 
operating systems 6
operating systems 6operating systems 6
operating systems 6chukey
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2sphs
 

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
 
Presentation on Operating System & its Components
Presentation on Operating System & its ComponentsPresentation on Operating System & its Components
Presentation on Operating System & its Components
 
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
 
OS_Ch3
OS_Ch3OS_Ch3
OS_Ch3
 
OSCh3
OSCh3OSCh3
OSCh3
 
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
operating systemsoperating systems
operating systems
 
operating systems 6
operating systems 6operating systems 6
operating systems 6
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
 

Recently uploaded

Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
TechSoup
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
chanes7
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
ShivajiThube2
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
chanes7
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
kimdan468
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
Celine George
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Thiyagu K
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
DhatriParmar
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 

Recently uploaded (20)

Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat  Leveraging AI for Diversity, Equity, and InclusionExecutive Directors Chat  Leveraging AI for Diversity, Equity, and Inclusion
Executive Directors Chat Leveraging AI for Diversity, Equity, and Inclusion
 
Digital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion DesignsDigital Artifact 2 - Investigating Pavilion Designs
Digital Artifact 2 - Investigating Pavilion Designs
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
JEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questionsJEE1_This_section_contains_FOUR_ questions
JEE1_This_section_contains_FOUR_ questions
 
Digital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments UnitDigital Artifact 1 - 10VCD Environments Unit
Digital Artifact 1 - 10VCD Environments Unit
 
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBCSTRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
STRAND 3 HYGIENIC PRACTICES.pptx GRADE 7 CBC
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17How to Make a Field invisible in Odoo 17
How to Make a Field invisible in Odoo 17
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
Unit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdfUnit 2- Research Aptitude (UGC NET Paper I).pdf
Unit 2- Research Aptitude (UGC NET Paper I).pdf
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
The Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptxThe Accursed House by Émile Gaboriau.pptx
The Accursed House by Émile Gaboriau.pptx
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 

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