Why does retrieval practice help students of all levels in year 10 in preparation for their GCSE computer science?

This is my question –
“Why does retrieval practice help students of all levels in year 10 in preparation for their GCSE computer science?”
Check details in document
Assignment 1 Guidance
Why does retrieval practice help students of all levels in year 10 in preparation for their GCSE computer science?