Professional Documents
Culture Documents
Fundamental 2: Lec#03 Shugofa Hassani
Fundamental 2: Lec#03 Shugofa Hassani
Lec#03
Shugofa Hassani
Session Objective
• Single user operating system allows one user to interact with system like
desktop operating system , in reverse the multi user operating system
system allows to several users to interact with the system in the same time
like server operating system .
Single- Tasking / Batch Operating system
• A single-tasking system allows only one program in one time such as batch
operating system .
• In a batch operating system user do not interacted with the computer
directly , each user prepared his job on offline device like punch card and
submit to computer operator .
• Job with similar needs batch together and run as group , the required time
for executing of a batch do not considered.
• The second batch executed when the first one completed , CPU goes to
idle until completing the first batch .
Multitasking / Time sharing operating system.
1. Preemptive multitasking
2. Cooperative multitasking
Con..
Preemptive multitasking :
• Preemptive multitasking use schedule for each process to decide how long
to allocate to any one task before giving another task a turn to use the
operating system.
• The act of taking control of the operating system from one task and giving
it to another task is called preempting.
• Cooperative multitasking run process at the same time that enables two
or more programs to cooperatively share the processing time and
resources of the host processor.
• Multiple jobs are executed by the CPU by switching between them , if N users are
present, then each user can get a time quantum. When the user submits the
command, the response time is in few seconds at most.
• The operating system uses CPU scheduling and multiprogramming to provide each
user with a small portion of a time
• The big disadvantages of time sharing systems is that it consumes much resources
so it need special operating systems. Switching between tasks becomes sometimes
sophisticated as there are lot of users and applications running which may hang up
the system
M
mu ultit
l a
wit tiprog sking
h ti ram is
m
con e sh ming
cep arin
t. g
• They are made to run on small machines such as PDAs . They are capable to
• With resource sharing facility, a user at one site may be able to use the
resources available at another.
• If one site fails in a distributed system, the remaining sites can potentially
continue operating.
Network operating System
• A Network Operating System runs on a server and provides the server the capability to
manage data, users, groups, security, applications, and other networking functions.
• The primary purpose of the network operating system is to allow shared file and printer
access among multiple computers in a network, typically a local area network (LAN), a
private network or to other networks.
2- OS manages the communications between the processors Distributed OS , Time sharing , Embedded, Network
3- OS which enable users from various terminals, to use a Distributed OS , Time sharing , Embedded, Network
particular computer system at the same time
5- Operating Systems are manufactured which can be used in Distributed OS , Time sharing , Embedded, Network
embedded computer systems
6- Operating Systems that process data as it comes without Distributed OS , Time sharing , Real Time, Network
buffering Daley
7- the processor's time is shared among multiple users at the Distributed OS , Time sharing , Embedded, Network
same time .
8- operating system can operate more than one program Multitasking OS , Time sharing , Embedded, Network
9- They are made to run on small machines such as PDAs Distributed OS , Time sharing , Embedded, Network
10 - operating system to allow shared file and printer access Distributed OS , Time sharing , Embedded, Network
among multiple computers in a network.
Assignment # 3
1- What is Thread?
a- Difference between Process and Thread
b- Types of Thread
Kernel Level Threads
User Level Threads
Thank You!