Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

21. The __________ state is when the thread has terminated. a) Zombie b) Stop c)

ID: 3646134 • Letter: 2

Question

21. The __________ state is when the thread has terminated.

a) Zombie
b) Stop
c) Free
d) Sleep

22. A situation in which a runnable process is overlooked indefinitely by the scheduler, although it is able to proceed, is __________.

a) Starvation
b) Deadlock
c) Livelock
d) Mutual exclusion

23. A means for two processes to exchange information is with the use of ___________.

a) spinlocks
b) spinlocks
c) condition variables
d) messages

24. A _________ occurs when multiple processes or threads read and write data items so that the final result depends on the order of execution of instructions in the multiple processes.

a) atomic operation
b) deadlock
c) race condition


25. The _________ is a programming language construct that provides equivalent functionality to that of semaphores and is easier to control.

a) atomic operation
b) critical section
c) coroutine
d) monitor

26. The _________ condition can be prevented by requiring that a process request all of its required resources at one time and blocking the process until all requests can be granted simultaneously.

a) mutual exclusion
b) hold and wait
c) circular wait
d) no preemption

27. A closed chain of processes exists, such that each process holds at least one resource needed by the next process in the chain is the condition of __________.

a) no preemption
b) mutual exclusion
c) circular wait
d) hold and wait

28. The fastest form of interprocess communication provided in UNIX is __________.

a) shared memory
b) semaphore
c) message
d) pipe

29. In the Dynamic Partitioning technique of memory management, the placement algorithm that chooses the block that is closest in size to the request is called __________.

a) first-fit
b) best-fit
c) last-fit
d) next-fit


30. The _________ policy results in the fewest number of page faults.

a) Optimal
b) FIFO
c) Clock
d) LRU

Explanation / Answer

21 d 22 b 23 a 24 b 25 a 26

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote