Slide 1 - Introduction To Operating Systems
Slide 1 - Introduction To Operating Systems
to Operating Systems
What is an Operating System?
iOS: iOS is the mobile operating system used by Apple iPhones and iPads. It is
known for its user-friendly interface, tight integration with Apple’s hardware and
software, and robust security features.
Android: Android is the most popular mobile operating system, used by over 2
billion users worldwide. It is known for its open-source nature, customization
options, and compatibility with a wide range of devices.
Functions of Operating System
The functions of an operating system (OS) are diverse and crucial for the efficient
operation of a computer system. These functions include:
Memory Management: The OS manages the main memory, allocating and
deallocating it as necessary for various processes. It ensures that different
processes can coexist in memory without interfering with each other.
Processor Management/Scheduling: This involves managing the CPU’s time
and resources among the various processes. The OS selects which processes
receive CPU time and ensures efficient and fair use of the processor.
Device Management: The OS regulates the connection and interaction with
various input and output devices through device drivers. It allocates and
deallocates devices to different processes and keeps track of device statuses.
File Management: The OS manages files on a computer, handling tasks like creation, deletion,
transfer, and storage. It also maintains the integrity and security of the data within these files.
Storage Management: The OS is responsible for storing and accessing files and directories,
optimizing the use of various storage devices, and ensuring data integrity and efficient retrieval.
Security: Modern OS’s employ security measures like firewalls to protect against unauthorized
access and intrusion. They monitor system activity and block potential threats.
Job Accounting and System Performance Control: The OS keeps track of all system activities,
including memory, resource usage, and errors. It also monitors performance indicators to ensure
efficient operation.
Error Detection: The OS continually checks for system errors and threats, protecting the system
from potential damage and alerting users to take appropriate action.
Coordination Between Software and Users: It coordinates hardware components and directs
various software applications, ensuring smooth operation and user interaction.
In addition to the traditional functions of an operating system (OS), there are several advanced and
evolving functions that modern OS’s are increasingly incorporating:
Virtualization Support: Modern OSs often include support for virtualization, allowing multiple
virtual machines to run on a single physical machine. This facilitates efficient resource utilization
and isolation of different computing environments.
Cloud Integration: Many operating systems now offer built-in cloud integration, enabling
seamless access to cloud storage and services, and facilitating data synchronization and backup
across devices.
Energy Management: With the growing use of mobile devices, OSs are increasingly focused on
energy management to extend battery life. This includes optimizing the use of hardware resources
and managing background processes.
Advanced Security Features: Modern OS’s are equipped with advanced security features such as
biometric authentication, encryption, advanced firewall and anti-malware systems, and continuous
security updates to protect against emerging threats.
Automated Updates and Maintenance: OSs now often include automated system updates and
maintenance features, ensuring that the system stays up to date with the latest features and
security patches without requiring manual intervention.
IoT Support: With the proliferation of Internet of Things (IoT) devices, operating systems are
being designed to support IoT applications, including managing and interacting with a vast array
of sensors and smart devices.
AI and Machine Learning Integration: Incorporating AI and machine learning algorithms for
predictive analytics, personalization, and enhanced user interaction is becoming a key feature in
modern operating systems.
These additional functionalities reflect the evolving nature of operating systems as they adapt to new
technological advancements and user needs.
Features of Operating Systems
Some important features of operating systems include the following:
1. Provides a platform for running applications
2. Handles memory management and CPU scheduling
3. Provides file system abstraction
4. Provides networking support
5. Provides security features
6. Provides user interface
7. Provides utilities and system services
8. Supports application development
Types of Operating Systems
The types of operating systems (OS) have evolved significantly, adapting to technological
advancements and changing user needs. Here’s a summary of various types of operating systems:
Batch OS: Traditionally used for executing a series of jobs without manual intervention. While
still relevant in specific contexts, modern computing has largely moved beyond batch processing
due to the rise of more interactive and real-time systems.
Distributed OS: These systems manage a network of interconnected computers, distributing the
workload among them. They are becoming increasingly relevant with the rise of cloud
computing and edge computing. Distributed systems are critical for handling large-scale,
distributed applications efficiently.
Multitasking OS: These systems, capable of running multiple tasks simultaneously, continue to
evolve. Modern multitasking OSs are more efficient at resource allocation, ensuring smoother
operation even with numerous applications running.
Network OS: These are designed to manage networked computers, providing shared access to resources
like files and printers. With the proliferation of cloud services, network operating systems are increasingly
integrating cloud functionalities for enhanced connectivity and resource sharing.
Real-Time OS (RTOS): RTOSs are crucial in scenarios where time-critical operations are necessary, such
as in embedded systems, robotics, and IoT devices. They ensure timely processing and responses, a key
requirement in autonomous systems and industrial automation.
Mobile OS: Mobile operating systems have seen significant advancements, particularly in terms of
integration with cloud services, security features, and user interface enhancements. The focus has shifted
towards seamless synchronization across devices and platforms, providing a consistent user experience.
IoT Integration: Modern operating systems are evolving to better manage and integrate with a growing
number of IoT devices. They are becoming central in controlling and monitoring these devices, offering
unified interfaces for diverse smart devices.
AR/VR Support: There is an increased focus on supporting augmented reality (AR) and virtual reality
(VR) technologies. Future operating systems are expected to offer optimized environments for AR/VR
applications, with advanced capabilities in graphics rendering, motion tracking, and spatial audio.
Enhanced Security and Privacy: With digital threats becoming more sophisticated, operating
systems are emphasizing stronger security measures and privacy controls. This includes
advanced encryption techniques, secure boot processes, and user-centric privacy features.
Cross-Platform Compatibility: The trend is towards operating systems that provide seamless
integration and compatibility across various devices and platforms. This includes cloud storage
integration and universal app frameworks for a consistent multi-device experience.
Edge Computing and Distributed Systems: As computing extends beyond traditional data
centers, operating systems are adapting to manage resources in distributed architectures,
including edge computing scenarios. This trend is geared towards faster and more responsive
applications.
Machine Learning and Predictive Capabilities: Operating systems are increasingly leveraging
machine learning for predictive analytics and optimization. This includes intelligent power
management and personalized user experiences.
Single-tasking vs. multi-tasking operating systems:
Single-tasking operating systems allow only one program to run at a
time, while multi-tasking operating systems allow multiple programs
to run simultaneously.
• When an OS is loaded into memory, the kernel is loaded first and remains in
memory until the OS is shut down. After that, the kernel provides and manages
the computer resources and allows other programs to run and use these
resources.
• The kernel also sets up the memory address space for applications, loads the
files with application code into memory, and sets up the execution stack for
programs.
The kernel is responsible for performing the following tasks:
Input-Output management
Memory Management
Process Management for application execution.
Device Management
System calls control
Types of Kernel
Linus Torvalds introduced the concept of a monolithic kernel in 1991 as a part of
the Linux kernel. A monolithic kernel is a single large program that contains all
operating system components. However, the Linux kernel evolved over the years
and now consists of different types of kernels, as listed below.
When choosing an operating system, there are several factors to consider, including:
Cost: Some operating systems, such as Linux, are free, while others, such as
Windows and macOS, must be purchased.
Compatibility: Some software and hardware may only work with certain
operating systems, so choosing an operating system compatible with your needs
is important.
Ease of use: Some operating systems, such as macOS and iOS, are
known for their user-friendly interfaces, while others, such as Linux,
may have a steeper learning curve.
Conclusion
As the need for technology grows day by day in the coming days and as younger
generations grow up and join the workforce, good and efficient operating systems
will be the topmost priority of every business setting.
Practical Session
1.Insert the Windows disc into the CD-ROM/DVD drive/ USB flash drive.
2.Power down the computer.
3.Mount and connect the hard drive.
4.Power up the computer.
5.Choose language and region and then to Install Operating System.
6.Follow the on-screen prompts.
7.On the Install Windows page, enter your language and other preferences,
and click Next.
8.Click on Install Windows and follow on-screen prompts.
9.During the installation check if the drive listed as unallocated with the
respective capacity listed (see example), or if the drive is partitioned, when
selecting the partition to install Windows, make sure it has the required
capacity to proceed with proper installation.
12.At this point the partition will show as Unallocated Space and is ready to
proceed with Windows installation.
How to install an application program
Now, almost all software has moved away from this model. Many
new computers no longer include a CD-ROM for this reason.
However, if you do need to install software from a CD-ROM, simply
insert the disc into your computer, then follow the instructions.
Installing software from the Web
You can follow the steps below to install an application from an .exe
file.
1.Locate and download an .exe file.
2.Locate and double-click the .exe file. (It will usually be in your
Downloads folder.)
3.A dialog box will appear. Follow the instructions to install the
software.
4.The software will be installed.