CS604 Quiz#2 Solution and discussion

__________ is used in the detection and recovery mechanism to handle deadlocks. CS604
98b4b098-ca66-4173-9a78-28bf2fff4b2c-image.png

A program can not execute unless whole or necessary part of it resides in the main memory. CS604
TRUE (Page 12)
6dcb54c6-cc85-44fd-9d71-6476373a2b06-image.png

External Fragmentation takes place in ______________ CS604

01ab8719-8c63-4ef8-8d33-d113cef8b6a0-image.png

The condition where a set of blocked processes each holding a resource and waiting to acquire a resource held by another process in the set, is termed as ________. CS604

The Deadlock Problem (Page 127)

abd56272-d2b7-43ac-921f-fb0c79a0ac17-image.png

Which of the following is correct definition for signal operation? CS604
signal(S) {
S++;
}

Page (108)

0dd93143-ad32-4258-a6cd-ee652cada560-image.png

Cache is non-volatile memory. CS604

90343e61-51dd-40b1-b66b-ed13a975be59-image.png

What do we name to an address that is generated by the CPU? CS604
logical address (Page 152)
8f8044d2-1207-470a-b6db-e5a46d169c23-image.png
Logical- Versus Physical-Address Space
An address generated by the CPU is commonly referred to as a logical address, where as
an address seen by the memory unit–that is, the one loaded into the memory-address
register of the memory–is commonly referred to as the physical address. In essence,
logical data refers to an instruction or data in the process address space where as the
physical address refers to a main memory location where instruction or data resides.

The process of holding at least one resource and waiting to acquire additional resources that are currently being held by other processes is known as _________________. CS604
►Hold and wait (Page 128)

Hold and wait: A process must be holding at least one resource and waiting to
acquire additional resources that are currently being held by other processes.
65d07025-c7e3-48c1-a9b3-4ed731c322e6-image.png

Log in to reply