Correct option is B
Sol. A device driver is a special software program that allows the operating system to communicate with hardware devices like printers, keyboards, or graphic cards. It acts as a translator between the OS and the hardware.
Explanation of options:
· (a) Macro assembler – Incorrect. Used for converting assembly language to machine code, not for hardware interfacing.
· (b) Device driver – Correct. It enables the OS to access and control hardware devices.
· (c) Dynamic linker – Incorrect. Links libraries at runtime but does not connect directly to hardware.
· (d) Compiler – Incorrect. Converts source code into executable files, not used for hardware communication.