In: Computer Science
Question 1
Discuss the key functions of an operating system, and how these functions make it possible for computer applications to effectively utilize computer system resources.
Compare and contrast the Windows API and the POSIX API and briefly explain how these APIs can be applied in systems programming.
Write a C/C++ program to create a file in a specified folder of the Windows file system, and write some text to the file. Compile and run the program and copy the source code into your answer booklet.
Question 1.
The key function of an operating system to manage the resources of the computer such as CPU, storage device and other connected hardwares. it is also used to execute user interface between the user and the computer system using the softwareand the third function of an operating system is to execute and provide resources to any software or application running on the machine. All these functions when put together successfully utilise the system resources effectively by the first function of operating system that is used to manage the computer resources for various software applications for program and allocate them resources according to the need , making it effective for the operating system to control the resource sharing between the software application and operating system and by creating a user interface between the user and the system the user is also able to directly interact with the machine and allocate resources according to their preferences and need.