Showing posts with label frank. Show all posts
Showing posts with label frank. Show all posts

Monday, April 18, 2011

Reflection: Sort/Search

Sort Search seems more like an exercise in arrays and forLoops. The code is somewhat simple, just knowing how to apply the logic to it is the difficult thing. It seems more and more obvious that programming is not just knowing syntax, but using logic to figure out where to use what to get the computer to achieve your goals.I feel like a lot of the time I will get stumped by the program. I will usually just sit there and stare at the screen until an idea pops into my head and I go "boy, that DOES make sense!". My code is all just my conclusions on which method is best used to solve a problem.

Wednesday, March 23, 2011

Share: 03/06/11

My Spring Break:

I spent a lot of time this spring break doing nothing. Watching TV and eating food for probably 3 days, and then I realized I needed to get on top of my school work. I spent some time learning python, an easier programming language than java. I really enjoy working in python, and I may be better at python than Java.

I also went camping with my family. We spent two days camping 2 hours west of Dallas. I saw a snake and also went hiking a lot, it was a blast. My best friend (who lives in Dallas) also joined me for fishing and relaxing listening to the radio. It was a little hot, but in the end I enjoyed it a lot.

Wednesday, February 2, 2011

Reflection 01232011

This week we are working with Array Lists. An arraylist is just an array with the capacity to add or remove array spaces. Unlike plain old arrays, you do not have to initiate the array while defining a size. With an array, you have a set grid of numbers which are then called by whatever you are doing. In ArrayLists, you can make the code add more numbers and spaces in the ArrayList, as well as take them away. These Array Lists are useful because say you had a growing database of information, and didn't want to create a directory too small to contain all of the information you would have in the future. Creating a method using an Array List will enable the program to make new information storing places, as well as remove old information that you have no need for any more.