Allocating whole memory pages

An operating system divides a program's address space into fixed-size pages. Each page currently in physical memory occupies one same-size frame. The page size is 4 KiB.


For this exercise, each program's required memory starts at a page boundary, all its pages remain in physical memory, programs share no frames, and allocation metadata uses no space. A partly filled final page still occupies a whole frame.


Complete the table with the number of pages allocated and the unused memory within those allocated pages. Enter exact integers; unused memory is measured in KiB.

ProgramRequired memory (KiB)Pages allocatedUnused allocated memory (KiB)
Sensor logger10
Plot viewer16
Report builder21

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Operating Systems Questions: