in Operating System
715 views
0 votes
0 votes
which of the require the executing code to be in kernel mode.

A)Performing a semaphore 'P' operation.

B)Making a system call

C)Disabling interrupt.

D)Both b and c
in Operating System
by
715 views

4 Comments

edited by
1
1
i think all require the kernel mode..@Magma can you please explain how B is correct only ..???
0
0

SHUBHAM SHASTRI 

yes Ist I made mistake ..then within a minute I updated my answer ...... I think  'Making a system call ' and 'Disabling interrupt.' is the correct option (D).

 

 

1
1
thnx
0
0

1 Answer

1 vote
1 vote

Answer is C - disabling interrupts. 

option A is definitely not the answer. 

option B - system calls can be made in the user mode which transfers the control to the kernel mode thereafter.

option C - disabling and enabling interrupts are handled by kernel 

Related questions