![0spholbrooks](/avatars/32639.jpg)
0spholbrooks
04.07.2019 •
Computers and Technology
Ase (national institute for automotive service excellence) certified professionals must be retested every years to keep up with ever advancing automotive technology.
Solved
Show answers
More tips
- C Computers and Internet Отправляем смс через интернет: легко и просто...
- L Leisure and Entertainment The Best Film of 2010: A Look Back at the Academy Awards...
- H Health and Medicine Simple and Effective: How to Get Rid of Cracked Heels...
- L Leisure and Entertainment What to Bring on a Hike? Essential Items to Pack for a Safe and Enjoyable Adventure...
- L Leisure and Entertainment Couchsurfing: A New Way to Travel...
- S Style and Beauty Autotanning: Harmful or Safe?...
- F Food and Cooking 10 Ideas for a Wedding Anniversary Gift...
- H Health and Medicine How to Reduce Sweating in the Heat and Beyond: Say Goodbye to Excessive Sweat...
- F Food and Cooking Do Aphrodisiacs Really Work? Separating Fact from Fiction...
- H Health and Medicine What to Eat to Lose Weight?...
Answers on questions: Computers and Technology
- C Computers and Technology BRAINLIEST FOR BEST ANSWER ( HAS TO MAKE SENSE). What is the function of the OS? Explain in THREE OF MORE SENTENCES...
- C Computers and Technology Which one causes concerns for institutions or businesses when they are collected stores and they aren’t secured properly?...
- C Computers and Technology Which test environment simulates the hardware and software configurations at the client side.? A(n) test environment at the project site simulates the hardware and...
- C Computers and Technology ওয়ার্ড প্রসেসিং এ একটি সাধারন ডকুমেন্ট প্রিন্ট করার পদ্ধতি বর্ননা কর?answered...
- C Computers and Technology You are running your warehouse using Autonomous Data Warehouse (ADW) service and you noticed that a newly configured batch job is always running in serial even through...
- C Computers and Technology In this first journal assignment, you will explore the role of testing in the SDLC. You will explain the role and importance of testing in the SDLC and describe...
- E English What are Mama and Beneatha doing as this scene begins? What is Walter doing?...
- C Chemistry A sample of gas occupies 12 L under a pressure of 1.2 atm. What would its volume be if the pressure were increased to 3.6 atm? (assume temp is constant)...
- M Mathematics Help!!???? Please!!!????...
- M Mathematics Does anyone know the answer for this?...
Ответ:
Ответ:
Rank of the algorithms in terms of how efficiently they use memory is:
Best-fit: this create the least amount of extra/waste memory. (3+3+4) = 10MBFirst-fit: this create (35+3+12) = 50MB worth of memory extra/wastageWorst-fit: this create (35+40+4) = 79MB worth of memory extra/wastage.Explanation:
First-fit algorithm will assigned the first available space that can fit the process to it without considering the amount of space to be wasted.
Best-fit algorithm will assigned the best available space that will fit the process to it while minimizing wastage of space.
Worst-fit algorithm will look for the largest space and assigned it to the process.
Given ten memory partitions of
85MB = M1
45MB = M2
57MB = M3
49MB = M4
82MB = M5
65MB = M6
17MB = M7
53MB = M8
74MB = M9
40MB = M10
Processes of size 50 MB, 42 MB, and 70MB
50MB = P1
42MB = P2
70MB = P3
Using First-fit
P1 will be assigned to M1 as it is the first available memory to contain P1. Then M1 = (85 - 50) = 35MB
P2 will be assigned to M2 as it is the first available memory to contain P2. Then M2 = (45 - 42) = 3MB
P3 will be assigned to M5 as it is the first available memory to contain P3. Then M5 = (82 - 70) = 12MB
Using Best-fit
P1 will be assigned to M8 as it is the best available memory to contain P1. Then M8 = (53 - 50) = 3MB
P2 will be assigned to M2 as it is the best available memory to contain P2. Then M2 = (45 - 42) = 3MB
P3 will be assigned to M9 as it is the best available memory to contain P3. Then M9 = (74 - 70) = 4MB
Using Worst-fit
P1 will be assigned to M1 as it is the largest available memory to contain P1. Then M1 = (85 - 50) = 35MB
P2 will be assigned to M5 as it is the largest available memory to contain P2. Then M5 = (82 - 42) = 40MB
P3 will be assigned to M9 as it is the largest available memory to contain P3. Then M9 = (74 - 70) = 4MB
Best-fit efficiently manage the memory partition, followed by first-fit and then worst-fit.