1 votes 1 votes Which of the following statements is/are true regarding how the trap instruction (e.g., int n in x86) is invoked when a trap occurs in a system? When a user makes a system call, the trap instruction is invoked by the kernel code handling the system call When a user makes a system call, the trap instruction is invoked by userspace code (e.g., user program or a library) When an external I/O device raises an interrupt, the trap instruction is invoked by the device driver handling the interruptWhen an external I/O device raises an interrupt signaling the completion of an I/O request, the trap instruction is invoked by the user process that raised the I/O request Operating System interrupts operating-system process-scheduling trap + – mr.smooth asked Jun 12 • retagged Jun 13 by Shubham Sharma 2 mr.smooth 86 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.