Professional Documents
Culture Documents
05 Act
05 Act
05 Act
BE301P
Instructions: Analyze the illustrations and answer the corresponding questions for
each. Use 3-5 sentences in answering.
1. Which partitioning setup could possibly reduce internal fragmentation and how?
2. Based on the two partitioning setup above, would you recommend the
implementation of the fixed partitioning technique in developing automated
machines? Why or why not?
3. In your perspective, what are the possible downside of utilizing an equally sized
memory partitions? Rationalize your answer.
Overlays must be used in the design of a program if it is too large to fit inside a
partition. Additionally, there is wasteful use of the main memory. Every program, no
matter how big, takes up a whole partition. Since the loaded data block was less than
the partition, internal fragmentation resulted in space being wasted. The degree of
multi programming is now limited by the number of partitions because each partition
can only hold one process at a time. Additionally, because each partition has a
maximum size, big processes cannot be handled.
4. What do you think is the possible reason why Process 2 was pulled/swapped out (e)
of the memory?
Because memory is full and the CPU is required for certain high-priority
activities, process 2 is removed and replaced by process 4. It is halted as a result.
It's possible that Process 2 finished running and didn't require the CPU time
anymore. However, option (h) has it again, hence this option cannot be true.
Process 2 has been placed on temporary hold due to the CPU's time-sharing
method of execution.
5.When Process 1 finishes the execution (g) and Process 2 is swapped back in the
memory (h), what possible condition or phenomenon can occur within the memory?
Rationalize your answer.
During the clearing of Process a 1 context and the marking of memory as free, all
changes for the memory block of Process 1 have been stored to the hard drive.
Process 2 then loads its context and receives memory allocation. Similar to how the
standard FCFS method works, the process is switched out of the CPU if its burst is
completed before the time quantum timer expires. The process is switched out of the
CPU and placed at the back of the ready queue if the timer expires before it does.
6. If you are to develop a file management system, would you suggest the
implementation of the dynamic partitioning technique in memory management? Why
or why not?