Tuesday, November 30, 2010

SHARE 11/21

This thanksgiving, I am going to have my mom's family over to my house. I cannot wait for thanksgiving, as it is my favorite holiday. Nothing is required except for eating good food, hanging out with cousins, and being lazy (at least at my age!). Turkey is one of my favorite foods, and I also really like pie (I don't think there are many people that don't). The break from school is nice too. A little sleeping in can really help a lot. I kind of miss the thanksgiving parties we would have in elementary school. We would spend a day of school just playing bingo and eating candy the teachers would give us. Being a little kid was fun, but having responsibility is nice. I am tasked with washing all of the dishes after thanksgiving is done, and I also have to look after 5 children under 8. Yeah, thanksgiving is going to be a blast.

Sunday, November 21, 2010

Reflection 11/21

This week we worked on while and do while loops. This was another interesting look at the possibilities of shortening code, and making it easier to code faster and more efficiently. I really like do while loops because the code runs at least once. We did a lab called "PasswordCheck" and I thought it was really interesting, as a password is something actually useful and until recently we hadn't been doing that many things that were practical. I figured out the lab in no time. For a correct password, the computer would print "ACCEPTED" and for the incorrect password it would print "DENIED". It was a fun program to write, and I can't wait for more challenging labs to complete.

Thursday, November 18, 2010

Computer Science AP, Reflection

So far the class has been one of my favorite classes. On A days, I can't wait to get into 5th period and start the latest lab. I really enjoy how you can combine problem solving with your general knowledge of syntax to make a program work. Programming has always been a subject of interest for me. As a kid I would go to the library and pick up huge books on programming. I would try to read and understand them, but I would never really learn anything. It's great to be taught programming, and I am learning very fast and having fun with it.

Recently we have been working on for-loops. Looping makes programming a lot simpler, and lightens the amount of code you have to type to get the machine to do something many times. I usually don't have to study for the quizzes, but for the for-loops quiz, I studied and did well.

I am having trouble remembering what to do in the main of a class. My short-term memory is much better than my long-term memory, and I find myself having to open old labs to use those as templates for my new constructors. I have been having trouble with this for a little while, and it is getting better slowly but surely. I feel like I am becoming a much better programmer every day I practice in class.

Sunday, November 14, 2010

Reflection 11/14

This week we worked on For Loops, which are lines of code that run themselves until a certain requirement is met. The for loop establishes the first value, the stop value, and the change in the value at which the code is terminated. This is useful for repeating things without having to retype code over and over again. This cuts down the time coders spend copying and pasting, and changing little bits of code. Parts of Java like this make the language simpler and more user friendly. I really enjoyed the lab where we used For Loops to draw a certain number of circles and then stop the program. We could change the x and y values of the circle each time it was drawn and the width/length, making it a fun tool to draw with.

Sunday, November 7, 2010

Reflection 11/07

We worked on else/ifs today. I think else ifs are really easy. It goes like this:If the first condition isn't true, do the next thing if the next condition is true. If it's not, then go to the next. It's really very simple. Let's say x is 2.

if(x==3) {
out.print("Hello!"); }
else if(x==1) {
out.print("Goodbye!"); }
else if(x==2) {
out.print("Howdy!"); }

The output would be

Howdy!

Like I said, pretty easy. I am definitely very comfortable with this.

SHARE 11/07

LaCrosse is the sport I play. I really enjoy LaCrosse. I have been playing LaCrosse since I was in third grade. I am a goalie in Lacrosse. I am now playing for LASA, and it's a blast. On the team we have many upperclassman who have been fun to meet. There are also several freshmen on the Jag Lacrosse team, and it is nice to have people I know on the team as well. Our coach (Coach Travis) is a graduate of Texas Tech, and he played college lacrosse when he went there. He is very experienced and is a great teacher. The season starts in spring, and I can't wait to beat other teams with the champions-to-be Jaguar Lacrosse Team.