Operating System :: Memory Management

NA
SHSTTON
10
Solv. Corr.
31
Solv. In. Corr.
41
Attempted
0 M:7 S
Avg. Time

1 / 26

Choose the correct option.

Which of the following programming technique/structures are not good for demand paged environment?


AStack

BSequential search

CBinary Search

DVector operations

 View Answer |  Discuss in Forum |  Workspace | Asked In CommvaultGlobal Edge |

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
6
Solv. Corr.
23
Solv. In. Corr.
29
Attempted
0 M:0 S
Avg. Time

2 / 26

Choose the correct option.

For 1 MB memory, the number of address lines required,


A11

B16

C20

D24

 View Answer |  Discuss in Forum |  Workspace | Asked In WiproGlobal Edge |

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
11
Solv. Corr.
13
Solv. In. Corr.
24
Attempted
0 M:10 S
Avg. Time

3 / 26

Choose the correct option.

What page replacement algorithm has minimum number of page faults ?


Aframe-allocation algorithm

Boptimal page-replacement algorithm

CLRU page-replacement algorithm

DNone of these

 View Answer |  Discuss in Forum |  Workspace | Asked In WiproGlobal Edge |

Answer: Option B

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
9
Solv. Corr.
4
Solv. In. Corr.
13
Attempted
0 M:0 S
Avg. Time

4 / 26

Choose the correct option.

A byte addressable computer has memory capacity of 2 power m Kbytes and can perform 2 power n operations an instruction involving three operands and one operator needs maximum of___________ bits


A3m_n^2

B3m

C3m + n

DNone of the these

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
2
Solv. Corr.
12
Solv. In. Corr.
14
Attempted
0 M:0 S
Avg. Time

5 / 26

Choose the correct option.

A 12 address lines maps to the memory of


A1k bytes

B0.5k bytes

C2k bytes

DNone of these

 View Answer |  Discuss in Forum |  Workspace | Asked In WiproSociete Generale |

Answer: Option B

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
16
Solv. Corr.
19
Solv. In. Corr.
35
Attempted
0 M:0 S
Avg. Time

6 / 26

Choose the correct option.

In which of the following page replacement policies, Balady's anomaly occurs?


AFIFO

BLRU

CLFU

DNRU

 View Answer |  Discuss in Forum |  Workspace | Asked In WiproGlobal Edge |

Answer: Option A

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
6
Solv. Corr.
11
Solv. In. Corr.
17
Attempted
0 M:0 S
Avg. Time

7 / 26

Choose the correct option.

Consider a machine with 64 MB physical memory and a 32-bit virtual address space. If the page size s 4KB, what is the approximate size of the page table?


A16 MB

B8 MB

C2 MB

D24 MB

 View Answer |  Discuss in Forum |  Workspace | Asked In CiscoSociete Generale |

Answer: Option C

Explanation:

Number of pages = 232 / 4KB = 220 as we need to map every possible virtual address.

So, we need 220 entries in the page table. Physical memory being 64 MB, a physical address must be 26 bits and a page (of size 4KB) address needs 26-12 = 14 address bits. So, each page table entry must be at least 14 bits.

So, total size of page table = 220 * 14 bits ~ 2 MB

Workspace

NA
SHSTTON
11
Solv. Corr.
21
Solv. In. Corr.
32
Attempted
0 M:2 S
Avg. Time

8 / 26

Choose the correct option.

Which is not a memory management scheme?


Abuddy system

Bswapping

Cmonitors

Dpaging

 View Answer |  Discuss in Forum |  Workspace | Asked In CiscoGlobal EdgeSociete Generale |

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
14
Solv. Corr.
34
Solv. In. Corr.
48
Attempted
0 M:14 S
Avg. Time

9 / 26

Choose the correct option.

Size of virtual memory depends on


Asize of data bus

Bsize of address bus

Csize of main memory

Dnone of above

 View Answer |  Discuss in Forum |  Workspace | Asked In CiscoGlobal EdgeSociete Generale |

Answer: Option B

Explanation:

Here is no explanation for this answer

Workspace

NA
SHSTTON
12
Solv. Corr.
6
Solv. In. Corr.
18
Attempted
0 M:0 S
Avg. Time

10 / 26

Choose the correct option.

Main function of shared memory is:


Ato use primary memory efficently

Bto do intra process communication

Cto do inter process communication

Dnone of above

 View Answer |  Discuss in Forum |  Workspace | Asked In CiscoSociete Generale |

Answer: Option C

Explanation:

Here is no explanation for this answer

Workspace