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.