Documente Academic
Documente Profesional
Documente Cultură
Definition
• An operating system (OS) is a software program that
manages the hardware and software resources of a
computer.
• An operating system (OS) is system software that
manages computer hardware and software resources and
provides common services for computer programs.
• All computer programs, excluding firmware, require an
operating system to function.
History Phase I: Hardware Expensive,
Humans Cheap
• Hardware: mainframes
• OS: human operators
• Handle one job (a unit of processing) at a time
• Computer time wasted while operators walk around
the machine room
OS Design Goal
• Efficient use of the hardware
• Batch system: collects a batch of jobs before
processing them and printing out results
• Job collection, job processing, and printing out
results can occur concurrently
• Multiprogramming: multiple programs can run
concurrently
• Example: I/O-bound jobs and CPU-bound jobs
• Hardware: terminals
• OS design goal: more efficient use of human resources
• Timesharing systems: each user can afford to own
terminals to interact with machines
History Phase III: Hardware Very
Cheap, Humans Very Expensive
• Personal computers
IBM PC compatible - Microsoft Windows and smaller
Unix-variants (like Linux and BSD)
Apple Macintosh - Mac OS X, Windows, Linux and BSD
• Mainframes - A number of unique OS's, sometimes Linux
and other UNIX variants.
• Embedded systems - a variety of dedicated OS's, and
limited versions of Linux or other OS's.
Unix-like
• The Unix-like family is a diverse group of operating
systems, with several major subcategories including
System V, BSD, and Linux.
• The name "Unix" is a trademark of The Open Group
which licenses it for use to any operating system that has
been shown to conform to the definitions that they have
cooperatively developed.
• The name is commonly used to refer to the large set of
operating systems which resemble the original UNIX.
Microsoft Windows
• The Microsoft Windows family of operating systems
originated as a graphical layer on top of the older MS-
DOS environment for the IBM PC.
• Modern versions are based on the newer Windows NT
core that first took shape in OS/2 and borrowed from
OpenVMS.
• Windows runs on 32-bit and 64-bit Intel and AMD
computers, although earlier versions also ran on the DEC
Alpha, MIPS, and PowerPC architectures (some work was
done to port it to the SPARC architecture).
• Basically, an Operating System has three main
responsibilities:
(a) Perform basic tasks such as recognizing input from
the keyboard, sending output to the display screen,
keeping track of files and directories on the disk, and
controlling peripheral devices such as disk drives and
printers.
(b) Ensure that different programs and users running at
the same time do not interfere with each other.
(c) Provide a software platform on top of which other
programs can run.
Operating Systems
• The operating system is the most important program that
runs on a computer.
• Operating system is an interface between computer and
user.
• It is responsible for the management and coordination of
activities and the sharing of the resources of the computer.
Operating System
(OS) is system software, which acts as an interface between a
user of the computer and the computer hardware.
• The main purpose of an Operating System is to provide
an environment in which we can execute programs.
• The main goals of the Operating System are:
(i) To make the computer system convenient to use,
●To make the use of computer hardware in efficient way
●Operating System may be viewed as collection of
●software consisting of procedures for operating the
computer and providing an environment for execution of
programs.
●It is an interface between user and computer.
●So an Operating System makes everything in the
computer to work together smoothly and efficiently
OS functions
• Memory Management
• Processor Management
• Device Management
• File Management
• Security
• Control over system performance
• Job accounting
• Error detecting aids
• Coordination between other software and users
Memory Management
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.
• It manages the hardware and software resources of the
system.
In a desktop computer, these resources include such
things as:
The processor (is an electronic circuit that can execute
computer programs)
Memory
Disk Space
(On a cell phone, they include the keypad, the screen, the
address book, the phone dialer, the battery and the
network connection).
Advantages:
• Efficient memory utilization
• Throughput increases
• CPU is never idle, so performance increases.