Which of the following is a service not supported by the operating sys...
Code compilation is being done by compiler and not by operating system, since it is language specific.
View all questions of this test
Which of the following is a service not supported by the operating sys...
Which of the following is a service not supported by the operating system
compilation is right ans
Which of the following is a service not supported by the operating sys...
Introduction:
An operating system (OS) is a software that manages computer hardware and software resources and provides common services for computer programs. It is responsible for managing and coordinating computer operations, including hardware resources, software resources, and user interactions.
Explanation:
When it comes to services supported by an operating system, it can be categorized into various categories like protection, accounting, compilation, and I/O operations. Let's discuss each of these services in detail.
1. Protection:
Protection refers to the mechanism used by an operating system to control access to resources and ensure that only authorized users can access them. It includes user authentication, file permissions, encryption, and other security measures. Protection is an essential service provided by an operating system to ensure the security and integrity of the system and its resources.
2. Accounting:
Accounting is a service provided by an operating system to keep track of resource usage by various users and processes. It includes monitoring and recording resource utilization, such as CPU usage, memory usage, disk usage, and network usage. Accounting helps in managing system resources efficiently, identifying resource bottlenecks, and allocating resources based on usage patterns.
3. Compilation:
Compilation, on the other hand, is not a service provided by the operating system itself. Compilation is a process performed by a compiler, which is a separate software tool used to translate high-level programming languages into machine code that can be executed by the computer's hardware. The compiler takes the source code written by the programmer as input and produces executable code as output. The operating system is responsible for managing and executing the compiled code, but the actual compilation process is performed by the compiler.
4. I/O Operation:
I/O operation refers to input and output operations performed by the computer system to exchange data with external devices, such as keyboards, mice, monitors, printers, and storage devices. The operating system provides services and interfaces to facilitate I/O operations, including device drivers, file systems, and communication protocols. These services allow applications to read from and write to external devices and handle data transfer efficiently.
Conclusion:
In conclusion, among the given options, compilation is the service not supported by the operating system. While the operating system provides various services like protection, accounting, and I/O operations, compilation is a process performed by a separate software tool called a compiler. The operating system is responsible for managing and executing the compiled code but does not perform the actual compilation process itself.
To make sure you are not studying endlessly, EduRev has designed Computer Science Engineering (CSE) study material, with Structured Courses, Videos, & Test Series. Plus get personalized analysis, doubt solving and improvement plans to achieve a great score in Computer Science Engineering (CSE).