Forwarded from H M
The primary distinction between the short term scheduler and the long term scheduler is
Anonymous Quiz
21%
The length of their queues
18%
The type of processes they schedule
59%
The frequency of their execution
3%
None of the mentioned
Forwarded from H M
In a time-sharing operating system, when the time slot given to a process is completed, the process goes from the running state to the
Anonymous Quiz
76%
Ready state
5%
Wait state
16%
Terminated state
3%
Suspend state
Forwarded from H M
Which of the following state transitions is not possible ?
Anonymous Quiz
54%
waiting to running
11%
waiting to ready
17%
ready to running
17%
running to waiting
Forwarded from H M
If a process is executing in its critical section, then no other processes can be executing in their critical section. This is called
Anonymous Quiz
21%
synchronous exclusion
52%
critical exclusion
0%
asynchronous exclusion
27%
mutual exclusion
Forwarded from H M
Which one of the following is a synchronization tool
Anonymous Quiz
12%
Pipe
3%
Socket
76%
semaphore
9%
Thread
Forwarded from H M
Semaphore is a/an _______ to solve the critical section problem.
Anonymous Quiz
10%
hardware for a system
77%
integer variable
10%
special program for a system
3%
None of these
Forwarded from H M
A program in execution is called
Anonymous Quiz
85%
A Process
12%
A virtual memory
0%
A Paging
3%
A Demand Page
Forwarded from H M
The Banker’s algorithm is used
Anonymous Quiz
25%
to solve deadlock
6%
to detect deadlock
69%
to prevent deadlock
0%
to rectify deadlock
Forwarded from H M
Forwarded from H M
____ section is dynamically allocated memory to a process during its run time
Anonymous Quiz
19%
Stack
16%
data
6%
text
59%
Heap
Forwarded from H M
A process generally also includes the process ______, which contains temporary data (such as function parameters, return addresses, and local variables)
Anonymous Quiz
16%
text
78%
Stack
0%
Heap
6%
data
Forwarded from H M
Process control block (PCB) contains which of the following
Anonymous Quiz
9%
list of open files
13%
process state
16%
process number
63%
All of the above
Forwarded from H M
The list of processes waiting for a particular I/O device is called a________
Anonymous Quiz
35%
ready queue.
9%
job queue
53%
device queue
3%
None of the above
Forwarded from H M
Switching the CPU to another process requires performing a state save of the current process and a state restore of a different process. This task is known as a ____________.
Anonymous Quiz
16%
Demand Paging
44%
Swapping
0%
Page Fault
41%
context switch
Forwarded from H M
Thread shares with other threads belonging to the same process its
Anonymous Quiz
40%
code section and data section
33%
program counter
17%
register set and a stack
10%
thread ID
Forwarded from H M
Forwarded from H M
Which of the following statement is True for Aging
Anonymous Quiz
29%
Aging involves gradually increasing the priority of processes that wait in the system for small time
23%
Aging involves gradually decreasing the priority of processes that wait in the system for long time
20%
Aging involves gradually decreasing the priority of processes that wait in the system for small time
29%
Aging involves gradually increasing the priority of processes that wait in the system for long time
Forwarded from H M
Several processes access and manipulate the same data concurrently and the outcome of the execution depends on the particular order in execution
Anonymous Quiz
78%
Race condition
10%
Shared Memory Segments
5%
Entry Section
8%
Process Synchronization
👍1