Hardware, OS, Application programs and the users
What are the 4 components of a computer system?
Structure of process in main memory contains 4 sections
Stack, heap, data and text
In this operation, testing of int value of 's' is done and its modification (s--). Which is this operation?
wait () operation
Controls and coordinates the use of hardware among various application programs for the various users
Define an OS?
Mention the states of process
new, ready, running, waiting, terminated
A situation, where several process access and manipulate same data concurrently and the outcome of the execution depends on the particular order in which the access take place.
Race condition
to ensure proper execution of OS, we must be able to distinguish between the execution of user code and OS code.
What does the ready queue contain?
The processes that are residing in the main memory and are ready & waiting to execute are kept in a list called ready queue
The semaphore that provides Mutual exclusion access to a buffer pool?
Mutex
Provide an interface to the services made available by an OS
What is the function of system call?
Mention the different scheduling criteria
CPU Utilization, Throughput, Turn-around time, Waiting time, response time.
Synchronization and coordination is required to guard against _______
race condition
It increases CPU utilization by organizing jobs so that CPU always has one to execute.
what is the objective multiprogramming?
Process - P1, P2, P3 ,Burst time- 24 3 3
What is the average waiting time?
17
Solution to critical section problem must satisfy?
Mutual Exclusion, Progress and Bounded Waiting