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

Click For Summary
SUMMARY

Programming skills, particularly in C and C++, are essential for physics majors, especially in experimental physics. While many programs only require an introductory programming course, a solid understanding of programming can significantly enhance data analysis and experimental work. Students are encouraged to self-learn C and C++ to prepare for their studies, as these languages are commonly used in physics applications. Familiarity with additional languages like Fortran, Visual Basic, or MATLAB can also be beneficial.

PREREQUISITES
  • Basic understanding of programming concepts
  • Familiarity with C and C++ programming languages
  • Knowledge of data analysis techniques
  • Strong mathematical background
NEXT STEPS
  • Learn C programming for data acquisition and analysis in experimental physics
  • Explore C++ for advanced programming techniques
  • Study MATLAB for its applications in physics simulations
  • Investigate Fortran for legacy code and scientific computing
USEFUL FOR

Grade 11 students aspiring to study physics, undergraduate physics majors, and anyone interested in enhancing their programming skills for applications in experimental physics.

Qwark
Messages
6
Reaction score
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
If you can start teaching yourself C or C++ that would be pretty helpful.
 
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.
 
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.
 
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.
 
All right, I appreciate all your help and suggestions, thanks a bunch.
 
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.
 
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.
 
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.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 1 ·
Replies
1
Views
667
  • · Replies 4 ·
Replies
4
Views
762
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
910
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
12
Views
3K