Week4 OS
Week4 OS
Week4 OS
Operating System
`
Introduction
Archana Nair S
Department of CSE
Amrita Viswa Vidyapeetham
Computer System Structure
2
Computer System Structure
3
Classification of OS
4
Classification of OS
Single-tasking vs Multi-tasking
• A single-tasking system can only run one process at a time,
while a multi-tasking operating system allows more than one
process to be running in concurrency
• This is achieved by time-sharing, where the available processor
time is divided between multiple processes.
• Other resources too would need to be shared in a multi-
tasking environment.
5
Classification of OS
Single-user vs Multi-user
• Single-user operating systems have no facilities to distinguish
users, but may allow multiple processes to run in tandem
• A multi-user operating system extends the basic concept of
multi-tasking with facilities that identify processes and
resources
• The system permits multiple users to interact with the system at
the same time (often via ‘dumb’ terminals).
6
Classification of OS
7
Classification of OS
8
Classification of OS
9
OS Operations
10
OS Operations
11
Transition from user mode to
kernel
• Timer to prevent infinite loop / process hogging resources.
• When counter zero generate an interrupt.
12
Functions of OS
• Process Management
• Memory management
• Peripheral devices management
• Protection and security
• Networking and communication
13
Memory Place your
Webcam Video here
Size 38%
14
Memory Hierarchy Place your
Webcam Video here
Size 38%
15
Memory Place your
Webcam Video here
Size 38%
Memory Hierarchy
16
Memory Hierarchy Place your
Webcam Video here
Size 38%
17
Data Migration Place your
Webcam Video here
Size 38%
18
Memory Management Place your
Webcam Video here
Size 38%
• A set of programs.
• Three types of software.
• System Software
• Application Software
• Utility software
20
Software Components
System Software
• Controls all the components of a computer.
• Controls other software and hardware components.
Application software
• It is designed for a specific purpose of the user.
• Dedicated to a specific application.
• Run by users.
• Utility software is designed to solve any issues or a complex
situation in a computer.
21
What is an Operating
System(OS)
22
What is an Operating
System(OS)
23
Basic Concepts
24
Kernel
• The kernel is the core component of an
operating system.
• It is the part of the operating system
that loads first, and it remains in main
memory.
• It is responsible for providing secure
access to the system’s resources.
• It act as an interface between the user
applications and the hardware.
• When a process makes requests of the
kernel, the request is called system
call. This Photo by Unknown Author is licensed under CC BY-SA
25
System Calls
26
Interrupts
27
Shell
28
Shell
Types of Shells
• A GUI (graphical user interface) - most famously seen in
Windows family operating systems
• Command line interface – usually associated with Unix family
• Command-line shells require the user to be familiar with
commands and their calling syntax, and to understand
concepts about the shell-specific scripting language
29
Takeaways
• Computer System
Structure.
• Software Components.
• What is an Operating
System? Place your
Webcam Video here
Size 100%
30
References
31