Both. Most definitely both. Trig and computer programming were the classes.
I remember once telling my computer programming teacher that he needed to retire and join the ranks of DOS, Commodor 64, and cell phones with battery packs the size of a Ghostbuster's proton pack.