Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Operating System OS161 Which of the following cause(s) an interrupt? a) Division

ID: 3745930 • Letter: O

Question

Operating System OS161

Which of the following cause(s) an interrupt? a) Division by Zero b) System Call c) I/O Instruction d) All of the above Which of the following is incorrect? a) While processing an interrupt, all lower-priority interrupts are disabled b) While processing an interrupt, the system is in monitor mode c) The device driver raises an interrupt when an I/O operation is complete d) Imminent power failure causes a high-priority interrupt Which of the following is NOT part of a process's address space? a) Data Segment b) Global Variables c) Heap d) The value of the stack pointer

Explanation / Answer

[1] [D] All of the above

Reason : Division by Zero is an arithmeticexception

Ststem Call Stop the execution or current activity

I/O Instruction return from program and casue for interrupt.

[2] [C]

Reason : Interrupt is a signal from a device that requires the operating system to stop and figure out what to do next.

[3] [B] Global Variables

[4] [C] Time expires

Reason : A process moves into the running state when it is chosen for execution.

[5] [D]

Registers (contains reference data) --> Cache Memory (To freq. access data) --> Disk --> RAM (Main memory in MotherBoard)

[6] [D]

Reason : SYSCALL invokes an OS system-call handler at privilege level 0.