Operating System Mcqs

Page No. 23

If the resources are always preempted from the same process __________ can occur.


adeadlock

✖


bsystem crash

✖


caging

✖


dstarvation

✓


View Answer starvation

To _______ to a safe state, the system needs to keep more information about the states of processes.


aabort the process

✖


broll back the process

✓


cqueue the process

✖


dnone of the mentioned

✖


View Answer roll back the process

If we preempt a resource from a process, the process cannot continue with its normal execution and it must be ____________


aaborted

✖


brolled back

✓


cterminated

✖


dqueued

✖


View Answer rolled back

Cost factors for process termination include ____________


aNumber of resources the deadlock process is not holding

✖


bCPU utilization at the time of deadlock

✖


cAmount of time a deadlocked process has thus far consumed during its execution

✓


dAll of the mentioned

✖



The process to be aborted is chosen on the basis of the following factors?


apriority of the process

✖


bprocess is interactive or batch

✖


chow long the process has computed

✖


dall of the mentioned

✓


View Answer all of the mentioned

Those processes should be aborted on occurrence of a deadlock, the termination of which?


ais more time consuming

✖


bincurs minimum cost

✓


csafety is not hampered

✖


dall of the mentioned

✖


View Answer incurs minimum cost

The two ways of aborting processes and eliminating deadlocks are ____________


aAbort all deadlocked processes

✖


bAbort all processes

✖


cAbort one process at a time until the deadlock cycle is eliminated

✓


dAll of the mentioned

✖



A deadlock can be broken by ____________


aabort one or more processes to break the circular wait

✓


babort all the process in the system

✖


cpreempt all resources from all processes

✖


dnone of the mentioned

✖



Which of the following is TRUE?


aOverlays are used to increase the size of physical memory

✖


bOverlays are used to increase the logical address space

✖


cWhen overlays are used, the size of a process is not limited to the size of the physical memory

✓


dOverlays are used whenever the physical address space is smaller than the logical address space

✖



In a system that does not support swapping ____________


athe compiler normally binds symbolic addresses (variables) to relocatable addresses

✓


bthe compiler normally binds symbolic addresses to physical addresses

✖


cthe loader binds relocatable addresses to physical addresses

✖


dbinding of symbolic addresses to physical addresses normally takes place during execution

✖



Goto Page No.

Page 23 of 108

Alphabetical MCQs Categories
—

Here below You find all kind of categories of MCQs in alphabetical order.


"Comprehensive Collection of MCQs: Alphabetically Organized by Subject"
—

"Discover an extensive collection of multiple-choice questions (MCQs) neatly categorized by subject from A to Z. This resource is designed for anyone eager to explore various topics in a straightforward and organized manner. Whether you're a student preparing for exams, an educator seeking supplementary materials, or simply curious about different subjects, this compilation offers a convenient way to learn and assess your knowledge. With questions arranged alphabetically, navigation is effortless, allowing you to delve into subjects of interest at your own pace. Engage, learn, and expand your understanding with this accessible and comprehensive repository of MCQs!"


BolPakistan

bolpakistan.com.pk includes Job Mcqs and Pak Mcqs is the Top Largest Mcqs Forum in World, in which you can read Mcqs of All Subjects, PPSC test preparation, FPSC, NTS and PPSC PAST PAPERS, PPSC PAST MCQS. A Collection of Repeated MCQs for JOBs seekers.

Copyright © 2024, Designed & Developed by BolPakistan