Question: QUESTION 1 Select two. Assume the CPU is handling hardware interrupt # 1 when hardware interrupt # 2 comes in . Preempting handler
QUESTION
Select two. Assume the CPU is handling hardware interrupt # when hardware interrupt # comes in Preempting handler # by handler #
A means control can return to handler # after handler # completes.
B is never an acceptable option.
C is acceptable only if interrupt # has higher priority.
D is generally not done in a real time environment if # 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
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
A thread is always more efficient than a process for which two activities?
A thread creation
B Sys IPC calls
C file open and file write calls
D thread termination
QUESTION
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
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.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
