Latest update Android YouTube

Operating System and Types | Computer Fundamental

Admin
Estimated read time: 16 min

Chapter 15: Operating System

Operating System 

Introduction to Operating System

An Operating System (OS) is the first software loaded into a computer, serving as a set of control programs that manage both hardware and software. It provides a platform for other applications to run, acting as an intermediary between users and hardware. This chapter explores types of operating systems based on users, their functions, system files, booting processes, popular OSes, categories like batch and real-time systems, and concepts like multiprogramming, multiprocessing, and multitasking, along with their significance in modern computing.

Types of Operating Systems Based on Users

Operating systems are classified based on the number of users they support:

  • Single-User Operating System: Allows only one user to interact at a time.
  • Multi-User Operating System: Supports multiple users simultaneously.

Single-User Operating Systems

Single-user OSes are further divided into:

  • Single-User, Single-Tasking OS: One user can perform one task at a time (e.g., MS-DOS).
  • Single-User, Multi-Tasking OS: One user can perform multiple tasks simultaneously (e.g., Windows 98, 2000, Me, XP, Vista).

Multi-User Operating Systems

Multi-user OSes allow multiple users to interact concurrently (e.g., UNIX, Linux, Novell NetWare, VAX).

Functions of Operating System

The OS performs critical functions to ensure system efficiency:

  • Device Management: Controls peripherals like keyboards, printers, and disks.
  • File Management: Organizes, stores, and retrieves files.
  • Memory Management: Allocates and deallocates memory for processes.
  • Command Validation: Checks and interprets user or system commands.
  • Time Scheduling: Manages CPU time allocation for tasks.

System Files and System Disk

System Files

System files, also known as bootable files, are essential for OS operation. Key system files include:

  • IO.SYS: Handles input/output operations.
  • MSDOS.SYS: Core OS functions for MS-DOS-based systems.
  • COMMAND.COM: Command-line interpreter.

System Disk

A disk containing system files is called a system disk, used to boot the OS.

Booting

Booting is the process of loading the OS from secondary storage (e.g., hard disk) to primary memory (RAM).

Types of Booting

  • Cold Booting: Starting the computer from a powered-off state using the power button.
  • Warm Booting: Restarting the computer without powering it off, often via software (e.g., Ctrl+Alt+Del).

Operating System Categories

1. Batch Operating System

Batch OSes process jobs in batches without direct user interaction, using offline devices like punch cards. Jobs with similar needs are grouped for efficiency.

Batch Operating System Diagram

Note: Diagram referenced but not embedded due to file path limitation.

  • Advantages: Predictable queuing, minimal idle time, supports multiple users, easy to manage repetitive tasks.
  • Disadvantages: Difficult to debug, costly, job failures cause delays.
  • Examples: Payroll systems, bank statements.

2. Time-Sharing Operating System

Time-sharing OSes allocate CPU time (quantum) to tasks, enabling multitasking. Users share CPU resources on a single system.

  • Advantages: Equal task opportunities, reduced software duplication, low CPU idle time.
  • Disadvantages: Reliability, security, and data communication issues.
  • Examples: Multics, UNIX.

3. Distributed Operating System

Distributed OSes manage interconnected, independent systems communicating via a network, allowing resource sharing and remote access.

  • Advantages: Independent system resilience, fast computation, scalability, reduced delays.
  • Disadvantages: Network dependency, complex software, high cost.
  • Examples: LOCUS.

4. Network Operating System

Network OSes run on servers, managing data, users, and networking functions over a private network, known as tightly coupled systems.

Network Operating System Diagram

Note: Diagram referenced but not embedded due to file path limitation.

  • Advantages: Stable servers, easy hardware upgrades, remote access, centralized security.
  • Disadvantages: High server costs, dependency on central systems, regular maintenance.
  • Examples: Windows Server 2003/2008, UNIX, Linux, Novell NetWare.

5. Real-Time Operating System (RTOS)

RTOSes process inputs with minimal response time, used in time-critical applications. They are divided into:

  • Hard Real-Time: Guarantees task completion within strict deadlines, with limited storage (e.g., ROM-based).
  • Soft Real-Time: Prioritizes critical tasks but allows flexibility (e.g., multimedia).
  • Advantages: Maximum resource utilization, fast task switching, error-free, efficient memory allocation.
  • Disadvantages: Limited tasks, resource-intensive, complex algorithms, specific driver needs.
  • Examples: Medical imaging, industrial control, robotics.

Multiprogramming, Multiprocessing, and Multitasking

These concepts enhance OS efficiency by managing multiple tasks or processors.

Characteristic Multiprogramming Multiprocessing Multitasking
Definition Multiple programs reside in memory concurrently. Multiple processors execute instructions in parallel. Multiple tasks execute simultaneously.
Number of CPUs One More than one One
Job Processing Time More Less Moderate
Processes Executed One at a time Multiple at a time One by one
Economical Yes Less Yes
Number of Users One One or more More than one
Throughput Less Maximum Moderate
Efficiency Less Maximum Moderate
Categories None Symmetric, Asymmetric Single-User, Multi-User

Modern Operating System Features

Modern OSes have evolved to include:

  • Cloud Integration: Seamless access to cloud storage (e.g., OneDrive in Windows).
  • Virtualization: Running multiple OSes or environments (e.g., WSL in Windows).
  • AI Assistants: Voice-activated helpers like Cortana or Siri.
  • Security Enhancements: Biometric authentication, encryption.
  • Cross-Platform Support: Apps running across devices (e.g., Universal Windows Platform).

Importance of Operating Systems in Computing

The OS is the foundation of computing, enabling hardware-software interaction and user productivity. From single-tasking MS-DOS to multitasking Windows and distributed Linux, OSes have driven technological progress. They optimize resource usage, support diverse applications, and ensure reliability in critical systems like medical or aerospace. Modern features like cloud integration and AI enhance user experiences, while concepts like multiprocessing boost performance, making OSes indispensable in personal, enterprise, and embedded computing.

Questions

Note: The provided content did not include explicit questions for this unit. The following questions are derived from the context to align with the format of previous chapters.

  • What is an operating system?
  • What are the types of operating systems based on users?
  • What is a single-user, single-tasking operating system?
  • What is a single-user, multi-tasking operating system?
  • What is a multi-user operating system?
  • What are examples of single-user and multi-user OSes?
  • What are the main functions of an operating system?
  • What are system files, and what are their names?
  • What is a system disk?
  • What is booting, and what are its types?
  • What is cold booting?
  • What is warm booting?
  • What are the most popular operating systems?
  • What is a batch operating system, and what are its advantages and disadvantages?
  • What is a time-sharing operating system, and what are its features?
  • What is a distributed operating system, and how does it work?
  • What is a network operating system, and what are its benefits?
  • What is a real-time operating system, and what are its types?
  • What are the advantages and disadvantages of RTOS?
  • What is multiprogramming, and how does it differ from multiprocessing?
  • What is multitasking, and how does it compare to multiprogramming?
  • What are the key characteristics of multiprocessing?

2 comments

  1. second ago
    cold booting
  2. second ago
    Download RPF Constable admit card

    https://www.careerpower.in/rpf-constable-admit-card.html
Feel free to ask your query...
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.