Skip to content

English practice

Listening: Multiple Choice, Multiple Answers · Question 151

Mark-and-sweep garbage collection mechanism

PTE · Listening · medium

Listen to the recording and answer the question by selecting all the correct responses. You will need to select more than one response.

According to the speaker, how does the mark-and-sweep algorithm manage computer memory?

  • It depends on software engineers to manually assign deletion flags to unused data objects.
  • It preserves objects that contain circular references even when disconnected from root sources.
  • It identifies living objects by traversing pointer pathways beginning at active root references.
  • It shifts surviving memory items together during the sweep phase to prevent physical fragmentation.
  • It temporarily halts regular program operations to carry out its assessment and reclamation process.