maggie easily obtained her high school diploma , and with the aid of a three-year scholarship she had won in a computer software competition in 1990 , she entered ucla as a freshman majoring in electrical engineering .