Basic CS [3i Infotech Placement]: Sample Questions 127 - 127 of 243

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 127

Question

MCQ▾

Which is not a memory management scheme?

Choices

Choice (4)

a.

Swapping

b.

Monitors

c.

Buddy system

d.

Paging

Answer

b.

Explanation

Monitors are not a memory management scheme.

Buddy system:

Understanding of Buddy System
  • Buddy system is a memory allocation and management algorithm to manage memory in powers of two.
  • From a memory of size suppose a chunk of size S is required:
  • In buddy system if the system allocates the whole block.
  • Else each block is tested for condition when the condition is satisfied that block is allocated.

Swapping:

  • Swapping allows processes to be temporarily put out of main memory to secondary storage making that memory available to other processes.
  • System can later swaps back the process from the secondary storage to main memory.
  • Swapping processes helps in running multiple and big processes in parallel.
  • Swapping is also known as a technique for memory compaction.

Paging:

  • Paging allows a computer to address more memory than physically installed on system- called virtual memory.
  • In paging a process՚s address space is broken into blocks of the same size called pages.
  • These pages are then swapped to or from the hard disks to the main memory as and when required.

Developed by: