The answer is: situated learning and cognition.
Situated learning and cognition refers to the process of acquiring new knowledge by doing a meaningful real activities and acquire the knowledge directly by utilizing our senses.
In the scenario above, Leyla's biology score is higher because she implemented more activities into her learning process, making it easier for her to remember the material taught in her biology class. Since she relied only on reading for her other subjects, she is not doing as well as biology on those subjects.