Operating System, Concepts, Objectives, Functions, Types and Importance

Operating System (OS) is a system software that acts as an interface between the user and computer hardware. It manages all hardware resources and provides a platform on which application software runs. Without an operating system, a computer cannot function properly. Examples of operating systems include Windows, Linux, macOS, and UNIX.

The operating system performs essential tasks such as process management, memory management, file management, device management, and security control. It allocates CPU time to programs, manages main memory, controls input–output devices, and maintains files and folders on storage devices. In business environments, operating systems ensure smooth multitasking, data security, and efficient utilization of system resources. A reliable operating system improves productivity by enabling users to run multiple applications, communicate over networks, and perform business operations efficiently.

Examples of Operating Systems

  • Microsoft Windows: Known for its user-friendly GUI, Windows dominates personal and business desktops.
  • Linux: Open-source and versatile, Linux is popular for servers, developers, and enthusiasts.
  • macOS: Developed by Apple, macOS offers seamless integration with Apple devices and a secure environment.
  • Android: The most widely used mobile OS, known for its customization and vast app ecosystem.
  • iOS: Apple’s mobile OS, offering high security, fluid user experience, and exclusive features.

Objectives of Operating System

  • Convenience to Users

One of the primary objectives of an operating system is to make the computer system easy and convenient to use. It provides a user-friendly interface through graphical or command-based systems, allowing users to interact with the computer without understanding hardware complexities. By managing tasks automatically, the operating system enables users to perform computing activities efficiently and comfortably.

  • Efficient Utilization of Hardware Resources

The operating system aims to ensure the optimum use of hardware resources such as CPU, memory, storage devices, and input–output devices. It allocates resources to different programs in a balanced manner to avoid wastage. Efficient resource utilization improves system performance and ensures smooth execution of multiple tasks.

  • Process Management

An important objective of the operating system is process management. It controls the execution of programs by scheduling processes, allocating CPU time, and handling multitasking. The operating system ensures that multiple programs can run simultaneously without conflict, maintaining system stability and performance.

  • Memory Management

Memory management is a key objective of an operating system. It manages the allocation and deallocation of main memory to programs and processes. The operating system ensures that each program gets sufficient memory and prevents unauthorized access, thereby improving system efficiency and preventing memory-related errors.

  • File Management

The operating system provides a systematic method for storing, organizing, and retrieving files. It manages file creation, deletion, access permissions, and directory structures. Efficient file management ensures data security, quick access, and proper utilization of storage resources, which is essential in business environments.

  • Device Management

Another objective of the operating system is to manage input and output devices such as printers, keyboards, and monitors. It acts as an intermediary between hardware devices and users, ensuring proper communication and efficient use of peripherals through device drivers.

  • Security and Protection

The operating system aims to provide security and protection for data and system resources. It controls user access, protects files from unauthorized use, and prevents system misuse. Security features such as passwords and access controls are crucial for safeguarding sensitive business information.

  • Error Detection and System Control

The operating system continuously monitors the system to detect errors in hardware or software. It handles system failures gracefully and provides error messages for corrective action. This objective helps maintain system reliability and ensures uninterrupted computer operations.

Functions of an Operating System

  • Process Management

Process management is a core function of an operating system. It controls the execution of programs by creating, scheduling, and terminating processes. The operating system allocates CPU time to different processes to enable multitasking. It also handles process synchronization and prevents conflicts, ensuring smooth and efficient execution of multiple applications at the same time.

  • Memory Management

Memory management involves managing the computer’s main memory. The operating system allocates memory to programs when they are executed and frees it after completion. It ensures efficient utilization of memory and prevents programs from accessing each other’s memory space. This function improves system performance and stability.

  • File Management

File management allows the operating system to organize data into files and directories. It manages file creation, deletion, naming, storage, and access permissions. This function ensures that data is stored systematically and can be retrieved easily. File management also protects data from unauthorized access and accidental loss.

  • Device Management

The operating system manages input and output devices such as keyboards, printers, and scanners. It communicates with hardware through device drivers and controls device operations. Device management ensures efficient and fair use of peripherals by multiple programs and users.

  • Storage Management

Storage management involves handling secondary storage devices such as hard disks and SSDs. The operating system organizes data on storage devices and manages free space. It ensures data is stored securely and accessed efficiently, supporting large volumes of business data.

  • Security and Protection

Security is an important function of an operating system. It protects system resources and data through user authentication, passwords, and access controls. The operating system prevents unauthorized access and ensures data confidentiality, which is essential for business operations.

  • User Interface Management

The operating system provides a user interface, such as a graphical user interface (GUI) or command-line interface (CLI). This allows users to interact with the computer easily. A good interface improves usability and productivity.

  • Error Detection and Handling

The operating system detects hardware and software errors and takes corrective actions. It provides error messages and logs for troubleshooting. This function ensures system reliability and minimizes downtime.

Types of Operating Systems

1. Batch Operating System

Batch operating system is designed to handle jobs in batches without requiring user interaction during execution. Users submit jobs, which are collected and processed sequentially by the system. Each job includes input data, program instructions, and output requirements. Batch OS improves CPU utilization by minimizing idle time between jobs. It is mostly used in large-scale data processing tasks, such as payroll, billing, and scientific calculations. The main limitation is the lack of interaction with users during processing, meaning errors cannot be corrected immediately. Examples include early IBM mainframes using IBSYS.

2. Time-Sharing Operating System

Time-sharing operating system (TSOS) allows multiple users to interact with the computer simultaneously. The CPU divides time into small slices and allocates them to different tasks, enabling concurrent processing. Each user feels they have dedicated access to the system. TSOS improves system responsiveness and ensures efficient utilization of resources. It is widely used in educational institutions, laboratories, and offices where multiple users require simultaneous access. Examples include UNIX, Multics, and modern versions of Windows Server.

3. Multiprogramming Operating System

Multiprogramming operating system allows multiple programs to reside in memory at the same time. The CPU switches between programs to maximize resource utilization and minimize idle time. It ensures continuous processing, as when one program waits for I/O operations, the CPU can execute another program. Multiprogramming is particularly effective in large organizations and data centers handling multiple tasks simultaneously. Limitations include complexity in scheduling and memory management. Examples include IBM OS/360 and early mainframe operating systems.

4. Multitasking Operating System

Multitasking operating system enables a single user to execute multiple programs simultaneously. It allocates CPU time to each program efficiently, giving the user the impression that all tasks are running at the same time. Multitasking OS improves productivity and resource utilization. Modern desktop operating systems like Windows, macOS, and Linux are multitasking systems. They allow users to browse the internet, run software applications, and download files concurrently. Limitations include high CPU and memory requirements to manage multiple tasks effectively.

5. Multi-User Operating System

Multi-user operating system allows multiple users to access the computer system at the same time through different terminals. It provides resource sharing, process scheduling, and security controls for each user. Multi-user OS is ideal for servers, enterprise applications, and mainframes where multiple users require simultaneous access to resources. Examples include UNIX, Linux, and Windows Server. Challenges include ensuring security, preventing unauthorized access, and managing CPU and memory allocation efficiently.

6. Real-Time Operating System (RTOS)

Real-time operating system processes data and executes tasks within a predetermined time limit. RTOS is critical in environments where immediate response is essential, such as industrial automation, medical equipment, aviation, and defense systems. It ensures predictability and reliability in time-sensitive applications. RTOS can be hard real-time, where missing a deadline is catastrophic, or soft real-time, where occasional delays are acceptable. Examples include VxWorks, QNX, and RTLinux. Limitations include high complexity and cost.

7. Distributed Operating System

Distributed operating system manages multiple computers connected over a network and makes them appear as a single unified system. It provides resource sharing, load balancing, and fault tolerance, improving efficiency and reliability. Distributed OS is widely used in cloud computing, data centers, and large organizations for collaborative processing. Examples include Amoeba, Plan 9, and LOCUS. Challenges include network dependency, synchronization, and maintaining data consistency across multiple nodes.

8. Network Operating System

Network operating system (NOS) provides services and manages resources for computers connected in a network. It controls file sharing, printer access, security, and communication among networked computers. NOS is used in offices, schools, and enterprises to ensure centralized management and collaboration. Examples include Novell NetWare, Windows Server, and UNIX/Linux server editions. Limitations involve higher installation costs, maintenance requirements, and dependency on network infrastructure.

9. Embedded Operating System

Embedded operating system is designed for devices with specific functions and limited hardware resources. It is used in smartphones, ATMs, appliances, and IoT devices. Embedded OS focuses on efficiency, real-time operation, and reliability rather than general-purpose functionality. Examples include Android (for embedded devices), FreeRTOS, and Windows Embedded. Limitations include restricted flexibility, minimal user interface, and dependency on hardware specifications.

Importance of Operating Systems

  • Resource Management

Operating systems are crucial for managing computer resources such as CPU, memory, storage, and input/output devices. They allocate resources efficiently among various applications and processes, ensuring optimal performance. Proper resource management prevents conflicts, reduces idle time, and improves system reliability, which is essential for businesses relying on continuous computing operations.

  • User Convenience

Operating systems provide a user-friendly interface, such as graphical or command-line interfaces, making computers easy to operate. Users can interact with hardware without needing detailed technical knowledge. This convenience improves productivity and reduces learning time, allowing both individuals and organizations to perform tasks efficiently.

  • Multitasking and Multiprogramming

Operating systems allow multitasking and multiprogramming, enabling multiple applications to run simultaneously. This ensures that the CPU is utilized effectively and reduces waiting time for processes. In business environments, multitasking improves workflow, supports concurrent tasks, and enhances overall productivity.

  • Security and Protection

An operating system provides security measures such as user authentication, access control, and data protection. It prevents unauthorized access to sensitive files and system resources. Security features are critical for businesses to protect confidential data, maintain compliance, and safeguard against cyber threats.

  • File and Storage Management

Operating systems manage file systems and storage devices, organizing data into files and directories. This ensures easy retrieval, systematic storage, and efficient space utilization. Proper file management is essential for maintaining business records, databases, and other digital assets securely.

  • Hardware and Device Management

Operating systems act as intermediaries between hardware devices and software applications. They manage peripherals such as printers, scanners, and keyboards, ensuring smooth communication and proper functioning. Effective device management improves operational efficiency and prevents hardware conflicts.

  • Error Detection and System Reliability

Operating systems constantly monitor hardware and software to detect errors. They provide alerts, logs, and corrective measures to maintain system reliability. Reliable error detection reduces downtime, which is vital for businesses that require uninterrupted computing services.

  • Networking and Communication

Modern operating systems facilitate networking and communication between computers and devices. They manage data exchange, network security, and resource sharing, enabling collaboration in offices, enterprises, and remote work environments. Efficient networking support enhances productivity and connectivity.

Computer Hardware

CENTRAL PROCESSING UNIT (CPU)

Central processing unit (CPU) is the central component of the Computer System. Sometimes it is called as microprocessor or processor. It is the brain that runs the show inside the Computer. All functions and processes that is done on a computer is performed directly or indirectly by the processor. Obviously, computer processor is one of the most important element of the Computer system. CPU is consist of transistors, that receives inputs and produces output. Transistors perform logical operations which is called processing. It is also, scientifically, not only one of the most amazing parts of the PC, but one of the most amazing devices in the world of technology.

Motherboard

Alternatively referred to as the mb, mainboard, mboard, mobo, mobd, backplane board, base board, main circuit board, planar board, system board, or a logic board on Apple computers. The motherboard is a printed circuit board and foundation of a computer that is the biggest board in a computer chassis. It allocates power and allows communication to and between the CPU, RAM, and all other computer hardware components.

A motherboard provides connectivity between the hardware components of a computer, like the processor (CPU), memory (RAM), hard drive, and video card. There are multiple types of motherboards, designed to fit different types and sizes of computers.

Each type of motherboard is designed to work with specific types of processors and memory, so they are not capable of working with every processor and type of memory. However, hard drives are mostly universal and work with the majority of motherboards, regardless of the type or brand.

Microprocessor

Microprocessor is a controlling unit of a micro-computer, fabricated on a small chip capable of performing ALU (Arithmetic Logical Unit) operations and communicating with the other devices connected to it.

Microprocessor consists of an ALU, register array, and a control unit. ALU performs arithmetical and logical operations on the data received from the memory or an input device. Register array consists of registers identified by letters like B, C, D, E, H, L and accumulator. The control unit controls the flow of data and instructions within the computer.

How does a Microprocessor Work?

The microprocessor follows a sequence: Fetch, Decode, and then Execute.

Initially, the instructions are stored in the memory in a sequential order. The microprocessor fetches those instructions from the memory, then decodes it and executes those instructions till STOP instruction is reached. Later, it sends the result in binary to the output port. Between these processes, the register stores the temporarily data and ALU performs the computing functions.

List of Terms Used in a Microprocessor

Here is a list of some of the frequently used terms in a microprocessor −

  • Instruction Set − It is the set of instructions that the microprocessor can understand.
  • Bandwidth − It is the number of bits processed in a single instruction.
  • Clock Speed − It determines the number of operations per second the processor can perform. It is expressed in megahertz (MHz) or gigahertz (GHz).It is also known as Clock Rate.
  • Word Length − It depends upon the width of internal data bus, registers, ALU, etc. An 8-bit microprocessor can process 8-bit data at a time. The word length ranges from 4 bits to 64 bits depending upon the type of the microcomputer.
  • Data Types − The microprocessor has multiple data type formats like binary, BCD, ASCII, signed and unsigned numbers.

Features of a Microprocessor

Here is a list of some of the most prominent features of any microprocessor −

  • Cost-effective: The microprocessor chips are available at low prices and results its low cost.
  • Size: The microprocessor is of small size chip, hence is portable.
  • Low Power Consumption: Microprocessors are manufactured by using metaloxide semiconductor technology, which has low power consumption.
  • Versatility: The microprocessors are versatile as we can use the same chip in a number of applications by configuring the software program.
  • Reliability: The failure rate of an IC in microprocessors is very low, hence it is reliable.

The Intel Pentium III AMD

The Pentium III model, introduced in 1999, represents Intel’s 32-bit x86 desktop and mobile microprocessors in accordance with the sixth-generation P6 micro-architecture.

The Pentium III processor included SDRAM, enabling incredibly fast data transfer between the memory and the microprocessor. Pentium III was also faster than its predecessor, the Pentium II, featuring clock speeds of up to 1.4 GHz. The Pentium III included 70 new computer instructions which allowed 3-D rendering, imaging, video streaming, speech recognition and audio applications to run more quickly.

The Pentium III processor was produced from 1999 to 2003, with variants codenamed Katmai, Coppermine, Coppermine T and Tualatin. The variants’ clock speeds varied from 450 MHz to 1.4 GHz. The Pentium III processor’s new instructions were optimized for multimedia applications called MMX. It supported floating-point units and integer calculations, which are often required for still or video images to be modified for computer displays. The new instructions also supported single instruction multiple data (SIMD) instructions, which allowed a type of parallel processing.

Other Intel brands associated with the Pentium III were Celeron (for low-end versions) and Xeon (for high-end versions).

Cyrix

Cyrix Corporation was a microprocessor developer that was founded in 1988 in Richardson, Texas, as a specialist supplier of math coprocessors for 286 and 386 microprocessors. The company was founded by Tom Brightman and Jerry Rogers. Cyrix founder, President and CEO Jerry Rogers, aggressively recruited engineers and pushed them, eventually assembling a small but efficient design team of 30 people.

Cyrix merged with National Semiconductor on 11 November 1997.

The first Cyrix product for the personal computer market was a x87 compatible FPU coprocessor. The Cyrix FasMath 83D87 and 83S87 were introduced in 1989. The FasMath provided up to 50% more performance than the Intel 80387. Cyrix FasMath 82S87, a 80287-compatible chip, was developed from the Cyrix 83D87 and has been available since 1991.

MMX Technology

MMX is a Pentium microprocessor from Intel that is designed to run faster when playing multimedia applications. According to Intel, a PC with an MMX microprocessor runs a multimedia application up to 60% faster than one with a microprocessor having the same clock speed but without MMX. In addition, an MMX microprocessor runs other applications about 10% faster, probably because of increased cache. All of these enhancements are made while preserving compatibility with software and operating systems developed for the Intel Architecture.

MMX is a single instruction, multiple data (SIMD) instruction set designed by Intel, introduced in January 1997 with its P5-based Pentium line of microprocessors, designated as “Pentium with MMX Technology”. It developed out of a similar unit introduced on the Intel i860, and earlier the Intel i750 video pixel processor. MMX is a processor supplementary capability that is supported on recent IA-32 processors by Intel and other vendors.

The New York Times described the initial push, including Super Bowl ads, as focused on “a new generation of glitzy multimedia products, including videophones and 3-D video games.”

MMX has subsequently been extended by several programs by Intel and others: 3DNow!, Streaming SIMD Extensions (SSE), and ongoing revisions of Advanced Vector Extensions (AVX).

Memory (RAM, ROM, EDO RAM, SD RAM)

Main Memory / Primary Memory refers to the computer’s temporary data storage that directly interacts with the central processing unit (CPU). It is where data and programs that are currently being used or processed are stored for quick access. Unlike secondary storage devices like hard drives or SSDs, which are used for long-term storage, main memory is much faster but volatile, meaning that it loses its contents when the computer is turned off.

Types of Main Memory:

  1. RAM (Random Access Memory):

RAM is the most common type of main memory and is considered volatile. When a program is executed, it is loaded into RAM so that the CPU can access it quickly. RAM allows data to be read or written in any order, making it very fast. It is divided into two main types:

    • Dynamic RAM (DRAM): This type of RAM needs to be constantly refreshed to maintain the stored data. It is slower compared to static RAM but is more cost-effective.
    • Static RAM (SRAM): SRAM stores data without needing constant refreshing, making it faster but more expensive than DRAM. It is typically used in cache memory and for storing data in registers.
  1. Cache Memory:

Cache memory is a small, high-speed memory located closer to the CPU. It stores frequently accessed data and instructions that the CPU uses to speed up processing. Cache memory helps reduce the time it takes for the CPU to access data from main memory. There are usually multiple levels of cache:

    • L1 Cache: Located directly on the CPU chip, it is the smallest and fastest cache level.
    • L2 Cache: It is larger than L1 and can be located either on the CPU or nearby, offering a balance between speed and size.
    • L3 Cache: It is the largest but slower than L1 and L2, often shared across multiple CPU cores.

3. ROM (Read-Only Memory):

ROM is non-volatile, meaning it retains its data even when the power is turned off. ROM stores firmware, which is permanent software that is directly programmed into the hardware. This memory is used for basic functions like booting up the computer and performing hardware initialization. There are different types of ROM, such as PROM (Programmable ROM), EPROM (Erasable Programmable ROM), and EEPROM (Electrically Erasable Programmable ROM), which allow varying levels of data modification.

Importance and Function:

Main memory plays a crucial role in system performance. It provides fast access to data that the CPU needs to execute instructions efficiently. Without adequate main memory, a computer would be much slower, as the CPU would frequently need to retrieve data from slower storage devices like hard drives or SSDs. Additionally, as more programs run simultaneously, more main memory is required to keep everything running smoothly. This is why modern computers are often equipped with large amounts of RAM and high-speed cache memory.

error: Content is protected !!