What is the main function of a device driver in an operating system?
Q1. What is the main function of a device driver in an operating system?
Answer: To act as an interface between the OS and hardware
Explanation: Device drivers serve as intermediaries between the operating system and hardware devices, facilitating communication and data transfer.