Computer Science Illuminated
Computer Science Illuminated
7th Edition
ISBN: 9781284155617
Author: Nell Dale, John Lewis
Publisher: Jones & Bartlett Learning
bartleby

Videos

Question
Book Icon
Chapter 10, Problem 56E
Program Plan Intro

Given data:

It is given that the partitions are fixed and there is a new job which requires 52 blocks of main memory. Refer the given diagram in the textbook. From that, it is need to show the memory after using each of the following partition selection approaches.

Dynamic-partition technique:

  • In this technique, main memory is-divided into single partition and each job is loaded into the partition which is big enough to hold it.
  • The size of the partition is dynamic.
  • The following three approaches are used to allocates a new program in the main memory in dynamic partition technique,
    • First fit
    • Best fit
    • Worst fit

Explanation of Solution

b. Best fit

  • The best fit is the technique in which the program is allocated to the smallest partition which is big enough to hold it.
  • When a new program arrives, the smallest partition in the main memory is “empty 52 blocks” which is big enough to hold “52 blocks”, and the new process is allocated in that partition...

Explanation of Solution

c. Worst fit

  • The worst fit is the technique in which the program is allocated to the largest partition which is big enough to hold it.
  • When a new program arrives, the largest partition in the main memory is “empty 100 blocks” which is big enough to hold “52 blocks”, and there will be remaining 48 blocks which is allocated as empty and it is used by other processes...

Blurred answer
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Instruction Format (With reference to address); Author: ChiragBhalodia;https://www.youtube.com/watch?v=lNdy8HREvgo;License: Standard YouTube License, CC-BY