what must i do to understnd programming
Start with something relaxed. There are introductions, O'Reilly's Head's Up series are often well rated by people starting out. Books and sites aimed at teaching programming to kids can be a good place to begin if you're self-teaching, it just makes jumping in a bit less of a baptism of fire. My advice is not to learn a 'teaching language', just learn a real language, but it's probably best to start with something considered 'high level'. You can always learn HTML and CSS. Though not strictly programming languages, they are a way to get into writing code and you can use Javascript to program your pages. There's a bunch of ways to go. What would you like to achieve? If you know where you'd like to end up, it'd be easier to know what might help you get there.
You might want to view this course http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/ it's a decent course on how to learn basic programming.
I've done both MIT6.00 and Stanford's Programming Methodology and I'd recommend Programming Methodology. http://see.stanford.edu/see/courseinfo.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111
I agree with lando. Try the "How to think like a Computer Scientist" in the reading list <http://ocw.\mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-\to-computer-science-and-programming-fall-2008/readings/> For an adult learner, the text is very promsing.
I reviewed stanford's program long ago. Personally, I think the mit course is much better teaching programming rather than Stanford's program which I think is too language oriented, rather than basic programming fundamentals. If you want to learn Java then Stanford's program is fine; however, for programming concepts in general MIT's program seems much better.
Join our real-time social learning platform and learn together with your friends!