What about you?Is Programming a Necessary Skill for Physics Majors?

In summary: However, I think that if you have a strong math background, you will be able to pick up programming relatively easily. I would recommend starting with a language like C or C++ and then learning more as you go.
  • #1
Qwark
6
0
Hi, I'm a Grade 11 student in Canada who wants to go on to study Physics in university. I was just wondering, because I realized I know nothing about programming, is it assumed that I should have any sort of background? If so, what would be useful things to teach myself?
 
Physics news on Phys.org
  • #2
If you can start teaching yourself C or C++ that would be pretty helpful.
 
  • #3
Qwark said:
Hi, I'm a Grade 11 student in Canada who wants to go on to study Physics in university. I was just wondering, because I realized I know nothing about programming, is it assumed that I should have any sort of background? If so, what would be useful things to teach myself?

First of all you can relax. I came to college knowing nothing about computer programming, and I did well in the undergraduate physics program. So your lack of programming experience is by no means a hinderance.

To answer your question, the more programming you know, the better. But based on my experiences about the only thing you absolutely need to know is C. But they will likely teach this to you in your physics classes. I learned C in my junior year course on experimental physics. It's very helpful, since you can write programs that will acquire data from experimental apparatuses, which facilitates easier data analysis.

If you want to teach yourself some programming, then Corneo's advice is the best. Start by learning C and C++. And if you have any time after that, it wouldn't hurt to pick up more languages.
 
  • #4
I'm not a physics major but the physics major only requires you to take intro to programming which is a joke so I don't think you should be worrying about programming skills, if anything make sure you have a strong math background.
 
  • #5
mr_coffee said:
I'm not a physics major but the physics major only requires you to take intro to programming which is a joke so I don't think you should be worrying about programming skills, if anything make sure you have a strong math background.

Well, we need to know some programming. The skill is necessary to us, since programming is absolutely essential in experimental physics. But a good deal of what we do can be accomplished using C, and nominal familiarity with GUIs. Your reference to introductory programming as a joke suggests to me that you are very well versed in programming (are you a CSci major, by any chance?). In any case, you're absolutely right to point out that there is a lot to know about programming, and what undergraduate physics majors are taught barely scratches the surface. Indeed we don't learn nearly as much programming as an engineering or CSci student. But knowledge of the basics is essential nonetheless.
 
  • #6
All right, I appreciate all your help and suggestions, thanks a bunch.
 
  • #7
arunma yes I am a Computer Science and Engineering major. I have a few friends who are physics majors and they are in the Jr. year so far, but havn't had any courses that made them do any programming other than in mathlab, but I do see why it would be important for physics majors, I just don't know why they don't teach you more programming as a requirement.
 
  • #8
Knowledge of Fortran, C/C++, Visual Basic or MatLab would be helpful for an undergraduate degree in physics. I got my BS in 1988 and had zero programming skills but learned them during grad school and have done OK.
 
  • #9
mr_coffee said:
arunma yes I am a Computer Science and Engineering major. I have a few friends who are physics majors and they are in the Jr. year so far, but havn't had any courses that made them do any programming other than in mathlab, but I do see why it would be important for physics majors, I just don't know why they don't teach you more programming as a requirement.

To be honest, I wish I had taken some programming courses as an undergraduate. I actually had to take a programming class for my second major in math, but ironically I got out of it by demonstrating to my advisor that I had picked up C in my experimental physics class.
 

1. What are the necessary programming languages to learn?

The necessary programming languages to learn may vary depending on your specific field and career goals. However, some commonly used languages include Python, Java, C++, and JavaScript.

2. How important is problem-solving in programming?

Problem-solving is a crucial skill in programming, as it involves breaking down complex problems into smaller and more manageable tasks. It also helps in identifying and fixing errors in code.

3. What is the role of logic in programming?

Logic is essential in programming, as it involves the ability to think logically and systematically to solve problems. It also helps in creating efficient and effective code.

4. Do I need to have a strong math background to learn programming?

While having a strong math background can be helpful, it is not a requirement for learning programming. Many programming concepts can be learned and applied without extensive math knowledge.

5. How can I improve my programming skills?

Improving programming skills requires continuous practice and learning. It can be helpful to work on personal projects, participate in coding challenges, and seek out additional learning resources such as online courses and tutorials.

Similar threads

  • STEM Academic Advising
Replies
8
Views
1K
  • STEM Academic Advising
2
Replies
53
Views
4K
  • STEM Academic Advising
Replies
9
Views
1K
  • STEM Academic Advising
Replies
6
Views
1K
  • STEM Academic Advising
Replies
6
Views
781
  • STEM Academic Advising
Replies
3
Views
967
  • STEM Academic Advising
2
Replies
50
Views
4K
Replies
6
Views
844
Replies
6
Views
890
  • STEM Academic Advising
Replies
3
Views
963
Back
Top