# Monte Carlo simulation

Write a Monte Carlo simulation to help determine which partitioning algorithm would be best give that the tasks have memory requirements that meet a poissan distribution with a mean of eight and a time distributionthat is uniform between one and ten, inclusively. The partitioning organizations are shown on Figures 7.2 and 7.3 (Slides 12 and 14).

The attached file provides a specifications within which you are required to work.

Chart the average turn-around time, average relative turn-around time, and average number of failures for each of the three partitioning styles (to be included in your report).

In your report, include a conclusion (decision) as to which of these partitioing style you would recommend for implementation to your management and why.

Bonus points (20 points): Include one dynamic partitioning algorithm (Figure 7.4) by selecting one placement algoirthm (Best-fit, worst-fit, first-fit, or next-fit: Figure 7.5 plus in-class discussion) to this assignment. Including the bonus algorithm means that the conclusion is based on all four algorithms, not just the initial three. Consider the 56 M of memory in 1 M units. A process/task must fit into a contiguous hole to be eligible to execute. If no holes are large enough, then, if there is sufficient unused space, a compaction algoirthm should be implemented to allow that process/task to be placed into a partition. If a process requires more than 56 M to execute, then it blocks access to later items until all of memory is unused. At that time, it would take up all of memory for its time required. Subsequently, the other items behind it would be processed in the same manner as before.

Compétences : Programmation C, Programmation C++, Java

Concernant le client :
( 1 commentaire ) Irving, United States

Nº du projet : #33523823

## Décerné à:

jahoyz

Hi, I've read your description carefully. I have full experience with C, C++ and Java. I've also worked on several similar projects. So I can complete your project with high quality on time. Looking forward to hear mor Plus

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 4 jours
(2 Commentaires)
3.0

## 6 freelances font une offre moyenne de 148 \$ pour ce travail

(41 Commentaires)
7.1
AleksandrKorshun

Hi, there, I am an expert in C/Java/python. I have a lot of experiences in many projects. We can discuss for your projects detail more. Best regards,

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(7 Commentaires)
3.5
iamhamzazaki

Hello, I'm a former CP (competitive programming) competitor, I'm a master at algorithms and algorithms and could help you solve your problem quickly with clean, optimized and well-commented code.

%bids___i_sum_sub_32% %project_currencyDetails_sign_sub_33% USD en 1 jour
(5 Commentaires)
3.5
(2 Commentaires)
2.6
pacchimaster7

i have two year experience in c and c++ and java, i worked on various projects in development i think i am the right person for this job thanks

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 7 jours
(0 Commentaires)
0.0