Table of contents | |
Operating System | |
Major Functionalities of Operating System | |
Types of Operating System | |
Booting and Dual Booting of Operating System | |
Dual Booting |
An operating system functions as an intermediary between a computer's user and its hardware. Its main function is to establish a favorable and effective environment for users to run programs. Operating systems are software specifically created to supervise computer hardware, necessitating the hardware to include appropriate mechanisms for maintaining the computer system's optimal operation and preventing user programs from causing disruptions.
Operating System: Definition
The functions of an operating system can be categorized into three main aspects:
The operating system as User Interface:
Each versatile computer includes hardware, an operating system, system programs, and application programs. The hardware encompasses memory, CPU, ALU, I/O devices, peripheral devices, and storage devices. System programs include compilers, loaders, editors, the operating system, and more. On the other hand, application programs comprise business applications and database programs.
Conceptual view of a computer system
For a computer to function effectively, it necessitates an operating system to execute different programs. The operating system manages hardware utilization among various system and application programs for diverse users, essentially creating an environment where other programs can perform practical tasks. This set of specialized programs runs on a computer system, enabling it to operate correctly. The operating system undertakes fundamental responsibilities like identifying keyboard input, monitoring files and directories on the disk, displaying output on the screen, and overseeing peripheral devices.
OS is designed to serve two basic purposes:
It oversees the distribution and utilization of computing system resources among different users and tasks. Serving as a bridge between computer hardware and programmers, it streamlines and enables the coding, creation, and debugging of application programs.
The operating system is required to fulfill the following tasks:
I/O System Management
The module that keeps track of the status of devices is called the I/O traffic controller.
Each I/O device has a device handler that resides in a separate process associated with that device.
The I/O subsystem consists of
Drivers for specific hardware devices.
Assembler
An assembler takes as input an assembly language program and produces an output comprising an object program along with additional information essential for the loader to ready the object program for execution. In earlier times, computer programmers utilized a rudimentary machine that, through hardware, interpreted specific fundamental instructions. Programming involved the manual creation of a series of ones and zeros in machine language, which were then placed into the machine's memory.
Compiler
High-level languages, such as FORTRAN, COBOL, ALGOL, and PL/I, undergo processing through compilers and interpreters. A compiler is a software that takes a source program written in a high-level language and generates an equivalent object program. Conversely, an interpreter is a program that simulates the execution of a source program as if it were in machine language. Frequently, the same name (e.g., FORTRAN, COBOL) is utilized to refer to both the compiler and the associated programming language.
Loader
A loader is a routine responsible for loading an object program and readying it for execution. It employs various loading schemes, including absolute, relocating, and direct-linking. Generally, the loader performs the tasks of loading, relocating, and linking the object program. Serving as a program, the loader is designed to position programs into memory, preparing them for execution. In a straightforward loading scenario, the assembler generates the machine language translation of a program on a secondary device, and the loader situates it in the core memory. The loader then transfers control to the machine language version of the user's program in memory. Due to its smaller size compared to the assembler, the loader program maximizes core availability for the user's program.
History of Operating system
The operating system has been evolving through the years. The following table shows the history of OS.
Examples of Operating Systems include:
The BIOS will attempt to boot from the CD drive initially. If unsuccessful, it will then try to boot from the hard disk drive. Subsequently, if that attempt fails, it will endeavor to boot from the network. If all these attempts prove unsuccessful, the system will not boot at all.
Booting, defined as the startup sequence initializing the operating system when the computer is powered on, involves a set of initial operations known as the boot sequence. Every computer possesses a boot sequence. The Bootstrap loader, a component of this sequence, locates the kernel, loads it into the main memory, and initiates its execution. In certain systems, a basic bootstrap loader retrieves a more intricate boot program from the disk, which subsequently loads the kernel.
Dual booting occurs when a computer system is equipped with two installed operating systems. In fact, multiple operating systems can coexist on such a system. The challenge lies in determining which operating system to boot. This is addressed by a boot loader capable of comprehending various file systems and multiple operating systems, which resides in the boot space. Once activated, the boot loader can initiate any of the available operating systems stored on the disk, which may consist of multiple partitions, each hosting a distinct type of operating system. Upon powering up the computer, a boot manager program presents a menu, enabling the user to select the desired operating system.
10 videos|99 docs|33 tests
|
1. What are the major functionalities of an operating system? |
2. What are the types of operating systems? |
3. What is the process of booting an operating system? |
4. What is dual booting of operating systems? |
5. How can I dual boot my operating system? |
|
Explore Courses for Computer Science Engineering (CSE) exam
|