How to solve problems in Java, are certain people not good at problems?
-
Im learning Java and when i have to do a exercise, i struggle with implementing what they are telling me to do, how to get better at solving problems and how to focus without trying to rush.. please help
-
Answer:
Hi there, It seems your problem is designing an algorithim for your code: Its best to sit down first and do an analysis and algorithim of the program you want to code and ask yourself "what exactly do i need to do?" This is a step that most programmers skip, including myself, but sometimes i regret it when i find myself having completely gone wrong after an hour of coding. The best method is really to write out steps in english of what you want to do, and how you want your program to do it before ever looking at a computer screen. If that method doesnt work for you there is quite a bit of online help to help with how to design algorithims for our code, just search online for e-books that help with algorithims design. Hope that helps, Matt
Yahoo! Answers Visit the source
Other answers
In addition to the above suggestions, when writing the code don't write all of it at once and then see if it works, write as little as possible to make it work and see if it runs. It's much easier to figure out why your program is not working after you've added a single line of code, than it is to figure out after adding 100.
Writing code follows a pattern, which is: collect your inputs, run them through a formula, and produce your outputs. Try thinking of the problem in those terms. First identify what you need, then determine what you will do with that information to produce the output.
Right-brained people are great at art, but terrible at logic. Left-brained people see problems as algorithms to solve them, but can't draw a straight line. If you're right-brained, it's like trying to learn to be taller - you can't learn to be left-brained. (That was determined when you were conceived, like your height.) Go with what you're good at - trying to get good at being what you're not doesn't work.
Related Q & A:
- How To Solve Problems Creatively?Best solution by Quora
- How to solve problems with editing Yahoo toolbar?Best solution by Yahoo! Answers
- Why allergies affect certain people?Best solution by health.howstuffworks.com
- Is it possible to set up a wireless printer so that only certain people can use it?Best solution by Yahoo! Answers
- Why won't my webcam work with certain people on MSN?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.