PTE · Reading · hard
There are some words missing in the following text. Select the most appropriate option for each blank.
Early computing environments required programmers to allocate and reclaim system memory manually, a tedious paradigm that regularly caused memory leaks and dangling pointer errors. To ____ these vulnerabilities, automated memory management emerged, driven by the invention of mark-and-sweep garbage collection. This technique worked by periodically pausing program execution to traverse the graph of live object references and reclaim unreferenced memory blocks. ____ conceptually elegant, initial implementations suffered from catastrophic stop-the-world latency spikes, making them unviable for real-time systems. Over subsequent decades, computer scientists developed generational garbage collection, predicated on the empirical ____ that most allocated objects possess extraordinarily brief lifespans. By partitioning the memory heap into young and old generations, collectors could inspect volatile objects frequently while scanning durable data far less ____. Later innovations integrated concurrent and incremental collection algorithms, allowing garbage collection threads to run interleaved with application threads. This technical progression gradually ____ severe execution pauses, thereby establishing automated memory reclamation as an indispensable ____ of contemporary high-level programming languages.