Found 2065 Articles for Operating System

Major Activities of an Operating System with Regard to Memory Management

Alex Onsman
Updated on 22-Jun-2020 13:18:31

3K+ Views

Memory management plays an important part in the operating system. It deals with memory and the moving of processes from disk to primary memory for execution and back again.Some activities of an operating system with regards to memory management are −Memory AllocationA simple way to allocate memory is to provide the empty memory spaces to incoming processes as required. This can be done using the following algorithms −First-FitThe first available memory space that is large enough for the process purposes is allocated. Searching can start at the beginning or at the point where the last first-fit search ended.Best-FitThe smallest memory ... Read More

MS-DOS Layered Structure

Ricky Barnes
Updated on 22-Jun-2020 13:19:19

5K+ Views

MS-DOS is an operating system created for personal computers. It was developed by Microsoft. It is a classic example of an operating system with a layered structure. MS-DOS operating system is split into various layers and each of the layers have different functionalities.Layering provides a distinct advantage in the MS-DOS operating system because all the layers can be defined separately and interact with each other as required. Also, it is easier to create, maintain and update the system if it is done in the form of layers. Change in one layer specification does not affect the rest of the layers. ... Read More

Major Activities of an Operating System with Regard to Process Management

David Meador
Updated on 22-Jun-2020 13:20:13

5K+ Views

A process is an active program i.e a program that is under execution. It contains the program code, program counter, process stack, registers etc. Process Management deals with processes and the various mechanisms to handle them.The various activities that the operating system performs with regard to process management are mainly process scheduling and context switching. Details about these are given as follows −Process SchedulingThere are many scheduling queues that are used to handle processes. When the processes enter the system, they are put into the job queue. The processes that are ready to execute in the main memory are kept ... Read More

Layered Operating System

David Meador
Updated on 30-Jul-2019 22:30:23

14K+ Views

The operating system is split into various layers In the layered operating system and each of the layers have different functionalities. This type of operating system was created as an improvement over the early monolithic systems. Why Layering in Operating System? Layering provides a distinct advantage in an operating system. All the layers can be defined separately and interact with each other as required. Also, it is easier to create, maintain and update the system if it is done in the form of layers. Change in one layer specification does not affect the rest of the layers. Each of ... Read More

What are System Programs?

Kristi Castro
Updated on 22-Jun-2020 12:02:54

1K+ Views

System programs provide an environment where programs can be developed and executed. In the simplest sense, system programs also provide a bridge between the user interface and system calls. In reality, they are much more complex. For example: A compiler is a complex system program.The user view of the system is actually defined by system programs and not system calls because that is what they interact with and system programs are closer to the user interface.An image that describes system programs in the operating system hierarchy is as follows −In the above image, system programs as well as application programs ... Read More

Monolithic System Architecture

Alex Onsman
Updated on 22-Jun-2020 12:04:33

5K+ Views

The entire operating system works in the kernel space in the monolithic system. This increases the size of the kernel as well as the operating system. This is different than the microkernel system where the minimum software that is required to correctly implement an operating system is kept in the kernel.A diagram that demonstrates the architecture of a monolithic system is as follows −The kernel provides various services such as memory management, file management, process scheduling etc. using function calls. This makes the execution of the operating system quite fast as the services are implemented under the same address space.Differences ... Read More

Architecture of a Typical Microkernel

Ricky Barnes
Updated on 22-Jun-2020 12:05:43

1K+ Views

A microkernel is the minimum software that is required to correctly implement an operating system. This includes memory, process scheduling mechanisms and basic inter-process communication.A diagram that demonstrates the architecture of a microkernel is as follows −In the above diagram, the microkernel contains basic requirements such as memory, process scheduling mechanisms and basic interprocess communication. The only software executing at the privileged level i.e. kernel mode is the microkernel. The other functions of the operating system are removed from the kernel mode and run in the user mode. These functions may be device drivers, file servers, application interprocess communication etc.The ... Read More

Operating System Design Goals

David Meador
Updated on 22-Jun-2020 12:06:57

5K+ Views

Operating Systems have become quite complex and multifaceted with the advancement of time. However, that also means it is getting more and more difficult to design operating systems that satisfy all the specifications required these days. There are no complete solutions possible for design problems, but some approaches are more successful than others.Design Requirements in Operating SystemThe design requirements are quite hard to specify in an operating system. They are basically divided into two parts: User design requirements and System design requirements. Details about these are given as follows −User Design RequirementsThe operating system should be convenient, easy to use, ... Read More

Command Line Interpreters

Kristi Castro
Updated on 22-Jun-2020 11:17:05

1K+ Views

A command line interpreter allows the user to interact with a program using commands in the form of text lines. It was frequently used till the 1970’s. However, in modern times many command line interpreters are replaced by graphical user interfaces and menu-driven interfaces.Usage of Command Line InterpretersCommand line interpreters are more useful than graphical user interfaces in some cases. Details about these cases are given as follows:Command line interpreters have a large range of commands and queries available for different operations. Also, it is much faster to type than to click as is done using graphical user interfaces.There are ... Read More

Application Programming Interface (API)

Alex Onsman
Updated on 22-Jun-2020 11:18:08

6K+ Views

An Application Programming Interface (API) contains software building tools, subroutine definitions as well as communication protocols that facilitate interaction between systems. An API may be for a database system, operating system, computer hardware or a web-based system.An Application Programming Interface makes it simpler to use certain technologies to build applications for the programmers. API can include specifications for data structures, variables, routines, object classes, remote calls etc.A diagram that shows the API in the system is as follows −Uses of Application Programming InterfacesAPI’s are useful in many scenarios. Some of these are given in detail as follows −Operating SystemsThe interface ... Read More

Advertisements