OS Unit 1
OS Unit 1
Unit I
Introduction to OS
Manages resources
The OS manages a computer's memory, processing power, file storage,
input/output devices, and network connections. It also schedules resource use to
avoid conflicts between programs.
Provides a platform
The OS provides a software platform for other programs to run on. It sets
standards for application programs and acts as an intermediary between programs
and the computer's hardware.
Enables user interaction
The OS allows users to interact with the computer through a user interface (UI),
such as a command-line interface (CLI) or a graphical user interface (GUI).
Runs indefinitely
The OS runs indefinitely, only terminating when the computer is turned off.
Some examples of operating systems include:
OR
An Operating System is a System software that manages all the resources of the
computing device.
Acts as an interface between the software and different parts of the computer
or the computer hardware.
Manages the overall resources and operations of the computer.
Controls and monitors the execution of all other programs that reside in the
computer, which also includes application programs and other system software
of the computer.
Examples of Operating Systems are Windows, Linux, macOS, Android, iOS,
etc.
History of OS:
An operating system is a type of software that acts as an interface between the
user and the hardware. It is responsible for handling various critical functions of
the computer and utilizing resources very efficiently so the operating system is
also known as a resource manager. The operating system also acts like a
government because just as the government has authority over everything,
similarly the operating system has authority over all resources. Various tasks that
are handled by OS are file management, task management, garbage management,
memory management, process management, disk management, I/O management,
peripherals management, etc.
Generations of Operating Systems
1940s-1950s: Early Beginnings
o Computers operated without operating systems (OS).
o Programs were manually loaded and run, one at a time.
o The first operating system was introduced in 1956. It was a batch
processing system GM-NAA I/O (1956) that automated job
handling.
1960s: Multiprogramming and Timesharing
o Introduction of multiprogramming to utilize CPU efficiently.
o Timesharing systems, like CTSS (1961) and Multics (1969), allowed
multiple users to interact with a single system.
1970s: Unix and Personal Computers
o Unix (1971) revolutionized OS design with simplicity, portability,
and multitasking.
o Personal computers emerged, leading to simpler OSs like CP/M
(1974) and PC-DOS (1981).
1980s: GUI and Networking
o Graphical User Interfaces (GUIs) gained popularity with systems
like Apple Macintosh (1984) and Microsoft Windows (1985).
o Networking features, like TCP/IP in Unix, became essential.
1990s: Linux and Advanced GUIs
o Linux (1991) introduced open-source development.
o Windows and Mac OS refined GUIs and gained widespread
adoption.
2000s-Present: Mobility and Cloud
o Mobile OSs like iOS (2007) and Android (2008) dominate.
o Cloud-based and virtualization technologies reshape computing, with
OSs like Windows Server and Linux driving innovation.
AI Integration – (Ongoing)
With the growth of time, Artificial intelligence came into picture. Operating
system integrates features of AI technology like Siri, Google Assistant, and
Alexa and became more powerful and efficient in many way. These AI
features with operating system create a entire new feature like voice
commands, predictive text, and personalized recommendations.
Advantages of Time-Sharing OS
Each task gets an equal opportunity.
Fewer chances of duplication of software.
CPU idle time can be reduced.
Resource Sharing: Time-sharing systems allow multiple users to share
hardware resources such as the CPU, memory, and peripherals, reducing the
cost of hardware and increasing efficiency.
Improved Productivity: Time-sharing allows users to work concurrently,
thereby reducing the waiting time for their turn to use the computer. This
increased productivity translates to more work getting done in less time.
Improved User Experience: Time-sharing provides an interactive environment
that allows users to communicate with the computer in real time, providing a
better user experience than batch processing.
Disadvantages of Time-Sharing OS
Reliability problem.
One must have to take care of the security and integrity of user programs and
data.
Data communication problem.
High Overhead: Time-sharing systems have a higher overhead than other
operating systems due to the need for scheduling, context switching, and other
overheads that come with supporting multiple users.
Complexity: Time-sharing systems are complex and require advanced
software to manage multiple users simultaneously. This complexity increases
the chance of bugs and errors.
Security Risks: With multiple users sharing resources, the risk of security
breaches increases. Time-sharing systems require careful management of user
access, authentication, and authorization to ensure the security of data and
software.
Examples of Time-Sharing OS with explanation
IBM VM/CMS : IBM VM/CMS is a time-sharing operating system that was
first introduced in 1972. It is still in use today, providing a virtual machine
environment that allows multiple users to run their own instances of operating
systems and applications.
TSO (Time Sharing Option) : TSO is a time-sharing operating system that
was first introduced in the 1960s by IBM for the IBM System/360 mainframe
computer. It allowed multiple users to access the same computer
simultaneously, running their own applications.
Windows Terminal Services : Windows Terminal Services is a time-sharing
operating system that allows multiple users to access a Windows server
remotely. Users can run their own applications and access shared resources,
such as printers and network storage, in real-time.
Multitasking
Time Sharing and Multiprogramming systems are also
called multitasking sometimes as multiple tasks run in interleaving manner.