Operating Systems

05 November 2022


What is an operating system? What are its basic functions?

Operating System (OS) is basically a software program that manages and handles all resources of a computer such as hardware and software.

An OS is responsible for managing, handling, and coordinating overall activities and sharing of computer resources. It acts as an intermediary among users of computer and computer hardware.

Functions of OS:

There are many functions of the OS. Some of the important functions of OS are given below:

  • Memory and Processor Management
  • Providing user interface to users
  • File Management and Device Management
  • Scheduling of resources and jobs
  • Error Detection
  • Security

What are the benefits of a multiprocessor system? 
 

A Multiprocessor system is a type of system that includes two or more CPUs. It involves the processing of different computer programs at the same time mostly by a computer system with two or more CPUs that are sharing single memory.

Benefits:

Such systems are used widely nowadays to improve performance in systems that are running multiple programs concurrently.

  • By increasing the number of processors, a greater number of tasks can be completed in unit time.
  • One also gets a considerable increase in throughput and is cost-effective also as all processors share the same resources.
  • It simply improves the reliability of the computer system.

 What is a Pipe? when it is used?

The pipe is generally a connection among two or more processes that are interrelated to each other. It is a mechanism that is used for inter-process communication using message passing. One can easily send information such as the output of one program process to another program process using a pipe. It can be used when two processes want to communicate one-way i.e., inter-process communication (IPC).

 What is a bootstrap program in OS?

It is generally a program that initializes OS during startup i.e., first code that is executed whenever computer system startups. OS is loaded through a bootstrapping process or program commonly known as booting. Overall OS only depends on the bootstrap program to perform and work correctly. It is fully stored in boot blocks at a fixed location on the disk. It also locates the kernel and loads it into the main memory after which the program starts its execution.

What do you mean by RTOS? 

Real Time Operating System (RTOS) is an operating system that is used for real-time applications i.e., for those applications where data processing should be done in a fixed and small measure of time. It performs much better on tasks that are needed to be executed within a short time. It also takes care of execution, monitoring, and all-controlling processes. It also occupies less memory and consumes fewer resources.

 

Ask Us Anything !