Is my instructor covering enough of c++?

  • Context: C/C++ 
  • Thread starter Thread starter proton
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around the adequacy of a C++ programming course at a community college, particularly in relation to its relevance for upper-division physics and math courses. Participants explore the effectiveness of the course structure, the necessity of programming skills in future studies, and the relationship between learning programming languages and their applications in computational tools.

Discussion Character

  • Debate/contested
  • Conceptual clarification
  • Exploratory

Main Points Raised

  • One participant expresses concern that the instructor omits material from the textbook and questions whether the topics covered are sufficient for future coursework.
  • Another participant shares their experience of not using programming skills in their physics/math degree, suggesting that the relevance of programming depends on future academic paths.
  • A traditional viewpoint is presented that emphasizes self-study of syntax while focusing class time on concepts and semantics.
  • Discussion includes the idea that computational classes may rely on specific software packages, which may not require in-depth programming knowledge.
  • One participant argues that understanding programming semantics is more important than memorizing syntax, providing examples of loop constructs in different programming languages.
  • A question is raised about the necessity of learning C++ to effectively learn other programming languages like Mathematica.

Areas of Agreement / Disagreement

Participants express differing views on the necessity and application of programming skills in their future studies, with no consensus on whether the current course adequately prepares students for upper-division coursework.

Contextual Notes

Some participants note the variability in how programming skills are utilized in different academic programs, highlighting that the relevance of C++ may depend on specific courses and institutional requirements.

proton
Messages
349
Reaction score
0
The textbook used in my C++ community college class is "Teach Yourself C++ in 21 Days", and my instructor doesn't really follow the book. Like when we're supposed to cover a certain chapter, he will often omit a lot of the material in that chapter but include material from a chapter way ahead. This is my first programming course so I spend about 6 hours/wk doing homework and studying. Am I getting enough out of this course that I need for my upper-div physics and math courses? The topics covered are:
variables and constants
expressions and statements
functions and basic classes
more program flow
pointers
data pointers and function pointers
references
advanced functions and overloading
inheritance
arrays and strings
polymorphism
 
Technology news on Phys.org
I was required to take a programming class at Community college and ransferred to a double physics/math bachelors. In the three years, I never once had to use that programming. So I guess it depends where you plan to transfer and what classes you plan to take later.
 
The traditional view is that you teach yourself the syntax outside of class, and the instructor spends time discussing concepts and semantics. It's typical.
 
daveb said:
I was required to take a programming class at Community college and ransferred to a double physics/math bachelors. In the three years, I never once had to use that programming. So I guess it depends where you plan to transfer and what classes you plan to take later.

I'm transferring to UCLA like you. Really, you never once used C++?
 
Nope. Whenever some class wanted something computational ( I took Math 151 which was numerical analysis), they usually had a specific software package in mind like mathematica.
 
so software package like mathematica don't require any computer programming experience?
 
so software package like mathematica don't require any computer programming experience?

Mathematica is a computer programming language!

There are two ways to learn computer programming:

1) Study a language like C++ in depth. This means that you memorize all the syntax of the language. In C++ you think of a for loop as:

for ( start ; test; increment) {body}

2) Another way to learn programming is to concentrate on semantics. In this case you learn what a loop is, and you learn the design issues of loops: what type can the loop counter be, what is the scope of the loop variable, is the test executed once or each time, etc. Every language handles these design issues differently, that's why there are so many languages. The design issues are language dependent, while the loop construct is language independent. Here is some code to do the same thing in three languages:

C++

Code:
for( i = 0; i < 10, i++)

  {
    
     printf(i);

   }
Mathematica

Code:
For[ i = 0, i < 10, i++,

         Print[i];
     ]

Ada
Code:
FOR i IN 0..9 LOOP

    PUT(i);

END LOOP;

All these example have different syntax for the same semantics. I strongly suggest having programming experience, but don't worry about learning the syntax of a particular language in depth until you are further on.
 
so I guess I have to learn C++ to learn mathematica and other languages well?
 

Similar threads

Replies
5
Views
9K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 26 ·
Replies
26
Views
6K
  • · Replies 13 ·
Replies
13
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 16 ·
Replies
16
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K