Saturday, November 2, 2019

Operating system Essay Example | Topics and Well Written Essays - 1000 words

Operating system - Essay Example As a result, there is a need for a communication interface between the computer and the human users. Interfacing the peripheral with the CPU For the central system to function, it requires a number of peripheral units which helps the system to work. Such peripheral units include the memory, the hard drive etc. The processor also needs input and output devices such as the keyboard, the mouse and the monitor in order for it to be able to receive data and give data from the results of processing the raw data. All these resources need to be managed and that is where the operating system comes in. The operating system sits between these peripheral components and the central hardware (the processing unit) and regulates the way these units access and use the operating system. The operating system manages the application systems as well and acts as the intermediary between the applications which are not able to communicate directly with the computer hardware. Advantages of an operating syste m Multitasking and time sharing One of the greatest advantages of an operating system is the ability to multitask. Multitasking refers to the fact that the processor will be handling more than one process concurrently. This is done through time sharing and the operating system in any computing environment is very useful in determining which functions will be given which computing resources. Before the modern operating system architecture was developed in the 1950s and the early 1960s, computer processors only processed one process at a time (Meyler, Fuller and Joyner 584). The main disadvantage of processing one process at a time is that valuable processor time is lost every time there is a delay in data execution or memory access for that particular process. An operating system schedules the access of the processor of the computer and makes sure that the processor is busy throughout the uptime. Using complicated algorithms, the operating systems also determine which application or device to be given access to the processor. Based on how complicated a process is, it can be given preference or denied preference. The operating system also is able to determine which processes are critical and therefore gives them preference in order to avoid fatal errors. For instance, if a printer is asking for a timeslot in the processor, it may be given preference over other processes because delays in processing the printing data may lead to the whole process failing. In this regard, a computer operating system not only schedules processes but also acts as an error handling system which prevents the computer as well as the various processes from failing. Programmers don’t need to know the processor architecture One of advantages of operating systems is that programmers never have to worry about the architecture of a computer as long as they code programs which can be executed by the operating system. This also means that programs can be run in computers with different hardware architectures since the applications don’t have to communicate directly with the hardware (processor). In this regard, the operating system separates the functions of application developers from computer architects. The computer programmer does not have to understand the internal working of the computer because the operating system will do most of the communication between the applications developed by

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.