Comparing reserved storage

A dynamic array contains 36 live measurement records. Each allocated slot occupies 16 bytes, including unused slots. An engineer compares three possible reserved capacities without changing the number of live records. Ignore storage outside the record buffer.


For each capacity, calculate the unused slots, the percentage of allocated buffer storage that is unused, and the total allocated buffer storage in bytes. Enter exact integers or terminating decimals, without units or percentage signs.

Capacity (slots)Unused slotsUnused storage (%)Allocated storage (bytes)
48
64
96

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 Dynamic Arrays Questions: