How does a computer request a service from the kernel of the operating system?

a. compiler

b. system calls

c. string

d. array

b. system calls

The correct answer is b. system calls.

When a computer program needs to request a service from the kernel of the operating system, it typically does so by making a system call. A system call is a mechanism provided by the operating system that allows programs to request services such as reading from or writing to files, creating processes, or allocating memory.

To make a system call, the program generally interacts with the operating system through a defined interface, such as a software interrupt or a special instruction. The program passes specific parameters to indicate the desired service, and the operating system's kernel then performs the requested operation on behalf of the program.

So, in summary, a computer program requests a service from the kernel of the operating system using system calls.