A class can inherit only one Abstract class but may inherit several interfaces. An Abstract class can provide complete and default code but an interface has no code. For more information on Abstract class Refer:Pure Virtual Functions and Abstract Classes in C++ Option (C) is correct.
PREVIOUS YEAR SOLVED PAPERS MCQ - December 2015 Paper 3
37
Match the following with respect to various memory management algorithms :
| List I | List II |
| (a) Demand paging | (i) degree of multiprogramming |
| (b) Segmentation | (ii) working set |
| (c) Dynamic partitions | (iii) supports user view of memory |
| (d) Fixed partitions | (iv) compaction |
Codes:
| (a) | (b) | (c) | (d) | |
| (1) | (iii) | (iv) | (ii) | (i) |
| (2) | (ii) | (iii) | (i) | (iv) |
| (3) | (iv) | (iii) | (ii) | (i) |
| (4) | (ii) | (iii) | (iv) | (i) |
The Function of the memory management unit is to address translation and manage the primary memory of the computer.
P1 is holding 5 tape drive but it require 10 tape drive, 5 tapes are required for P1. P2 is holding 2 tape drive but it require 4 tape drive, 2 tapes are required for P2. P3 is holding 3 tape drive but it require 9 tape drive, 6 tapes are required for P3. We have total 12 tape out of which 10 are allocated, 2 tape are free. These 2 tape can be allocated to P2. After P2 complete its execution it will free 4 tape, but these 4 tape can not fulfill requirement for P1 or P3. That's why system is in unsafe state. So, option (B) is correct.
In Unix operating system, special files are used to provide a mechanism to map physical device to file names. For more information on Unix file system Refer:Operating System | Unix File System Option (B) is correct.

