Question

In: Computer Science

The operating system provides an interface between application programs and the computer hardware. Discuss the process...

The operating system provides an interface between application programs and the computer hardware. Discuss the process of the execution of any application program on the hardware using all managers of the operating system.

Solutions

Expert Solution

The Operating system works as an interface (intermediate) to communicate between application programs and computer hardware. The resources (memory, Input/Output devices processor, RAM ec) are made available to multiple applications by the Operating system. The processor is switched among various application programs very rapidly so all seems to be progressing at the same time.

There are four main managers of Operation System:

1) Process Manager

2) Device Manager

3) Memory Manager

4) File Manager

1) Process Manager :- It does tasks like creation, scheduling and deletion of the processes. Processes can be in 5 states:

Hold, Run, Wait, Ready, Finish

It also includes the Clock speed (the speed at which the processor can execute the instructions).

2) Device Manager :- It handles the devices as the name suggests. If any Input/ Output device is not working properly, it will report about it. Eg. Keyboard, Mouse, Speakers, Disks, Pen Drives etc.

Real Life Example: Sometimes while working, you may see the pop up warning msg indicating "Keyboard not found. Please press Enter key to fix it." It seems to be funny to press enter if the keyboard is not working. But in actual, it tries to fix the driver issue by doing this.

3) Memory Manager :- When a program or application need to be run, it must be reside into the main memory. so first the application is loaded into the main memory, so now how this loading will happen in the memory, it is the work of Memory manager. It can be contiguous memory allocation (if we have enough contiguous memory) or Non-contiguous memory alloocation.

Real Life Example : When you load a large file (eg. Word/ Excel file of 50 MB), it takes time to load the file and the system gives us the error "Not Responding" as the memory manager is storing this file into the main memory.

4) File Manager :- It keeps track of the files. It allocates and deallocates the file if needed. It keeps record of the accessability of the files which are accessabel or not.

Real Life Example: When you search any file in the system search tab, if shows the files available and their path where those are located in your system. This is managed by the File Manager of Operating system.

All the four managers of OS work will the collaboration of each other.


Related Solutions

The operating system provides an interface between application programs and the computer hardware. Discuss the process...
The operating system provides an interface between application programs and the computer hardware. Discuss the process of the execution of any application program on the hardware using all managers of the operating system.
The operating system provides an interface between application programs and the computer hardware. Discuss the process...
The operating system provides an interface between application programs and the computer hardware. Discuss the process of the execution of any application program on the hardware using all managers of the operating system.
1-What measures (Operating system, application software, network, hardware, etc…) are there in your computer to secure...
1-What measures (Operating system, application software, network, hardware, etc…) are there in your computer to secure your data from hacking? 2-How often do you back up critical data files such as homework files? What type of device do you use for backing up files? Where do you store the backups to ensure they won’t be destroyed if a major disaster (such as a fire) destroys your computer? Do you use online sites for file backups?
(Operating System , CSE) What commonly used computer programs are prone to man-in-the-middle attacks? Discuss solutions...
(Operating System , CSE) What commonly used computer programs are prone to man-in-the-middle attacks? Discuss solutions for preventing this form of attack.
2.1) Describe the relationship between an API, the system-call interface, and the operating system. 2.2) Why...
2.1) Describe the relationship between an API, the system-call interface, and the operating system. 2.2) Why is the separation of policy from mechanism an important principle in operation system design and implementation? Please define “policy” and “mechanism” briefly in your discussion. 3. (Chapter 4) Please answer the following questions briefly (Chapter 4, 5 points each, total 10 points) 3.1) What are two differences between user-level threads and kernel-level threads? Under what circumstances is one type better than the other? 3.2)...
5) Describe the principle or application of Brain Computer Interface. a) What is the value proposition...
5) Describe the principle or application of Brain Computer Interface. a) What is the value proposition b) What is the technology and what are the key components of this device? please explain technical details of this technology c) How is the medical device different or the competitive advantage of this medical device.
application that uses linux operating system amd justify the linux operating system. provide a suitable application...
application that uses linux operating system amd justify the linux operating system. provide a suitable application that uses linux os and justify the usage of linux os in the considered application.
Explain how an operating system protects main memory in a computer system. Discuss three responsibilities that...
Explain how an operating system protects main memory in a computer system. Discuss three responsibilities that an operating system has for file management in a computer system. Clearly distinguish between interrupt and trap. Give examples to illustrate your answer. Describe time-sharing systems and give an example to illustrate your answer. Discuss the 4 categories in which work concerning information security and protection relating to Operating Systems are grouped.
Discuss how the computer can facilitate the human-technology interface. How does the human-technology interface play a...
Discuss how the computer can facilitate the human-technology interface. How does the human-technology interface play a part in the future of health care? Your response should consist of at least 100 words.
Alienware and Foxconn are two multinational electronics company operating in a homogeneous computer hardware market. The...
Alienware and Foxconn are two multinational electronics company operating in a homogeneous computer hardware market. The engineering department at Alienware has been steadily working on developing a patented technology that has enabled the firm to reduce its marginal cost and emerge as a leader in the market. The inverse demand function for the market is   P = 1200 - 6Q Alienware's costs are TC = 60QA and Foxconn's costs are TC = 120QF. The current output for Alienware is QA...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT