In the working world, a degree in computer science is linked to enviable paychecks.

PayScale, which analyzes salary data, ranked 129 college majors based on earning potential. Engineering, math, science and technology fields dominated the highest rankings in the College Salary Report, which provides the median starting pay and median mid-career pay for the alumni of more than 1,000 schools.