360 views
0 votes
0 votes
Which of the following operations require the executing code to be operating with kernal mode?

A)Performing semaphore 'P' operation.

B)Making system call

C)Disabling interrupt

D)both (B) and (C)

1 Answer

0 votes
0 votes
A doesnt need to be in kernel mode as incrementing variables doesnt cause race condition, B is also wrong as system calls can be made in user mode (which inturn is executed in kernel mode),

 

C is true, because interrupts cant be disabled in user mode.

Related questions

1 votes
1 votes
1 answer
1