There are three recommended ways to efficiently receive the assistance you need. Here they are, in order of efficiency:
- In-person help
- Ed Discussion
First, before seeking help, be thorough
If you are facing compilation errors and cannot get your program to build & run, you need to spend
some time deciphering the error message(s) you are receiving. This is a critical programming skill. Here are some tips:
- Check for common issues: proper
{}
(braces),;
(semicolons), and other common syntax errors. - Identify the filename and line number where the error is located (this is always a part of the error message).
- Read the error message. This cannot be stressed enough, you may not understand (yet) what it means, but look for identifiers in the error message that match, or match closely, to identifiers in your code --- this can be a BIG step in understanding why the compiler is uncooperative.
- Try commenting out the offending section of code and see if the error message changes or disappears. If it does, then slowly add back what had been commented away till you have identified the offending element of code.
Look for your problem on Ed Discussion
Chances are likely that a fellow student has encountered the same problem that you are facing. Take a look at the messages
posted on Ed Discussion to see if someone else has contributed a solution.
Post your problem on Ed Discussion
If you don't see an existing message on Ed Discussion that is relevant to your problem, then you should create a new post.
Do not post your entire program on Ed Discussion, unless instructed otherwise. You should only post portions
of code that you are suspicious about.
Here is the policy for help on assignments, labs, and projects.
- Never, ever, post an entire code listing on Ed Discussion unless otherwise instructed.
- Never, ever, copy code that is posted on Ed Discussion and paste such code into your own project, unless otherwise instructed.
- Always, always, always include a small portion of your code that you are suspicious about. Not including the bit of code is like ordering pizza by saying, "Hi, I'd like some food, please." (Uh, what food? What size pizza? What toppings? And do you want extra napkins?).
- Be specific. A post merely stating "something is wrong with my code, can you please take a look" is not likely to elicit an effective response. What do you think is wrong? Give your instructor a hint.
Come to office hours
Take advantage of the instructor's office hours when you can.
Email your Instructor
Although it takes only a minute to send an email, it may take a long time to receive a response. You are NOT likely to get an
immediate response from your instructor, so this shouldn't be your first attack against any error message. Instructors will answer
questions and provide assistance to students via email. However, there are limits to the assistance that is easily provided via email.
- Do not be offended if your instructor advises you to ask on Ed Discussion (you should have, before sending an email) or to come to office hours. This is always for your benefit. In-person assistance is far more efficient and educational than email.
You may have a hard time formulating a plan or algorithm for an assignment. Or, you may have formulated a plan but are unsure
if it will be sufficient. In these cases your instructor can certainly provide guidance via email efficiently. However, starting your homework
early and asking questions early is critical to solving these sorts of creative problems.