Os and Sys Soft 2023
Os and Sys Soft 2023
PART-A (10x2=20)
.Clients act as the front end, and servers remain at the back end.
Clients are in charge of delivering the user with data, whereas
servers are in charge of storing and managing the data.
8) What is a thread?
A thread is a basic unit of CPU utilization, consisting of a program
counter, a stack, and a set of registers, ( and a thread
ID. ) Traditional ( heavyweight ) processes have a single thread of
control - There is one program counter, and one sequence of
instructions that can be carried out at any given time.
9) What is an embedded system?
An embedded system is a combination of computer hardware and software designed for a
specific function. Embedded systems may also function within a larger system. The systems
can be programmable or have a fixed functionality.
10) Define priority scheduling.
Priority Scheduling is a process scheduling algorithm based
on priority where the scheduler selects tasks according to priority.
Thus, processes with higher priority execute first followed by
processes with lower priorities.
11) Define deadlocks.
A deadlock is a situation in which two computer programs sharing the same resource
are effectively preventing each other from accessing the resource, resulting in both
programs ceasing to function. The earliest computer operating systems ran only one
program at a time.
12) What is system model?
PART-B
loader is the part of an operating system that is responsible for loading programs and
libraries. It is one of the essential stages in the process of starting a program, as it places
programs into memory and prepares them for execution.
1)
18) Write a note on:
a) Process Management.
b) Process Scheduling.
19) Explain multi level queue scheduling and multi level feedback queue scheduling.
Multilevel queue scheduling is a type of CPU scheduling algorithm
that divides the ready queue into multiple levels or tiers, each with a
different priority. Processes are then assigned to the appropriate
level based on their characteristics, such as their priority, memory
requirements, and CPU usage.
1. The processes available in the ready queue can be grouped together under different
processing requirements.
2. Each group of processes can have its own scheduling algorithm. For example, consider
the diagram shown above. The processes in Queue1 can use First Come First Serve
scheduling algorithm, Queue2 can use Shortest Job First Scheduling algorithm and
Queue3 can use the Round Robin scheduling algorithm.
3. A process once assigned to a particular queue cannot change its queue till the process
ends. Suppose, a process P4 is assigned to Queue3 then it cannot migrate to any other
queue till the process P4 terminates.
4. It can be both preemptive or non-preemptive in nature. The implementer can select any
of the scheduling algorithms whether preemptive or non-preemptive and assign it to any
queue.
Explain prevention
detection of deadlock.