SlideShare a Scribd company logo
1 of 21
Topic : OS Structures
Presenting Members :
Hassan Siddiqui
Mubeen Butt
Hamza Butt
Awais Alvi
10/30/2015
An operating system provides an environment for the
execution of programs.
One set of operating system services provides
functions that are helpful to the user.
A ) User interface:
OS has interface that can take several forms .
i) Command line.
ii) Batch interface.
iii) GUI.
2
* CL uses text commands and a method for entering
them.
* In batch commands and directives to control those
commands are entered into files, and those files
are executed.
* Most commonly, a graphical user interface (GUI) is
used. Here
the interface is a window system with a pointing
device to direct I/O , choose from menus, and make
selections and keyboard to enter text.
Some systems provide two or all three of these
variations.
3
B) Program execution:
The system must be able to load a program into memory
and to run that program. The program must be able to end
its execution, either normally or abnormally (indicating
error).
C) I/O operations. A running program may require I/O,
which may involve a file or an I/O device. For specific
devices, special functions may be desired (such as
recording to a CD or DVD drive or blanking a display
screen). For efficiency and protection, users usually cannot
control I/O devices directly.
Therefore, the operating system must provide a means to
do I/O.
4
• File-system manipulation.
The file system is of particular interest. Obviously,
programs need to read and write files and directories.
They also need to create and delete them by name,
search for a given file, and list file information.
Finally, some operating systems include permissions
management to allow or deny access to files or
directories based on file ownership. Many operating
systems provide a variety of file systems, sometimes
to allow personal choice and sometimes to provide
specific features or performance characteristics.
5
• Communications.
There are many circumstances in which one
process needs to exchange information with
another process. Such communication may
occur between processes that are executing on
the same computer or between processes that
are executing on different computer.
6
 Hamza Butt
7
 Error detection.
The operating system needs to be detecting
and correcting errors constantly. Errors may
occur in the CPU and memory hardware (such
as a memory error or a power failure), in I/O
devices (such as a parity error on disk, a
connection failure on a network.
8
• Resource allocation.
When there are multiple users or multiple jobs
running at the same time, resources must be
allocated to each of them.
• Accounting.
We want to keep track of which users use how
much and what kinds of computer resources.
9
 Command Interpreters:
Some operating systems include the command
interpreter in the kernel. Others, such as
Windows and UNIX, treat the command
interpreter as a special program that is running
when a job is initiated or when a user first logs
on.
 Graphical User Interfaces:
The first GUI appeared on the Xerox Alto
computer in 1973.
10
 System call is an entry point in kernel.
 So system call interface is a layer of s/w on
the top of the kernel that allows us to get into
the kernel because of different reasons.
 For instance , copy paste. (i/f , o/f).
11
Mubeen Butt..
12
 Process Control.
 File manipulation.
 Device manipulation.
 Information maintenance.
 Communications, and protection.
Now Briefly explain…
13
 Process control
◦ end, abort
◦ load, execute
◦ create process, terminate process
◦ get process attributes, set process attributes
◦ wait for time
◦ wait event, signal event
◦ allocate and free memory
 File management
◦ create file, delete file
◦ open, close
◦ read, write, re-position
◦ get file attributes, set file attributes
14
 Device management
◦ Request device, release device
◦ Read, write, reposition
◦ Logically attach or detach devices
• Information maintenance
◦ get time or date, set time or date
◦ get system data, set system data
◦ get process, file, or device attributes
◦ set process, file, or device attributes
15
 Awais Alvi 
16
 System programs:
Also known as system utilities, provide a
convenient environment for program
development and execution.
 They can be divided into these categories:
• File management:
These programs create, delete, copy, rename,
print, dump, list, and generally manipulate
files and directories.
17
• Status information:
Some programs simply ask the system for the
date, time, amount of available memory or disk
space, number of users, or similar status
information. Others are more complex,
providing detailed performance, logging, and
debugging information.
18
• File modification:
Several text editors may be available to create
and
modify the content of files stored on disk or
other storage devices.
 Programming-language support:
Compilers, assemblers, debuggers, and
interpreters for common programming
languages (such as C, C++, Java, and PERL) are
often provided with the operating system or
available as a separate download.
19
• Program loading and execution:
Once a program is assembled or compiled it
must be loaded into memory to be executed.
The system may provide absolute loaders like
linkage editors, and overlay loaders. Debugging
systems for either higher-level languages or
machine language are needed as well.
20
• Communications:
These programs provide the mechanism for
creating virtual connections among processes,
users, and computer systems. They allow users
to send messages to one another’s screens, to
browse Web pages, to send e-mail messages,
to log in remotely, or to transfer files from one
machine to another.
21

More Related Content

What's hot

30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
raj732723
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
sphs
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
Mohd Arif
 
services and system calls of operating system
services and system calls of operating system services and system calls of operating system
services and system calls of operating system
Saurabh Soni
 
system calls, single user, multiuser os ...
system calls, single user, multiuser os                                      ...system calls, single user, multiuser os                                      ...
system calls, single user, multiuser os ...
myrajendra
 
Os structure
Os structureOs structure
Os structure
Mohd Arif
 

What's hot (20)

Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]
 
Operating System
Operating SystemOperating System
Operating System
 
Operating System
Operating SystemOperating System
Operating System
 
2 operating system structures
2 operating system structures2 operating system structures
2 operating system structures
 
Structure of operating system
Structure of operating systemStructure of operating system
Structure of operating system
 
Operating system- AARAMBH PANDEY
Operating system- AARAMBH PANDEYOperating system- AARAMBH PANDEY
Operating system- AARAMBH PANDEY
 
Presentation operating system
Presentation operating system Presentation operating system
Presentation operating system
 
30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt30326851 -operating-system-unit-1-ppt
30326851 -operating-system-unit-1-ppt
 
Operating System Structure (documentation)
Operating System Structure (documentation)Operating System Structure (documentation)
Operating System Structure (documentation)
 
OS Structure
OS StructureOS Structure
OS Structure
 
Operating system Tutorial.
Operating system Tutorial.Operating system Tutorial.
Operating system Tutorial.
 
Operating System PPT
Operating System PPTOperating System PPT
Operating System PPT
 
OS - Ch2
OS - Ch2OS - Ch2
OS - Ch2
 
Operating system 02 os as an extended machine
Operating system 02 os as an extended machineOperating system 02 os as an extended machine
Operating system 02 os as an extended machine
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
 
Operating system
Operating systemOperating system
Operating system
 
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
OPERATING SYSTEMSDESIGN AND IMPLEMENTATIONOPERATING SYSTEMSDESIGN AND IMPLEMENTATION
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION
 
services and system calls of operating system
services and system calls of operating system services and system calls of operating system
services and system calls of operating system
 
system calls, single user, multiuser os ...
system calls, single user, multiuser os                                      ...system calls, single user, multiuser os                                      ...
system calls, single user, multiuser os ...
 
Os structure
Os structureOs structure
Os structure
 

Viewers also liked

MaestríA Siendo Objetivos Contenidos
MaestríA Siendo Objetivos   ContenidosMaestríA Siendo Objetivos   Contenidos
MaestríA Siendo Objetivos Contenidos
Adalberto
 
MaestríA Pasos Para El Texto Paralelo
MaestríA Pasos Para El Texto ParaleloMaestríA Pasos Para El Texto Paralelo
MaestríA Pasos Para El Texto Paralelo
Adalberto
 

Viewers also liked (16)

Ute lorena lopez,dr.gonzalo remache.fortalecer las capacidades y potencialida...
Ute lorena lopez,dr.gonzalo remache.fortalecer las capacidades y potencialida...Ute lorena lopez,dr.gonzalo remache.fortalecer las capacidades y potencialida...
Ute lorena lopez,dr.gonzalo remache.fortalecer las capacidades y potencialida...
 
Danuelo Arroyo Longitud de una curva
Danuelo Arroyo Longitud de una curvaDanuelo Arroyo Longitud de una curva
Danuelo Arroyo Longitud de una curva
 
Education%203 a%20walker%20final%20slides[1]
Education%203 a%20walker%20final%20slides[1]Education%203 a%20walker%20final%20slides[1]
Education%203 a%20walker%20final%20slides[1]
 
MaestríA Siendo Objetivos Contenidos
MaestríA Siendo Objetivos   ContenidosMaestríA Siendo Objetivos   Contenidos
MaestríA Siendo Objetivos Contenidos
 
JP PM Review2
JP PM Review2JP PM Review2
JP PM Review2
 
Domingo 6 resurrección c 2013 reflexión evangélica
Domingo 6 resurrección c 2013 reflexión evangélicaDomingo 6 resurrección c 2013 reflexión evangélica
Domingo 6 resurrección c 2013 reflexión evangélica
 
Ute plan de investigación en la modalidad de proyectos dr remache_l_uis aguas
Ute plan de investigación en la modalidad de proyectos dr remache_l_uis aguasUte plan de investigación en la modalidad de proyectos dr remache_l_uis aguas
Ute plan de investigación en la modalidad de proyectos dr remache_l_uis aguas
 
Estamos Con Ustedes
Estamos Con UstedesEstamos Con Ustedes
Estamos Con Ustedes
 
Tp psicología general UBA
Tp psicología general UBATp psicología general UBA
Tp psicología general UBA
 
Guia de trabajo creativo semaforo
Guia de trabajo creativo semaforoGuia de trabajo creativo semaforo
Guia de trabajo creativo semaforo
 
MaestríA Pasos Para El Texto Paralelo
MaestríA Pasos Para El Texto ParaleloMaestríA Pasos Para El Texto Paralelo
MaestríA Pasos Para El Texto Paralelo
 
Ch23
Ch23Ch23
Ch23
 
Biological Bases of Behavior
Biological Bases of BehaviorBiological Bases of Behavior
Biological Bases of Behavior
 
Curso hfc aprendices
Curso hfc aprendicesCurso hfc aprendices
Curso hfc aprendices
 
Tipos de suelos
Tipos de suelosTipos de suelos
Tipos de suelos
 
StreamOnline
StreamOnline StreamOnline
StreamOnline
 

Similar to operating system structures

operatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxoperatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptx
krishnajoshi70
 
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
 

Similar to operating system structures (20)

Unit I OS CS.ppt
Unit I OS CS.pptUnit I OS CS.ppt
Unit I OS CS.ppt
 
operatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptxoperatinndnd jdj jjrg-system-1(1) (1).pptx
operatinndnd jdj jjrg-system-1(1) (1).pptx
 
OS Lec2.pptx
OS Lec2.pptxOS Lec2.pptx
OS Lec2.pptx
 
computer Unit 7
computer Unit 7computer Unit 7
computer Unit 7
 
OS Services, System call, Virtual Machine
OS Services, System call, Virtual MachineOS Services, System call, Virtual Machine
OS Services, System call, Virtual Machine
 
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
 
Os lecture 6
Os lecture 6Os lecture 6
Os lecture 6
 
Operating systems system structures
Operating systems   system structuresOperating systems   system structures
Operating systems system structures
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Operating system
Operating systemOperating system
Operating system
 
Operating system
Operating systemOperating system
Operating system
 
chapter2.pptx
chapter2.pptxchapter2.pptx
chapter2.pptx
 
Nt introduction(os)
Nt introduction(os)Nt introduction(os)
Nt introduction(os)
 
CH02.pdf
CH02.pdfCH02.pdf
CH02.pdf
 
OS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptxOS UNIT 1 PPT.pptx
OS UNIT 1 PPT.pptx
 
OS Content.pdf
OS Content.pdfOS Content.pdf
OS Content.pdf
 
OS.pptx
OS.pptxOS.pptx
OS.pptx
 
Basics of Operating System
Basics of Operating SystemBasics of Operating System
Basics of Operating System
 
Chapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System ConceptsChapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System Concepts
 
Fundamentals of Computing Chapter 7
Fundamentals of Computing Chapter 7Fundamentals of Computing Chapter 7
Fundamentals of Computing Chapter 7
 

Recently uploaded

Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
PECB
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Recently uploaded (20)

Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
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...
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
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
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-IIFood Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
Food Chain and Food Web (Ecosystem) EVS, B. Pharmacy 1st Year, Sem-II
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 

operating system structures

  • 1. Topic : OS Structures Presenting Members : Hassan Siddiqui Mubeen Butt Hamza Butt Awais Alvi 10/30/2015
  • 2. An operating system provides an environment for the execution of programs. One set of operating system services provides functions that are helpful to the user. A ) User interface: OS has interface that can take several forms . i) Command line. ii) Batch interface. iii) GUI. 2
  • 3. * CL uses text commands and a method for entering them. * In batch commands and directives to control those commands are entered into files, and those files are executed. * Most commonly, a graphical user interface (GUI) is used. Here the interface is a window system with a pointing device to direct I/O , choose from menus, and make selections and keyboard to enter text. Some systems provide two or all three of these variations. 3
  • 4. B) Program execution: The system must be able to load a program into memory and to run that program. The program must be able to end its execution, either normally or abnormally (indicating error). C) I/O operations. A running program may require I/O, which may involve a file or an I/O device. For specific devices, special functions may be desired (such as recording to a CD or DVD drive or blanking a display screen). For efficiency and protection, users usually cannot control I/O devices directly. Therefore, the operating system must provide a means to do I/O. 4
  • 5. • File-system manipulation. The file system is of particular interest. Obviously, programs need to read and write files and directories. They also need to create and delete them by name, search for a given file, and list file information. Finally, some operating systems include permissions management to allow or deny access to files or directories based on file ownership. Many operating systems provide a variety of file systems, sometimes to allow personal choice and sometimes to provide specific features or performance characteristics. 5
  • 6. • Communications. There are many circumstances in which one process needs to exchange information with another process. Such communication may occur between processes that are executing on the same computer or between processes that are executing on different computer. 6
  • 8.  Error detection. The operating system needs to be detecting and correcting errors constantly. Errors may occur in the CPU and memory hardware (such as a memory error or a power failure), in I/O devices (such as a parity error on disk, a connection failure on a network. 8
  • 9. • Resource allocation. When there are multiple users or multiple jobs running at the same time, resources must be allocated to each of them. • Accounting. We want to keep track of which users use how much and what kinds of computer resources. 9
  • 10.  Command Interpreters: Some operating systems include the command interpreter in the kernel. Others, such as Windows and UNIX, treat the command interpreter as a special program that is running when a job is initiated or when a user first logs on.  Graphical User Interfaces: The first GUI appeared on the Xerox Alto computer in 1973. 10
  • 11.  System call is an entry point in kernel.  So system call interface is a layer of s/w on the top of the kernel that allows us to get into the kernel because of different reasons.  For instance , copy paste. (i/f , o/f). 11
  • 13.  Process Control.  File manipulation.  Device manipulation.  Information maintenance.  Communications, and protection. Now Briefly explain… 13
  • 14.  Process control ◦ end, abort ◦ load, execute ◦ create process, terminate process ◦ get process attributes, set process attributes ◦ wait for time ◦ wait event, signal event ◦ allocate and free memory  File management ◦ create file, delete file ◦ open, close ◦ read, write, re-position ◦ get file attributes, set file attributes 14
  • 15.  Device management ◦ Request device, release device ◦ Read, write, reposition ◦ Logically attach or detach devices • Information maintenance ◦ get time or date, set time or date ◦ get system data, set system data ◦ get process, file, or device attributes ◦ set process, file, or device attributes 15
  • 16.  Awais Alvi  16
  • 17.  System programs: Also known as system utilities, provide a convenient environment for program development and execution.  They can be divided into these categories: • File management: These programs create, delete, copy, rename, print, dump, list, and generally manipulate files and directories. 17
  • 18. • Status information: Some programs simply ask the system for the date, time, amount of available memory or disk space, number of users, or similar status information. Others are more complex, providing detailed performance, logging, and debugging information. 18
  • 19. • File modification: Several text editors may be available to create and modify the content of files stored on disk or other storage devices.  Programming-language support: Compilers, assemblers, debuggers, and interpreters for common programming languages (such as C, C++, Java, and PERL) are often provided with the operating system or available as a separate download. 19
  • 20. • Program loading and execution: Once a program is assembled or compiled it must be loaded into memory to be executed. The system may provide absolute loaders like linkage editors, and overlay loaders. Debugging systems for either higher-level languages or machine language are needed as well. 20
  • 21. • Communications: These programs provide the mechanism for creating virtual connections among processes, users, and computer systems. They allow users to send messages to one another’s screens, to browse Web pages, to send e-mail messages, to log in remotely, or to transfer files from one machine to another. 21