Wednesday, April 29, 2020

Operating Systems Question Bank with Answers 11

What are the processor execution modes in operating systems and list the difference between them


Question:

List the processor (CPU) execution modes that are necessary for an OS that protects memory and hardware. What is the difference between them?


Answer:
At least two processor (CPU) execution modes are necessary for an operating system that protects memory and hardware.

  • User/program mode and

  • Kernel/supervisor/protected/privileged/system mode

Kernel mode provides access to all processor instructions. User mode cannot perform privileged instructions. If a privileged instruction is executed in user mode it causes an exception.


***********************
Related Questions:


 What are the modes called and what is the difference between them.


No comments:

Post a Comment

Featured Content

Multiple choice questions in Natural Language Processing Home

MCQ in Natural Language Processing, Quiz questions with answers in NLP, Top interview questions in NLP with answers Multiple Choice Que...

All time most popular contents

data recovery