Thursday, November 12, 2009

Advanced File Handling

I couldn't hand in the Snowfall Assignment due to a SOMA rescheduling and I did pretty bad on the quiz. On a positive note we started some Advanced File Handling today, the teacher showed us a neat modification to his album program where it allowed you to modify and remove the albums listed. We're getting our assignment tommorow and I think I'm gonna do a text editor that can change fonts and stuff.

Tuesday, November 10, 2009

Searching

So it turned out I couldn't finish the Snowfall assignment, I tried but things didn't sort properly and I ended up being too frustrated to trouble shoot the problems. We also started doing some searching. I learned about some of the basic searching techniques, the Sequential search (which was going from top to bottom searching for something),and the binary search (which required the data to be sorted but was much more efficient than the sequential search). We were also given an assignment and we were going to have a quiz soon.

Friday, November 6, 2009

The Sorting Assignment

So we got the assignment, turns out we have to calculate the Median of small groups of numbers by determining if the array is even or odd and then sorting it with one of the sort methods (Shell sort was recommended). Since I forgot how to do the Shell Sort (should have copied that code) I decided to use the Array.Sort() function which would automatically do a quick sort on whatever array was entered in it. We were given another sorting assignment to do over the weekend which involved sorting snowfall data.

Monday, November 2, 2009

Some Sorting

So we started sorting in class. First we did a quick runthrough of different sorts and their speed. I watched a cool movie last year that demonstrated different types of sorts but the most important ones we used were the Exchange Sort,The Bubble Sort,The Shell Sort, and the Quick Sort. The Quick Sort being so fast it doesn't even take a millisecond to do. We also were told that we would be getting an assignment to sort some data.

Tuesday, October 20, 2009

Object Oriented Programming

We started a new unit today, something called Object Oriented Programming. Apparently it involves breaking down larger programs into smaller, manageable pieces. We did some work with classes and structures (which are dumbed down version of classes).In unrelated news, the school Internet decided to go on strike and refuses to work half of the time. Hopefully this won't put the rest of the week at risk.

Wednesday, October 14, 2009

A Test

So I handed in the assignment, got a pretty decent mark. Then I found out we were doing a test the next day so I did some studying. The first three questions on the test were nice practice questions we did, but re-programming them took so long I didn't have time to start the challenge question. I'd hate to cut this post short but it was Thanksgiving Monday and we didn't have school.

Friday, October 9, 2009

The Assignment

I was sick on Thursday so I heard we were handed out an assignment concerning simulating a tennis game.I Haven't finished the program yet but it's a nice challenge. Today we did some work with generating random numbers without repitition, something I already understood pretty well thanks to my previous experience with Turing. The example NFL Football helmet program he showed us was a nice example of how to do it (The average was around $27 but I could have sworn I saw one total up at $44). Can't wait to find out what we're doing on Tuesday! Happy Thanksgiving!