Lecture One and Two_introduction to Operating Systems (1)
Lecture One and Two_introduction to Operating Systems (1)
WEEK ONE(1)
TOPIC :
200
LEARNING OBJECTIVES
➢ Overview of Hardware/Software
❖ DEFINITION 2
9
General Perspective of OS
2. The other view is that an OS is a resource manager. That is, a program
designed to manage the computer’s resources such as C.PU, Memory,
Input and Output Device.
N:B: These two views represent two of the primary functions of an operating system.
10
OTHER VIEWS OF AN OPERATING SYSTEM
11
OTHER VIEWS OF AN OPERATING SYSTEM
● Application View: The OS provides an execution environment for
running programs.
12
OTHER VIEWS OF AN OPERATING SYSTEM
computer system.
13
OTHER VIEWS OF AN OPERATING SYSTEM
program.
14
INTERFACE OF OPERATING SYSTEMS
15
CHARACTER USER INTERFACE (CUI
16
CHARACTERISTICS OF A CUI OPERATING SYSTEM
17
A GRAPHICAL USER INTERFACE (GUI).
18
A GRAPHICAL USER INTERFACE (GUI)
● Windows: Multiple windows allow different information to be displayed simultaneously on the user’s
screen.
● Icons: Icons are symbols that represent different types of information. On some systems, icons
● Menus: Commands are selected from a menu rather than typed in a command language.
● Pointing devices: A pointing device, such as a mouse, is used for selecting choices from a menu or
● Graphics: Graphical elements can be mixed with text on the same display.
19
The Functions of an Operating System
21
SYSTEMS TODAY
WetPC1
22
Principles of Operating Systems - Lecture 1
Why study Operating Systems?
1. Need to understand interaction between the hardware and
applications
systems
25
Classifications/Type Of Operating
Systems
1. Single user system
● This means that the user can only run one program at a time. When the
user wants to run another program, they must first close the first
● A batch system is one in which jobs are bundled together with the
instructions necessary to allow them to be processed without
intervention.
❖ Processing is done in the order in which they are submitted, i.e., first
come first serve.
❖ Payroll system
❖ Bank Statement
❖ Each task is given some time to run/execute such that all tasks
are executed in orderly manner.
ADVANTAGES
3-34
Disadvantages
❖ Difficult to debug program.
❖ The output is obtained only after all the jobs are executed.
❖ Due to lack of protection scheme, one batch job can affect pending jobs.
❖ It is sometime costly.
❖ Priority can not be implemented if a certain job has to be executed on an urgent basis
Time-sharing Operating Systems
❖ Time-sharing is a popular representative of multi-programmed,
multi-user systems.
❖ Each task is given some time to execute, so that all the tasks
work smoothly. Each user gets time of CPU as they use single
Time-sharing Operating
Systems
3-38
❖ These systems are also known as multitasking systems. The task
can be from single user or from different users also.
❖ This switching is incredibly quick in order that the users will move
with every program whereas it’s running while not knowing that, the
system is being shared.
❖ For example- you are running a process with a time slot of 5 seconds and in
case process does not complete in 5 second and requires 1 extra second then it
will be executed in next execution cycle but the time slot will not be extended.
❖ Reliability problem
● Real time systems are used for space flights, airport traffic control,
industrial processes, sophisticated medical equipment, telephone
switching etc.
● NOTE
❖ In real time systems the correctness of the computations not only depends
upon the logical correctness of the computation but also upon the time
at which the results is produced. If the timing constraints of the system are
3-44
Real Time operating System
❖ Is designed to respond to input within certain time constraints. This
input usually comes from external sensors, and not from humans.
❖ Real time system is defines as a data processing system in which the time
● Soft Real Time Operating Systems are the RTOS that perform task almost in
the specified deadline. They do not guarantee a hard deadline. Task can be
performed even after the time has elapsed. For example, Multimedia, virtual
reality, Advanced Scientific Projects like undersea exploration.
Differences Between Time Sharing and Real-
Time Operating System
❖ In the time sharing operating systems, the computer resources are shared among the
several users while in real-time systems the external events are processed within the
deadline.
❖ Real-time processing involves just one application. In contrast, the time sharing
processing has to deal with several different applications.
computer technology and are being widely accepted all-over the world and, that
❖ Most commonly, the participating nodes of the system are in a relatively SMALL
❖ Failure of one will not affect the other network communication, as all systems are
independent from each other
❖ Since resources are being shared, computation is highly fast and durable
❖ These systems are easily scalable as many systems can be easily added to the network
❖ To establish distributed systems the language which are used are not
❖ These types of systems are not readily available as they are very
expensive.
Network Operating System
❖ Network Operating System runs on a server and provides server the capability
to manage data, users, groups, security, applications, and other
networking functions.
1. Peer-to-Peer Network
Client/server network operating systems allow the network to centralize functions and
applications in one or more dedicated file servers (See fig. ). The file servers become
the heart of the system, providing access to resources and providing security. Individual
workstations (clients) have access to the resources available on the file servers.
Client/Server
Operating System Properties
Any
Questions
THANK YOU!
62
font style: Tahoma/
headings/t 30-35 content 25-28 line spacing 1.5, name. group
name, id logo justified
● File management
● Device management
● Memory management
● Operating system security
● Mobile operating system
● Process synchronization
● Deadlocks 63