Question Should i quit pursuing Computer Science

Aug 25, 2019
Hi , my name is Mark , i am 16 years old and currently on second year of highschool ( out of 3 )
You see i wanna study Computer Science and become a software engineer and it is a no brainer that you need to have good math skills and maybe some physics knowledge as well ,
Anyways i was sure about that path for a long time and i even did a career path test , legit none of the internet ones ofc and it got me a 90% match with CS

The thing is that sometimes in some tests or exams i will either do excellent or really really bad

Like today we had exams on Math which were on a topic different than algebra(saying this to point out that i am better in algebra than the kind of math we did but i actually went pretty bad on my algebra exams as well 2 weeks before even though i am one of the top students in algebra) , and i wrote less than 50% which is really bad but in my class or in private lessons i will always do really good . I cant really explain it but to sum it up i am always really good at class , i always do the hw correctly but at exams i tend to do horribly and that goes for Math , Algebra , Physics and Chemistry

i can solve as homework many difficult or challenging problems but on tests or exams even though my friends who are like me find it easy and do well i will do horribly and they will mock me calling me braindead or a <<edited by moderator>>( as a joke ofc )

It has been done so many times that i actually think i must be stupid to not be able to do well like them and all the other kids that want a path completly different than mine with nothing to do with math and still they do better than me and i am starting to think that even though i understand math , algebra , physics and chemistry and i love solving problems and i really like to code , cs maybe is not for me.To this point my whole confidence has been torn apart by my consistent bad grades and my friends mocking me .I really have nowhere else to turn to for advice so please help me
Jan 21, 2019
Well, I'm no computer science expert, but I've heard time and time again that math is not super important for CS (though it depends on what exactly you're interested in, data science needs more math). CS is a very broad topic, if you're certain that that is what you want to do then pursue it by all means, but try to narrow it down to what exactly interests you about it. AI, big data, machine learning, algorithms, computer vision, AR/VR... It's true that it's all related in some way, but I doubt that everyone becomes a jack-of-all-trades. Some people just stick to web/software development because that's what they enjoy doing, but those things barely need any math.
So my advice would be to try more things out or read more about specific topics to see what is it that really interests you because right now you're focusing too much on school grades. They won't matter that much once you've graduated and got into college.