r/learnpython • • Jun 09 '24

Am I cooked? And is computer science the same as programming?

I will graduate high school next year and I want to major in programming but I dont know shit about it and not that good in math

And whats the difference between cybersecurity - programming - and computer science

0 Upvotes

13 comments sorted by

21

u/czar_el Jun 09 '24

Short answer:

Programming is writing computer code. It can be as simple as a linear script that runs some instructions with no user interactivity to a full fledged interactive application with a user interface. Programming is an activity. It is the what of code.

Computer science teaches programming, but also math, algorithms, data structures, systems, and machine-level technology or operating systems. Computer science is a degree and a field. It is the why and the how of code and what code runs on/interacts with.

Cybersecurity is a specific subdomain, one of many subdomains. It is focused on exploitable vulnerabilities in computer code, systems, and people that allow bad actors to do illegal or unethical things.

31

u/BIGhau5 Jun 09 '24

Well good thing you go to college to learn what you do not know.

You will be fine, if they wanted you to have prior knowledge on a subject would make that an entry requirment.

10

u/KingsmanVince Google YOUR questions and errors first Jun 09 '24

7

u/SnooCakes3068 Jun 09 '24

You will have trouble only if you are not good at math AND not willing to learn.
Computer science is basically a subfield of mathematics. Purest CS is very much a pure math subject. Extremely theoretical, study algorithms and computability. There are application side of CS, but they are also very math heavy.

Programming is different. It's a technical skill not a scientific subject. In uni setting programming serve as a tool for scientific inquiry. Not the goal.

6

u/otteydw Jun 09 '24

Why do you want to major in programming if you know absolutely nothing about it? Or do you know more than you're saying? What interests you in programming that you think you want it to be your major?

With one year of high school left, I'd encourage you to learn at least some basics in programming and see if you even like it. You can easily participate in CS50 or CS50P on YouTube. Make it a goal to complete that over the summer so you can know before your senior year if programming is a good fit.

5

u/Kittensandpuppies14 Jun 09 '24

Why? How can you know if you know nothing about it

4

u/suddenly_ponies Jun 09 '24

This really isn't the sub for this, but I remember having to choose between computer science and a more focused CS degree (networking or software engineering or something). CS is the "everything" degree - where you have broad experience and 1) learn all the things - good for figuring out specifically what you want to specialize in or 2) for people don't want to specialize at all - people who want to be computer generalists.

I chose the latter and I can't consider myself an expert in anything, but it was a good foundation for everything I did.

2

u/nog642 Jun 09 '24

I would highly recommend learning to code before deciding to major in computer sceince. You have around 6 months before college apps so you should get to it.

Not only is school not the best way to learn to code (since they move kind of fast and don't explain things that well, and you would be at a huge advantage by already knowing to code), but you also get to find out beforehand if you hate it, in which case you should not major in it.

Computer science is the academic field of study relating to the stuff you can make computers do. Programming is the act of writing programs (software). Cybersecurity is the study of ways to attack and defend computer systems.

Computer science is usually a major. Cybersecurity might be a concentration in that, but maybe not. Cybersecurity as a major is pretty rare to exist. There will not be a "programming" major, but you might find "software development" as a concentration sometimes, or very rarely a major, like cybersecurity.

2

u/LinksLibertyCap Jun 09 '24

You are in high school, take a breather.

3

u/nog642 Jun 09 '24

They have to apply to college in 6 months; they should definitely be thinking about what they want to major in.

1

u/crashfrog02 Jun 09 '24

Computer science is the mathematical study of what is computable. If you don’t like math, you won’t succeed in it.

“Programming” isn’t a major anywhere. If you like cybersecurity then you might thrive with a cert in cybersecurity from an accredited tech school.

1

u/F4RM3RR Jun 10 '24

Programming does the math for you, and just like high school the teachers teach - usually better than high school though.

Programming and CS CAN be different, but for the most part programmers study CS in undergrad

1

u/XRuecian Jun 10 '24 edited Jun 10 '24

Programming, itself, is not actually all that complicated to learn. It's the problem-solving nature of it that can take a while to get experienced at. Which isn't really about coding at all, and its more about your ability to come up with complex solutions to get the outcome you desire.
Programming is simply writing code to produce a result.

Computer Science is more of the "overarching" field that encompasses everything about computers, including programming. Computer Sciences is literally learning "how computers work" at a very fundamental base level. As in, what is (literally) going on inside the computer and how to manipulate it.

I suggest you take a look at Harvard's CS50 course video on Youtube. Try watching like an hour of it, or more if you are inclined. Harvard posts their ENTIRE annual college lectures on Computer Science on Youtube, so you can literally get an idea of what its about just by watching it. Its the same as sitting in the class. This can at least give you an idea of what to expect if you get into Computer Sciences and Programming.

If you are really interested, you could use this course alone to teach yourself all of the fundamentals and even basic programming skills. Its a 26 hour video, split up into eleven 2-hour lectures. This is the "BEGINNING" course for Computer Sciences, and it starts out at the most simplest level and teaches you step by step the fundamentals of Computer Science.

https://www.youtube.com/watch?v=LfaMVlDaQ24