Thursday, September 13, 2012

Computer Programming

In my computer programming class, we've spent the last week writing a program to do a few basic calculations. The teacher didn't explain all the necessary steps, so I had to figure it out as I went along. Each day I managed to figure out an additional step, but yesterday I came up with a problem that I try every way I could think of to solve it. Finally, today I asked the kid sitting next to me to help. He didn't even understand my question, so he showed me his code. I hadn't put the >> in after the math directions. After I fixed it, I noticed one line of sample code on the instruction sheet that should have keyed me in on the issue, but I didn't pay attention to it because I'd decided not to worry about getting an "A", just work for a "C" and hope I figure it out. (I ended up doing the work for a "B".) The whole situation was really annoying, but I've discovered that I really like programming because it gives me the opportunity to do something constructive that if I don't do perfectly the first time, I can usually solve the problem on my own given enough time. It's kind of like algebra that way.

No comments: