Muska CCC

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

5-what is process?

How can you differentiate between


user mode and kernel mode.
A process is an instance of a program running in a
computer.It is close in meaning to task,a term used in
some operating system.An application that is being
shared by multipleusers will generally have one process
at some stage of execution for each user
User Mode vs Kernel Mode
User Mode is a restricted mode, which the application Kernel Mode is the privileged mode, which th
programs are executing and starts out. enters when accessing hardware resources.
Modes
User Mode is considered as the slave mode or the Kernel mode is the system mode, master mod
restricted mode. privileged mode.
Address Space
In User mode, a process gets their own address space. In Kernel Mode, processes get single address
Interruptions
In User Mode, if an interrupt occurs, only one process In Kernel Mode, if an interrupt occurs, the wh
fails. system might fail.
Restrictions
In user mode, there are restrictions to access kernel In kernel mode, both user programs and kerne
programs. Cannot access them directly. can be accessed.

You might also like