Introduction
Process
Synchronization
100

Hardware, OS, Application programs and the users

What are the 4 components of a computer system?

100

Structure of process in main memory contains 4 sections

Stack, heap, data and text

100

In this operation, testing of int value of 's' is done and its modification (s--). Which is this operation? 

wait () operation

200

Controls and coordinates the use of hardware among various application programs for the various users

Define an OS?

200

Mention the states of process

new, ready, running, waiting, terminated

200

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

300

to ensure proper execution of OS, we must be able to distinguish between the execution of user code and OS code.

What is the goal of dual mode operation?
300

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

300

The semaphore that provides Mutual exclusion access to a buffer pool?

Mutex

400

Provide an interface to the services made available by an OS

What is the function of system call?

400

Mention the different scheduling criteria

CPU Utilization, Throughput, Turn-around time, Waiting time, response time.

400

Synchronization and coordination is required to guard against _______

race condition

500

It increases CPU utilization by organizing jobs so that CPU always has one to execute.

what is the objective multiprogramming?

500

Process - P1, P2, P3 ,Burst time- 24 3 3

What is the average waiting time?

17 

500

Solution to critical section problem must satisfy?

Mutual Exclusion, Progress and Bounded Waiting

M
e
n
u