Is discrete math heavily integrated into computer science?
It's a prerequisite to computer science.
Part of the reason is that it helps familiarize students with doing proofs.
proofs?
Yes, such as the proof that an even number squared is even.
oh okay
So that proofs are needed when coding and stuff?
Induction proofs are especially important.
what is an induction proof?
They aren't needed when coding, they are needed when designing algorithms.
An induction proof is where you have some proposition \(p(k)\) that relies on a natural number variable \(k\). First you prove that \(p(0)\) is true (this is called the base case), then you prove that \(p(k+1)\) is true if we can assume \(p(k)\) is true (this is called the inductive hypothesis).
Computer science isn't just about writing code. It's more about analyzing algorithms and problems you want the computer to solve.
I guess that makes sense
Are there some special symbols that mean different things in discrete math? like an and/or symbol or something... because wouldn't you need those to build algorithms?
Sorry if I sound kinda oblivious to everything, I haven't really taken it yet :p
In discreet math you'll learn Boolean algebra, first order logic, set theory, and combinatorics which all contain their own set of notation symbols.
But all notation systems exist to make it easier to explain something in a brief, non-ambiguous way.
But they just make things more confusing don't they? :p
They make proofs easier.
Alright I guess I'll see when I take it haha
Thanks <3
Are you worried that theoretical math is going to make it harder for you to get through computer science?
yeah
It's just really confusing, and learning all of this in such a short amount of time is kinda stressful :/
I'm kinda new to all the programming stuff
The reality is that with most coding jobs you won't need to know it, so it's just a matter of passing the courses.
But typically people who like to code also find the theoretical math somewhat interesting.
Do you have any tips when trying to learn programming? My bum gets sore trying to figure some of this stuff out
:p
I practiced a lot in my own free time, so I was pretty good at coding by the time I got to college.
We're doing python atm
okay got it, spend free time coding
One way to get practice, if you don't have coding projects you want to work on yourself, is to do problems on Project Euler: https://projecteuler.net/problems
Is this all python?
These are problems that can be done with any general programming language, and that include python.
Oh
Okay thanks for the help wio.. you're awesome <3
If you have specific coding questions, you can ask them in computer science, and mention me or e.mccormick
okay :D
*Highfive!*
Join our real-time social learning platform and learn together with your friends!