Menu

[Solved]-Single Choice Following Questions Select Best Answer Given Choices Remember One Best Answe Q37240029

Single Choice – For each of the followingquestions, select the best answer from the given choices. Rememberthere is only ONE best answer to each question.

(a) In a system, each resource type is associated with aunique integer. A process can only request a resource whoseassociated number is larger than the associated number of all theresources currently allocated to the process

i. Deadlock is possible in the system.

ii. Deadlock is not possible in any case.

iii. Deadlock does not occur normally but can occur in the worstcase.

iv. None of the above.

(b) In dynamic memory allocation, the followingstatement is true regarding compaction.

i. Compaction can reduce internal fragmentation.

ii. Compaction can reduce external fragmentation.

iii. Without memory mapping, the memory segment where globalvariables are allocated can be moved around without any problems.i

v. None of the above.

(c) A memory manager for a variable-sized regionstrategy has a free list of blocks of size 600, 400, 1000, 2200,1600, and 1050 bytes, the block to be selected to satisfy a requestof 390 bytes using the worst-fit policy is the free block ofsize

i. 400 bytes.

ii. 2200 bytes.

iii. 600 bytes.

iv. None of the above.

(d) Direct memory access is a technique that . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . [ ]

i. Is most effective for slow character devices.

ii. Cannot be used for block devices. i

ii. Enables the associated controller to read and write datadirectly from/to primary memory with no CPU intervention duringdata transfer.

iv. None of the above.

(e) An operating system implements low level files only.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[ ]

i. Some of the system calls impose record structures on the openfiles in the system.

ii. A user process cannot impose structures on the open files inthe system.

iii. A user process needs to read/write the data blocks from/tophysical disk directly.

iv. The operating system treats any file as a stream ofbytes.

Expert Answer


Answer to Single Choice – For each of the following questions, select the best answer from the given choices. Remember there is on… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *