CS604 Quiz#2 Solution and discussion
-
CS604 Quiz#2.
Please post your current Quiz to help the students. -
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.
-
What do we name to an address that is generated by the CPU? CS604
logical address (Page 152)
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. -
Cache is non-volatile memory. CS604
-
Which of the following is correct definition for signal operation? CS604
signal(S) {
S++;
}Page (108)
-
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)
-
External Fragmentation takes place in ______________ CS604
-
A program can not execute unless whole or necessary part of it resides in the main memory. CS604
TRUE (Page 12)
-
__________ is used in the detection and recovery mechanism to handle deadlocks. CS604
-
If a system is not in a safe state, there can be NO deadlocks. CS604
True ()134
-
Addresses generated relative to part of program, not to start of physical memory are CS604
Relocatable = Correct Option
Virtual
Symbolic
Physical -
- The collection of process that is waiting on the disk to be brought into the memory for execution forms the _______
Input queue = Correct Option
Output queue
Both of the
None of the above
- _____is used due to un-used space in fixed size blocks/ pages.
Internal fragmentation = Correct Option
External fragmentation
Paging
MVT
- Fragmentation when using ICMP for path MTU should be avoided.
Select correct option:
True = Correct Option
False
Static routing
- Secondary storage memory devices have ____ memory.
Volatile
Permanent and non volatile = Correct Option
Temporary
None of the
- _____is caused due to un-used in physical memory.
Internal fragmentation = Correct Option
External fragmentation
Paging
MVT
- The set of all physical address corresponding to the logical address is a _____of the process
Logical address space
Process address space
Physical address space = Correct Option
None of the These
- Addresses generated relative to part of program, not to start of physical memory are
Relocatable = Correct Option
Virtual
Symbolic
Physical
- In deadlock detection and recovery algorithm exists in the system if and only if the wait for graph contains a _______.
Cycle = Correct Option
Graph
Edge
Node
- Object files and library are combined by a ____ program to produce the executable binary
Compiler
Linker
Text editor
Loader = Correct Option
- The run-time mapping from virtual to physical address is done by a piece of hardware in the CPU, called the _______
Memory management unit (MMU) = Correct Option
CPU scheduler
Registers
None of the above
-
---------------keep in memory only those instructions and data that are needed at any given time. CS604
►Fragmentation
►Paging
►Swapping
►Overlays (Page 156) -
----------holds the smallest legal physical memory address for a process CS604
Or
Which register holds the smallest legal physical memory address for a process?► Base register (Page 13)
► Limit register
►Status register
►None of the given options -
Each page is a power of -------- bytes long in paging scheme.
► 2
► 3
► 4 (Page 167)
► 5 -
External Fragmentation takes place in ______________
Select correct option:
- Multi programming with Variable Tasks (MVT)
- Multi programming with Fixed Tasks (MFT)
- Multi-tasking
- Paging