What Math Should I Learn for Programming?

August 27, 2025 2 answers
Asked by SunnyButterfly92
I'm about to start university, and I want to get a head start on computer science. Specifically, I'm curious about what math topics I should focus on and how to study them by myself. Also, can anyone suggest where I might find practice questions? Should I be looking at textbooks?

Answers

LogicWizard77
Don't forget to study Logic! Discrete Mathematics is really valuable, but I find that Logic is much closer to programming than you might expect. It's definitely worth your time!

CuriousCoder56: Do you have any recommended resources for studying Logic?

Reply to this answer
MathNinja89
Khan Academy is a great resource to start with! It covers a lot of the math topics you'll need for programming. If you're someone who prefers working through problems on paper, textbooks could also work, but just make sure they align with the topics you're interested in.
Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions