Quantcast

A community for students. Sign up today!

Here's the question you clicked on:

55 members online
  • 0 replying
  • 0 viewing

frankharvey88

  • one year ago

I don't exactly know the best way to ask this, but what am I doing wrong if, after 3-4 attempts to solve problem set 4, problem 4, I have made literally no headway of any kind? I've never been this stumped before.

  • This Question is Open
  1. bwCA
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    have you put print statements in your code to print : - variable values - calculation results - test results ? that should give you an idea if the code is actually doing what you think it should. if you think you are completely off track, perhaps scrap what you have and start again by writing down in words the steps you think need to be taken to solve the problem. then turn that into code - constantly referring to it and updating/revising it as you debug. which course? OCW 2008? 2011? eDX?

  2. rsmith6559
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    IMO, one of the most important skills for programming is decomposing ( breaking down ) problems into smaller problems. Another very important skill is to keep decomposing problems until they get so small and simple that a few lines of code takes care of it. That's when you should start coding. I really should follow my own advice. It would save me a lot of headaches.

  3. mwas
    • one year ago
    Best Response
    You've already chosen the best response.
    Medals 0

    why cant you post ur wrong codes so that we can tell you where u went wrong

  4. Not the answer you are looking for?
    Search for more explanations.

    • Attachments:

Ask your own question

Ask a Question
Find more explanations on OpenStudy

Your question is ready. Sign up for free to start getting answers.

spraguer (Moderator)
5 → View Detailed Profile

is replying to Can someone tell me what button the professor is hitting...

23

  • Teamwork 19 Teammate
  • Problem Solving 19 Hero
  • You have blocked this person.
  • ✔ You're a fan Checking fan status...

Thanks for being so helpful in mathematics. If you are getting quality help, make sure you spread the word about OpenStudy.

This is the testimonial you wrote.
You haven't written a testimonial for Owlfred.