With respect to general multitasking system
What mechanism allows operating system routine to get
more control of the CPU than user tasks --
- The protection - mechanism allows operating system
routine to get more control of the SPU than user tasks, it
represent the mehanism to control the access of program, procesess
to the resources which is defined by the computer
system.
- The major activities of operating system in protection
include --
- The operating system make sure that all access to
system resources is controlled.
- The operating system make sure all the external input
and output divices are protected from invalid access
attampts.
- The operating system provide authentication features
for user in password.
- Operating system is interface in between computer hardware and
computer user.
- The operating system is software that perform all the basic
task including -- process management, memory management,
file management, handling input and output, and control the devices
like printers and disk drivers.
- The operating system include -- Windows operating
system, Linux operating system, and VMS.
- The operating system provide services which
include -- program execution, file sytsem manipulation,
input output operation, Communication, error detection, resource
allocation and protection.
- The computer system which have multiple user and concurrent
execution of multiple process, these process should be protected
from each other's activities.
What are the two states a task can be in while waiting
for control of the CPU --
- The two states a task can be in while waiting for
control of the CPU is - Ready and waiting.
- Ready -- In ready state, the process is
waiting to be assigned to processor. The ready processes wait to
the processor which is allocated to them by the operating system so
that they can run.
- The process come into this state after start state but
interrupted by scheduler to assign CPU to other process.
- Waiting -- The process move to waiting state
if it needed to be wait for resource, like waiting for file to
become available and to wait for user input.