CT3 Ak Set A
CT3 Ak Set A
CT3 Ak Set A
1 CO1 3 - - 3 - - - - - - - - - - -
2 CO2 3 3 - 2 - - - - - - - - - - -
3 CO3 3 2 2 3 - - - - - - - - - 2 -
4 CO4 3 3 - 3 - - - - - - - - - 2 -
5 CO5 3 3 - 2 - - - - - - - - - - -
Part – A
(10 x 1 = 10 Marks)
Instructions: Answer all
Q. Question Marks BL CO PO PI
No Code
1 All threads have exactly the same ………... 1 L1 4 1 1.6.1
A. Code Section
B. Data Section
C. OS Resource
D. Address Space.
Or
23 Define the following terms: a) Process Migration b) 10 L4 4 2 2.6.2
Threads c) Processor allocation.
Ans:
Process Migration in Distributed System:
A process is essentially a program in execution. The
execution of a process should advance in a sequential
design. A process is characterized as an entity that
addresses the essential unit of work to be executed in the
system.
Thread:
Thread is a separate execution path. It is a lightweight
process that the operating system can schedule and run
concurrently with other threads. The operating system
creates and manages threads, and they share the same
memory and resources as the program that created them.
This enables multiple threads to collaborate and work
efficiently within a single program.
A thread is a single sequence stream within a process.
Threads are also called lightweight processes as they
possess some of the properties of processes. Each thread
belongs to exactly one process. In an operating system
that supports multithreading, the process can consist of
many threads. But threads can be effective only if CPU
is more than 1 otherwise two threads have to context
switch for that single CPU.
Processor allocation:
The process scheduling is the activity of the
process manager that handles the removal of the
running process from the CPU and the selection
of another process on the basis of a particular
strategy.
Process scheduling is an essential part of a
Multiprogramming operating systems. Such
operating systems allow more than one process
to be loaded into the executable memory at a
time and the loaded process shares the CPU
using time multiplexing.