• anonymous
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.
MIT 6.00 Intro Computer Science (OCW)
  • Stacey Warren - Expert
Hey! We 've verified this expert answer for you, click below to unlock the details :)
At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
  • katieb
I got my questions answered at in under 10 minutes. Go to now for free help!
  • anonymous
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?
  • rsmith6559
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.
  • anonymous
why cant you post ur wrong codes so that we can tell you where u went wrong

Looking for something else?

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