OS - Lecture # 02 - Types of OS
OS - Lecture # 02 - Types of OS
�ِﺴ ِﻢ ِ
ۑ ۷ ٥ ۶ ۹ ٥ ۷
ἐ ۸ ہ ٦ ٦ ﯧ
٦ ╖
ڮ ּĭڹڮ┤ּ ﮩڵּ �ڶ┼≡ּ ڶּﮥ ڵṟ˨ּδڶڹڮ┬ּṎڮ>ڹڰּ↑ ﮘּ┼˃δﯖּ �ڵ · ▲ ʳ ╕
Ḋ
ڴּڼѲڮ ڴּ ɢڵּڹ٪ʬδ
1
Types of Operating System
Lecture # 02
By: Muhammad Ehsan
Lecturer
Department of Computer Science
2
Types of Operating System
3
Lecture Outline
Mainframe Systems
o Simple Batch Systems
o Mufti-Programmed Systems
o Time Sharing Systems
Single-Processor Systems
Multiprocessor Systems
o Types of Multiprocessor Systems
Distributed Systems
Real-Time Systems
Embedded System
Hand-Held Systems
4
Multimedia Systems
Mainframe Systems
5
Mainframe Systems
6
Simple Batch Systems
The user did not interact directly with computer system. The user
prepared a job that consisted of program, data and some control
information (control cards). He then submitted it to the computer
operator in the form of punched cards.
The operating system was simple. Its basic job was to transfer control
automatically from one job to the next. The operating system was always
resident in memory. The operator batched similar jobs together and then
ran in the computer to speed up the processing.
7
Simple Batch Systems
9
Multiprogrammed Systems
10
Multiprogrammed Systems
CPU I/O
Burst Burst
P1
P2
P1 …
P2 12
Time Sharing
In batch system, the user cannot interact with the job when it is being
executed.
o It means that all possible problems must be anticipated
beforehand as the user cannot make corrections during execution.
It becomes very difficult when a program has to go through many
phases such as compilation, linking etc. It may be difficult to define
what to do if a particular phase fails.
Another problem is debugging of a program.
o All debugging is static. The only information to find out is why the
13
program is giving incorrect output at various stages of execution.
Time Sharing
17
Single-Processors systems
18
Single-Processors systems
19
Multiprocessor Systems
20
Multiprocessor Systems
22
Distributed Systems
A distributed system is a piece of software that ensures:
o a collection of independent computers that appear to the users of the
system as a single system.
A system that distributes the computation among several physical
processors is called distributed system. It is also known as loosely-coupled
system.
o It means that the processors do not share memory, data structures' or
system clock. Each processor has its own local memory.
o A processor can only communicate with other processors through a
23
communication line usually over a network.
Distributed Systems
Two aspects:
o independent computers and
o single system middleware.
24
Distributed Systems
The processors in distributed system may vary in size, speed
and function. They may include microprocessor, workstations,
minicomputers and large general purpose computer system.
o These processors are given different names such as sites,
nodes, computers, machines and hosts etc.
Advantages of Distributed Systems
o Resource Sharing
o Computation Speedup
o Reliability
25
o Scalability
Distributed Systems
26
Real-Time Systems
27
Real-Time Systems
In Real-Time Systems, each job carries a certain deadline within
which the job is supposed to be completed, otherwise, the huge
loss will be there, or even if the result is produced, it will be
completely useless.
o Industrial control systems
o Military applications
o Automobiles (brakes)
o Airplane guidance
o Medical devices
28
Types of Real-Time Systems
31
Embedded Systems
33