Take as much math as possible. A computer science degree requires 22 hours of math, starting with calculus. If at all possible, take a calculus course in high school. Take any computer science courses that emphasize structured programming in high-level languages, or take the Advanced Placement course, if available. Take physics and chemistry. Do well in English. As a student in computer science, you will be required to have the equivalent of 6 credit hours of freshman writing courses, 6 hours of Writing Intensive courses, and a public speaking course.