Cognitive function

How cognitive function is altered from depression in early adolescence? Compare and contrast how depression alters cognition in adolescence versus earlier in childhood.