Unit 1 (22516) (1) OSY
Unit 1 (22516) (1) OSY
Hours: 06 Marks: 08
Prepared by:
Mrs. Kousar Ayub A.
Lecturer(Selection Grade)
Computer Engg. Dept
M. H. Saboo Siddik Polytechnic
1
Learning Outcomes
The learners will be able to:
• Operating System(OS) Concept
– Components of OS
– Operations of OS
– Views of OS
• Different Types of Operating Systems
– Batch OS
– Multi Programmed OS
– Time Shared OS
– Multiprocessor Systems
– Distributed Systems
– Real Time Systems
– Mobile OS
2
What is an Operating System?
• A program that acts as an intermediary between a
user of a computer and the computer hardware.
• Eg :-Windows 10, Windows 8, Apple's mac OS &
Linux
5
Operations /Functions/Services of OS
Memory Management
Device Management
Processor Management
Security
Error detecting aids
Coordination between other
• software and users
Job accounting
File Management
6
Cont……
Memory Management
Keeps tracks of primary memory, i.e., what part of it are in use by
whom, what part are not in use.
Allocates the memory when a process requests it to do so.
De-allocates the memory when a process no longer needs it or has
been terminated.
Processor Management
Keeps tracks of processor and status of process. The program
responsible for this task is known as traffic controller
Allocates the processor (CPU) to a process.
De-allocates processor when a process is no longer required.
7
Cont……
Device Management
Keeps tracks of all devices. The program responsible for this task is
known as the I/O controller.
Decides which process gets the device when and for how much time.
Allocates the device in the most efficient way.
De-allocates devices.
File Management
Keeps track of information, location, uses, status etc. The collective
facilities are often known as file system.
Decides who gets the resources.
Allocates the resources.
De-allocates the resources.
8
Cont……
Security :-By means of password and similar other techniques, it
prevents unauthorized access to programs and data.
10
Batch Operating System
13
Multiprogrammed Systems
Several jobs are kept in main memory at the same time, and the CPU is
multiplexed among them.
14
OS Features Needed for Multiprogramming
• I/O routine supplied by the system.
• Memory management – the system must
allocate the memory to several jobs.
• CPU scheduling – the system must
choose among several jobs ready to run.
• Allocation of devices.
15
Multiprocessor Systems(Parallel Systems)
• Multiprocessor systems with more than on CPU in close
communication.
• Tightly coupled system – processors share memory and a
clock; communication usually takes place through the
shared memory.
• Advantages of parallel system:
– Increased throughput
– Economical
– Increased reliability
• graceful degradation
• fail-soft systems
16
Parallel Systems (Cont.)
• Symmetric multiprocessing (SMP)
– Each processor runs and identical copy of the operating system.
– Many processes can run at once without performance
deterioration.
– Most modern operating systems support SMP
• Asymmetric multiprocessing
– Each processor is assigned a specific task; master processor
schedules and allocated work to slave processors.
– More common in extremely large systems
17
Symmetric Multiprocessing Architecture
18
Distributed Systems
• Distribute the computation among several physical
processors.
• Loosely coupled system – each processor has its own local
memory; processors communicate with one another
through various communications lines, such as high-speed
buses or telephone lines.
• Advantages of distributed systems.
– Resources Sharing
– Computation speed up – load sharing
– Reliability
– Communications
19
Distributed Systems (cont)
• Requires networking infrastructure.
• Local area networks (LAN) or Wide area networks
(WAN)
• May be either client-server or peer-to-peer systems.
20
General Structure of Client-Server
21
Real-Time Systems
• Often used as a control device in a dedicated
application such as controlling scientific
experiments, medical imaging systems,
industrial control systems, and some display
systems.
• Well-defined fixed-time constraints.
• Real-Time systems may be either hard or soft
real-time.
22
Real-Time Systems
23
Real-Time Systems (Cont.)
• Hard real-time:
– Secondary storage limited or absent, data stored in short
term memory, or read-only memory (ROM)
– Conflicts with time-sharing systems, not supported by
general-purpose operating systems.
• Soft real-time
– Limited utility in industrial control of robotics
– Useful in applications (multimedia, virtual reality)
requiring advanced operating-system features.
24
Mobile OS
• A mobile OS is a software that allows
smartphones, tablet PCs and other hand held
devices to run applications and programs.
• Common Mobile OS
– Android
– ios
– Windows
– KaiOS
25
Command Line & GUI Based OS
• Command Line Based OS :
– This Permits user to interact with system using
commands.
– Example : DOS, UNIX etc.
• GUI Based OS :
– This Permits user to interact with system using graphical
controls.
– Example : Windows, LINUX etc.
26
EXAMPLE
27
Thank you…..
28