Documente Academic
Documente Profesional
Documente Cultură
By:
Mr. Waqas Haider Khan Bangyal
Operate, Operator and Operating
Operate
Control the functioning of (a machine, process, or
system)
Operator
A person who operates equipment or a machine.
Operating
The way by which a machine, vehicle, device, etc.,
functions are used and controlled
System
A set of things working together as parts of a
mechanism or an interconnecting network
The kernel contains the “internal programs” for the most often used
operations like copying files.
kmem (Linux)
command.exe (Microsoft)
Kernel
Goals of an OS:-
1. Making computer system convenient to use in effective
manner.
2. Manages resources of a computer system.
Hardware
Operating System
HARDWARE
Detail Layered View of Computer
Functions of Operating Systems
Provide a user interface
Run programs
Manage hardware devices
Organized file storage
1) Providing a User Interface
User interface
How a user interacts with a computer
Require different skill sets
1) Providing a User Interface
Graphical user interface (GUI)
Most common interface
Windows, OS X, Gnome, KDE
Uses a mouse to control objects
Uses a desktop metaphor
Shortcuts open programs or documents
Open documents have additional objects
Task switching
Dialog boxes allow directed input
Graphical User Interface
Providing a User Interface
Command line interfaces
Older interface
DOS, Linux, UNIX
User types commands at a prompt
User must remember all commands
Included in all GUIs
Command Line Interface
2) Running Programs
Many different applications supported
System call
Provides consistent access to OS features
Share information between programs
Copy and paste
Object Linking and Embedding
3) Managing Hardware
Programs need to access hardware
Interrupts
CPU is stopped
Hardware device is accessed
Device drivers control the hardware
4) Organizing Files and Folders
Organized storage
Long file names
Folders can be created and nested
All storage devices work consistently
Types of Operating Systems
1) Real-time operating system
Very fast small OS
Built into a device
Respond quickly to user input
MP3 players, Medical devices
Types of Operating Systems
2) Single user/Single tasking OS
One user works on the system
Performs one task at a time
MS-DOS and Palm OS
Take up little space on disk
Run on inexpensive computers
Single Tasking
Operating System cannot be able to take control
back from the running process/task/application
In case if a process call an I/O Instruction then
Processor must wait for I/O instruction to
complete before preceding
Types of Operating Systems
3) Single user/Multitasking OS
User performs many tasks at once
Most common form of OS
Windows XP and OS X
Require expensive computers
Tend to be complex
Multitasking
Operating System can take control back from the
running process and can give it to other.
When one job needs to wait for I/O, the
processor can switch to the other job
Types of Operating Systems
4) Multi user/Multitasking OS
Many users connect to one computer
Each user has a unique session
UNIX, Linux, and VMS
Maintenance can be easy
Requires a powerful computer
Multi user/Multi tasking OS
History of Operating Systems
1940’s – 1950’s
Each program (job) required significant
preparation of equipment.
Mounting tapes
Loading punch cards
Computer Operator – Person who
operated the computer.
Mount tapes
Load punch cards
Take printouts off of printer
Batch processing – The execution of
jobs by collecting them in a single batch,
the executing them without further
interaction with the user.
History of Operating Systems
Job queue – Jobs residing in mass
storage (hard disk drives, tape)
waiting for execution.
FIFO (First-In, First-Out)
Job Priorities and scheduling
Job Control Language (JCL) – Set of
instructions explaining the steps of a
particular job.
Operating system sent these to
the printer
Computer Operator follows the
instructions
History of Operating Systems
Disadvantage to Batch Processing –
No interaction with the user.
Fine for software that does not need
user interaction:
Payroll systems (creating checks)
Reporting systems
Does not work well for other types of
software:
Word processing
Reservation systems
Gaming
History of Operating Systems
Newer Operating Systems
Used remote terminals and
interactive processing
Computer must be fast enough to
coordinate with the needs of the
user.
Real-time processing - Computer
must execute tasks under a deadline.
Time sharing – Provides service to
multiple users at the same time.
Multiprogramming - Time
divided into intervals.
Multitasking – One user executing
numerous tasks (programs)
simultaneously
Today’s Operating Systems
Today’s CPUs (multiprocessors)
Multiple processors
Load balancing
Dynamically allocating
tasks to the various
processors so that all
processors are used
efficiently.
Scaling
Breaking tasks into a
number of subtasks equal to
the number of processors
available.
The Network (Internet)
Becoming a single network-
wide operating system
rather than a network of
individual operating
systems.
Common Operating Systems and Their Differences
Job 3
Job 4
Job 2
time Job 3 time
Job 1
Job 1 Job 2