You are on page 1of 2

PLATFORM TECHNOLOGY | 05 ACTIVITY 1

Austria Rodney Charles O

Instructions: Analyze the illustrate and answer the corresponding questions for each. Use 3-5 sentences
in answering.

1. Which partitioning setup could possibly reduce internal fragmentation and how?

The use of partitions that are dynamically created and sized to exactly fit each process can
reduce internal fragmentation and make more efficient use of main memory. Additionally, the
main operating system reserves the first partition and may use some of its space to divide into
smaller sections. Each partition will have the same size as the process it contains.

2. Based on the two partitioning setups above, would you recommend the implementation of
the fixed partitioning technique in developing automated machines? Why or why not?

Fixed partitioning is a good choice for automated machines because it is easy to implement and
can help detect errors. It also reduces the risk of data loss due to power outages or software
failures and can increase the chances of data recovery in critical situations.

3. In your perspective, what are the possible downside of utilizing an equally sized memory
partitions? Rationalize your answer.

When a program is too large to fit in a single partition, it may need to be designed using overlays
to allow it to run. However, this can lead to inefficient and unreliable use of main memory. Each
partition can only accommodate one process at a time, which limits the degree of
multiprogramming that can be achieved. Additionally, the maximum size of a process is limited
by the size of the partition, so large processes may not be able to fit. Internal fragmentation
occurs when the block of data loaded into a partition is smaller than the partition itself, resulting
in wasted space.

4. What do you think is the possible reason why Process 2 was pulled/swapped out (e) of the
memory?

Process 2 may have been temporarily suspended due to the time-sharing mode of CPU
execution. If the memory is full and a high priority task needs to use the CPU, process 2 may be
removed and replaced by process 4, causing it to be suspended.
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.

After saving the updates for process 1's memory block on the hard disk, the context of process 1 is
cleared and the memory is marked as free. The context of process 2 is then loaded, and memory is
assigned to it. If process 2 finishes its burst before the time quantum timer expires, it will be swapped
out of the CPU using the normal first-come, first-served (FCFS) algorithm. If the timer goes off first, the
process will be swapped out of the CPU and moved to the end of the ready queue.

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?

If there are only two options for partitioning schemes, I would recommend dynamic partitioning.
However, if a more advanced memory management technique can be implemented, dynamic
memory management may not be necessary because files can be loaded from the hard disk.

You might also like