Presentation on theme: "1a. Outline how the main memory of a computer can be partitioned b. What are the benefits of partitioning the main memory? It allows more than 1 program."— Presentation transcript:
1a. Outline how the main memory of a computer can be partitioned b. What are the benefits of partitioning the main memory? It allows more than 1 program to be i memory at a time. This enables multi programming It ensures that the memory is fully used – not left with large empty spaces a) Partitioning The main memory is split into separate partitions Each partition can hold a separate program Partition 1 Partition 3 Partition 2 Partition 4 E.G Partition 1 = Payroll Partition 2 = Stock Control Partition 3 = Accounts Partition 4 = Invoicing
c. What facts must be taken into consideration when using partitioning? each task has enough memory to be executed. one task does not need an area of memory allocated to another task. If one task interferes with another it could crash the computer. the area of memory is released when the task is completed so that it can be allocated to another task.
2a. What is a buffer? A buffer is an area of memory set aside for storing temporary data. Buffers are widely used for input and output data. Buffers are most often used to overcome the problem of different speeds of peripherals and processors - processors operate thousands of times faster than disk drives/ printers.
b. Outline how double buffering would work b) As one buffer is emptied the other is filled This means that there is a continuous flow of data Computer Buffer 1 Buffer 2 Printer Filling Emptying Computer Buffer 1 Buffer 2 Printer Filling Emptying
Your consent to our cookies if you continue to use this website.