COMPUTER SCIENCE ILLUMINATED
COMPUTER SCIENCE ILLUMINATED
7th Edition
ISBN: 9781284208047
Author: Dale
Publisher: JONES+BART
bartleby

Videos

Question
Book Icon
Chapter 10, Problem 55E
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.

Fixed-partition technique:

  • In this technique, main memory is sub-divided into a number of partitions and each job is loaded into the partition which is big enough to hold it.
  • There is no need for the size of the partitions to be same.
  • The following three approaches are used to allocates a new program in the main memory in fixed 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 the new process is allocated in that partition...

Blurred answer
Students have asked these similar questions
Using the notation

you can select multipy options
For each of the following, decide whether the claim is True or False and select the True ones: Suppose we discover that the 3SAT can be solved in worst-case cubic time. Then it would mean that all problems in NP can also be solved in cubic time. If a problem can be solved using Dynamic Programming, then it is not NP-complete. Suppose X and Y are two NP-complete problems. Then, there must be a polynomial-time reduction from X to Y and also one from Y to X.
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.
Similar questions
SEE MORE QUESTIONS
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