A study involving 48 adolescents, of whom 19 had been diagnosed with substance abuse/dependence, and 14 had a family history of substance abuse but no history of personal use, has found that greater alcohol use was associated with a significant decrease in attention and executive function (which is involved in planning and decision-making), while greater marijuana use was associated with poorer memory. Adolescents in the substance abuse group had lower scores in attention, memory, and processing speed, compared to the other groups, while those with a family history of abuse (but no personal history) had poorer visuospatial ability.
Reference:
[1962]
(2010). Adolescent Substance Abuse: The Effects of Alcohol and Marijuana on Neuropsychological Performance.
Alcoholism: Clinical and Experimental Research. no-no - no-no.