in Operating System edited by
391 views
1 vote
1 vote

Shouldn’t the answer be A but D is provided as an answer

in Operating System edited by
391 views

4 Comments

A is also correct - there are two modes, namely user and kernel, so that the user space processes can't access memory locations which are not meant for it.
0
0
They are asking for the reason. Restricting memory access was not the reason why 2 modes of execution was implemented. Managing access to hardware is. Hence, D is more appropriate. Though technically A is not incorrect.
0
0
Memory protection is given by "Virtual Memory" using access bits in the Page/Segmentation table. There is no need of mode switching here - even Kernel is another process.
0
0

Please log in or register to answer this question.

Related questions