Question: QUESTION 1 Select two. Assume the CPU is handling hardware interrupt # 1 when hardware interrupt # 2 comes in . Preempting handler

QUESTION 1
Select two. Assume the CPU is handling hardware interrupt \#1 when hardware interrupt \#2 comes in. Preempting handler \#1 by handler \#2...
A. means control can return to handler \#1 after handler \#2 completes.
B. is never an acceptable option.
C. is acceptable only if interrupt \#2 has higher priority.
D. is generally not done in a real time environment if \#2 has lower priority.
Monolithic kernels are theoretically less secure than microkernels because within a user process...
A. a system call requires a mode switch from user to privileged mode.
B. interprocess communication is required for most system calls.
QUESTION 3
When user process A makes a system call in Linux it results in a jump from the user stack for process A to the
A. kernel stack for process A.
B. kernel's user stack.
C. kernel's kernel stack.
QUESTION 4
A thread is always more efficient than a process for which two activities?
A. thread creation
B. Sys5 IPC calls
C. file open and file write calls
D. thread termination
QUESTION 5
Select the two true statements concerning mutex operations.
A. If thread A locks a mutex thread B can unlock it.
B. Multiple threads can lock a mutex (similar to a counting semaphore).
C. The ownder of a mutex is the thread that locked it.
D. A thread blocks on a lock operation if the mutex is locked by another thread.
QUESTION 6
In a deadlock avoidance approach such as Banker's algorithm...
A. the three necessary conditions for deadlock are allowed to exist.
B. there are no restrictions on when a process can access a resource.
QUESTION 1 Select two. Assume the CPU is handling

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!