0% found this document useful (0 votes)
102 views4 pages

Overview of Operating Systems

Uploaded by

shihabsince99
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views4 pages

Overview of Operating Systems

Uploaded by

shihabsince99
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Chapter 05: OPERATING SYSTEMS

What is an Operating System?

Operating System (OS): An operating system is software that acts as a bridge


between computer hardware and the user. Every computer needs an OS to run
programs like browsers, MS Office, and games. It allows users to interact with
the computer without needing to understand its language. Without an
operating system, using a computer or mobile device is not possible. The OS
controls computer resources, serves as a base for application programs, and is a
collection of system programs for operating and providing an execution
environment.

Functions of Operating System

The operating system (OS) does important tasks to make computers work
smoothly:

1. Process Management: Helps create and delete processes, making sure they
sync and talk to each other.
2. Memory Management: Allocates and frees up memory for programs that
need it.
3. File Management: Organizes, stores, retrieves, names, shares, and protects
files.
4. Device Management: Keeps track of all devices, using an I/O controller to
allocate and free them up.
5. I/O System Management: Hides hardware details from users.
6. Secondary-Storage Management: Manages different storage levels like
primary, secondary, and cache, ensuring programs can access data.
7. Security: Protects computer data from malware and unauthorized access.
8. Command Interpretation: Understands and executes commands given by
users.
9. Networking: In a distributed system, processors communicate through a
network without sharing memory, devices, or a clock.
10. Job Accounting: Tracks time and resources used by different jobs and users.
11. Communication Management: Coordinates compilers, interpreters, and
other software resources for computer users.

Types of Operating System (OS)

1. Batch Operating System


In a Batch Operating System, long and time-consuming computer tasks are
made faster by grouping similar jobs together and running them as a batch.

Users don't interact directly with the computer; instead, they prepare their
tasks offline using devices like punch cards and submit them to a computer
operator.
2. Multi-Programming Operating systems
when one program is waiting for input/output, another program is ready to use
the CPU. This allows many tasks to use the CPU's time.

It's important to understand that multi-programming doesn't mean performing


all tasks at the same time; instead, different tasks are in memory, and the CPU
works on portions of each task one after another.
3. Multi-Tasking/Time-sharing Operating systems
Time-sharing operating system enables people located at a different
terminal(shell) to use a single computer system at the same time. The processor
time (CPU) which is shared among multiple users is termed as time sharing.
4. Real-Time OS: Quickly responds to inputs. Examples: Military Software
Systems, Space Software Systems are the Real time OS example.
5. Distributed Operating System:Uses multiple processors in different machines
for fast computation.
6. Network Operating System
Network Operating System runs on a server. It provides the capability to serve
to manage data, user, groups, security, application, and other networking
functions.
[Link] OS
Designed for smartphones, tablets, and wearables like Android and iOS. Others
include BlackBerry, Web, and watchOS.
[Link]-DOS:

MS-DOS, or Microsoft Disk Operating System, is a single-user operating system


made by Microsoft. Introduced in 1981 with IBM, it was widely used in personal
computers during the 1980s.
Some of the disk and file maintenance commands of MS-DOS are as follows:
DIR: To list the directory
TREE: To list all disk subdirectories and their subdirectories
TYPE : To see the contents of a file on the screen
REN: To rename a disk file
DEL: To erase files from a disk
COPY: To copy files from one location of disk to another
DISKCOPY: To copy the entire diskette
FORMAT: To realign the tracks and sectors of the diskette

Short Note

GUI:
A GUI, or graphical user interface, is a visual system in computer software. It
displays interactive elements that show information and actions for users.
Objects in a GUI can change color, size, or visibility when users interact with
them. The GUI was first created in 1981 by Alan Kay, Douglas Engelbart, and
others at Xerox PARC. Apple later introduced the Lisa computer with a GUI on
January 19, 1983.

The limitations of this DOS are:

1. Under DOS, only a single program can be loaded into memory at a time.
2. DOS was not designed to handle the large amounts of RAM that today’s PCs
typically use.
[Link] was designed for 16-bit CPUs and can not take advantage of the 32-bit
architecture of the 486, Pentium, and later chips.
4. DOS filenames are limited to eight characters, plus a three character
“extension” following a period sign.
[Link] command-line interface is more difficult to learn than a well designed
GUI.
Microsoft Windows

Microsoft Windows was created by Microsoft to overcome the limitations of


MS-DOS. It started with Windows 3.0 in 1990 and later versions like Windows
95, 98, 2000, and XP followed. Key features include:

1. Windows uses a graphical user interface (GUI) instead of a command line,


making it easier for new users to learn.

2. Windows is not just an OS but a full operating environment. Learning one


program, like Microsoft Word, helps with others, creating an useful experience.

3. Single User, Multi-Tasking: It allows a user to run multiple programs


simultaneously, enhancing efficiency.

Common questions

Powered by AI

Different types of operating systems are tailored to various computing needs. Batch operating systems optimize resource use by grouping and processing similar tasks, ideal for environments where direct user interaction is unnecessary . Multi-programming and multi-tasking systems maximize CPU efficiency, meeting needs in environments with multiple concurrent tasks . Real-time OS are designed for fast response in critical applications like military or space systems . Distributed OS use multiple processors for high computation speed, beneficial in scientific calculations . Mobile operating systems cater to the specific requirements of mobile devices by enabling efficient multitasking and support for wireless connectivity .

Memory management is a critical function of an operating system because it involves allocating and freeing up memory for applications, which directly impacts system performance and efficiency. Proper memory management ensures that programs have the necessary space to execute while optimizing available memory usage . Effective management prevents memory leaks and ensures that each application runs smoothly without unnecessary delays, contributing to the overall system stability and responsiveness . It also facilitates safe and efficient sharing of memory among processes, preventing conflicts that could degrade performance .

Real-time operating systems (RTOS) differ from traditional operating systems primarily in their approach to task scheduling and responsiveness. RTOS are designed to process data as it comes in, with guaranteed response times, which is critical for applications requiring timely and predictable task execution, such as in military or space systems . They often use preemptive scheduling, allowing higher-priority tasks to interrupt lower-priority ones to ensure immediate processing . In contrast, traditional OS typically use time-sharing or batch processing strategies, prioritizing resource allocation efficiency over responsiveness, which can lead to variable response times .

Network operating systems support user and security management by providing centralized control over data, users, groups, and applications, which is vital for organizational efficiency and security . They facilitate user management by allowing system administrators to assign permissions, roles, and access levels across the network from a single point of control, thus streamlining user-related operations and increasing security . Additionally, network OS incorporate robust security features to protect data integrity and privacy, helping manage and mitigate security risks associated with network-based threats .

A distributed operating system optimizes computing resources by coordinating tasks across multiple machines, allowing them to work together as a cohesive unit. This distribution of tasks ensures better utilization of computational resources, load balancing, and fault tolerance, as the failure of a single machine doesn't halt the entire system . The advantages over single-machine systems include increased computation speed, scalability, and reliability, as the distributed nature allows for redundancy and parallel processing . Additionally, distributed systems can efficiently manage larger and more complex applications than a single-machine system .

Batch operating systems differ significantly from time-sharing systems in terms of user interaction and resource allocation. In batch systems, users do not interact directly with the computer; instead, similar jobs are grouped and processed in batches, making resource allocation focused on completing large, similar tasks efficiently without user input . In contrast, time-sharing systems allow multiple users to interact directly with the computer at different terminals, sharing CPU time among them. This setup ensures that resources are dynamically allocated, providing responsive interaction across various tasks, with the system managing priorities and time slices to balance workload .

MS-DOS's limitations significantly influenced subsequent operating systems like Microsoft Windows. DOS's restriction to single-task processing hindered its usability in environments requiring multitasking, prompting the development of Windows, which supports multi-tasking operations . Its inability to handle large RAM sizes or take advantage of advancing CPU architectures pushed the evolution towards systems like Windows that could efficiently utilize modern hardware capabilities . The difficult command-line interface in DOS made systems less accessible, leading to the development of GUIs like that in Windows, which catered to broader users by simplifying interaction . The eight-character filename limit and overall lack of modern filesystem support were addressed in subsequent systems, allowing for more complex and user-friendly operations .

The shift from command-line interfaces like MS-DOS to graphical user interfaces (GUI) required several technological advancements. First, increased hardware capabilities, including more powerful CPUs and higher resolution displays, enabled the rendering of complex graphical environments . Software advancements, such as improved graphical libraries and windowing systems, facilitated the development and management of GUI environments . Also, the design and implementation of more intuitive input devices like the mouse, combined with the development of event-driven programming, were crucial for supporting interactive graphical interfaces . Finally, user-centered design approaches helped create intuitive GUIs that were accessible and could support the sophisticated features users expected .

Operating systems (OS) serve as a bridge between computer hardware and users by managing processes through creating and deleting them while ensuring synchronization and communication . They allocate memory and organize files systematically, which helps users easily store and retrieve data. By managing devices and abstracting hardware details, OS enables users to interact without needing to know complex technical details . The OS secures data and resources, interprets user commands, and ensures efficient use of networked systems, making complex computing systems user-friendly .

Microsoft Windows addressed several limitations of MS-DOS by introducing a graphical user interface (GUI), which simplified user interaction as opposed to the command-line interface of DOS, thus making it more accessible to new users . Windows also supported multi-tasking, allowing multiple programs to run simultaneously, which was a constraint in DOS where only one program could be loaded at a time . Furthermore, Windows was built to handle more advanced hardware, such as 32-bit architectures, extending its compatibility and performance range beyond the capabilities of DOS .

You might also like