The operating system is needed to design and implement because without proper design and implementation any system cannot work properly, for every aspect or for any development a proper design and implementation should be necessary so that it can work in good manner and we can easily debug if any failures occur.
So, design and implementation is a necessary part of an operating system and this technique can be used by every user who uses a computer.
There are different types of techniques to design and implement the operating system.
Let us discuss each technique in detail.
Let us understand the features of the design goals.
Operating systems must handle multiple devices as well as multiple users concurrently. It is a must for modern multiple core architectures. Due to these features the design of the operating system is complex and very difficult to make.
Operating systems must provide security and privacy to a system. It is important to prevent the malicious user from accessing your system and to prevent the stealing of the user programs.
Operating system ensures that the resources of the system must be shared in a correct fashion in between multiple user processes. It becomes more complex when multiple users use the same device.
Operating systems must be flexible in order to accommodate any change to the hardware and software of the system, It should not be obsolete. It is necessary as it is costly to change the operating system again and again on any change to the software or hardware.
Operating system that is able to work with different hardware and systems is called a portable operating system and it is a very important design goal.
Any upgrade to the current operating system could not hinder it's compatibility with the machine i.e. if the previous version of the operating system is compatible with the system then the newer or upgraded version should also be compatible with the system this is called backward compatibility.
In an operating system there is a particular mechanism to be followed and this mechanism is responsible for the entire task performed by the operating system.
When a task is performed in the operating system then we follow a particular mechanism for input, store, process, and output and by using this process we can define memory to the different tasks performed by the computer.
An Operating system provides the services to users and programs. Like I/O operations, program execution, file system manipulation, Resource allocation, Protection.
OS handles many activities from user programs to system programs like printer spooler, name servers, file servers etc. Each of these activities is encapsulated as a process. A process includes the complete execution context.
The operating system activities are as follows −
Loads a program into memory
Execute the program
Handle's program's execution
Provides a mechanism for process synchronization
Provides a mechanism for process communication
Provides a mechanism for deadlock handling
Once the operating system is designed it must be implemented because it is a collection of many programs written by many people over a long period of time.
Implementation is a process which is most important for the operating system.
An operating system needs to be implemented because when it is implemented then new tasks can be performed and new application software can also install in your computer and run your computer smoothly for that we need implementation of operating system.