Advice on MATH 210 and CPSC 110

Any advice on how to ace MATH 210 and CPSC 110. I barely touched programming.