Comp chap 8

Which of the following works as an agent between hardware and user?

Verified Answer
A. Compiler
B. Operating system
C. Translator
D. All of these
E. None of these

Explanation:

The **Operating System (OS)** acts as the primary intermediary or 'agent' between the computer hardware and the user (or application programs). It manages and allocates hardware resources like the CPU, memory, and I/O devices, allowing users and applications to interact with the hardware without needing to understand its intricate details. A 'compiler' (option a) and a 'translator' (option c, which is a general term for compilers/interpreters) are software tools that convert programming code from one language to another; they do not directly mediate between the user and hardware for general operations. 'All of these' (option d) is incorrect because compilers/translators do not fulfill this primary role. Hence, the operating system is the correct answer.