In: Computer Science
Discuss at least 4 common tasks of operating systems. Explain how Windows might accomplish one of the tasks and how the Mac OS or Linux might accomplish it differently.
Answer)
As we all know, the OS is an interface in the computer user as well as the hardware associated with the computer which helps the software to make the basic task as mentioned below.
Some of the common tasks of the operating system are as follows:
1) I/O Management
2) Memory Management
3) CPU Management and
4) Device Driver Management
Let us take the CPU Management or the Process Management
In Windows, the following CPU management is done when the system initialization happens, along with the execution of the process creation system call by the running of the process.
It is then the user requests for the creation of the new process which is finally completed by the start of the batch processor or CPU execution.
Whereas in Linux the process creation happens using fork() or the clone() system call where there are many steps involved. Validation is the first step wherein the parent process would authorize the creation of the process. Once the validation has been successful then the whole parent process gets copied with any change if needed to the unique process id, parent process or the userspace.
The process management in MAC fosters, schedules and executed the program at the runtime where the Cocoa environment gives the programming interface for interacting with that of the operating system. It is then the developer would find the process as well as the host information for making further sub-processes and the pipe data in the process.
Hope this answer was helpful
If you found the answer useful, please hit like
Thanks