Machine-translated by Google. Questions are authored in English.
Top

Memory Management Questions and Answers

1.

Which of the following memories needs to be refreshed after certain amount of time?

Exam Year(s)

MP Lab Technician - 2015,

Answer: B

The memory that must be refreshed is DRAM.

Dynamic RAM stores each bit as a charge on a tiny capacitor. The charge leaks away within milliseconds, so the memory controller must read and rewrite every cell periodically, a process called refreshing. DRAM is cheap and dense, which is why it is used as main memory.

Static RAM (SRAM) stores each bit in a flip-flop that holds its state as long as power is supplied, so it needs no refresh; it is used for cache. ROM and PROM are non-volatile and keep their contents without power or refresh.

Please log in or register to report this question.

Answer: B

Cache memory exists to store frequently accessed data for faster retrieval.

Cache is a small, very fast memory placed between the processor and main memory (RAM). It keeps copies of the instructions and data the processor is likely to use again soon, so that most requests can be served without waiting for the slower main memory. This reduces the average memory access time.

Cache is volatile and tiny, so it cannot act as permanent storage for user files, which is the job of secondary storage such as disks. It does not replace main memory or secondary memory when they fill up; virtual memory and storage management deal with that.

Please log in or register to report this question.

Answer: D

Correct answer: user programs can implement dynamic loading without any special support from the operating system or hardware

Dynamic loading is a matter of how the program is written: the routine is loaded from disk by a library call when it is first needed. The operating system may supply libraries to make it convenient, but nothing in the hardware or the kernel is required.

Please log in or register to report this question.

5.

If relocation is static and is done at assembly or load time, compaction _________

Answer: A

Correct answer: cannot be done

Compaction moves a process to a different physical address, so its addresses must be recomputed. If relocation was fixed at assembly or load time the addresses are already bound and cannot be changed, so the process cannot be moved.

Please log in or register to report this question.

7.

A process can map any of its pages into the address space of another

Answer: A

Correct answer: Process

A page may be mapped into the address space of another process, which is how two processes come to share physical memory while each keeps its own address space.

Please log in or register to report this question.

9.

Loop statement which is repeated to some given number of times is classified as

Answer: B

Correct answer: FOR loop

A FOR loop repeats a fixed number of times, controlled by a counter running between stated limits. WHILE and REPEAT loops repeat until a condition changes, which may be any number of times.

Please log in or register to report this question.

Loading…
Tags: Memory Management Questions and Answers || Memory Management MCQ Questions and Answers || Memory Management GK Questions and Answers || Memory Management GK MCQ Questions || Memory Management Multiple Choice Questions and Answers || Memory Management GK || GK on Memory Management || Computer Awareness Questions and Answers || Computer Awareness MCQ Questions and Answers || Computer Awareness GK Questions and Answers || GK on Computer Awareness