Posts

Friday, March 30, 2007

Weekly Status Report #8 (March 26 - March 30)

This week, we only created one program. This program was the payroll one. At first we the program just calculated the payroll with a specified tax and hourly rate. Later on, we added more features to it like a menu strip and a dialog box. After the user uses the menu strip to open the dialog box, they were then able to change the hourly and tax rates for 3 different groups of hours.

This program wasn't very tricky until the information from the dialog box was sent to code for the main form. The problem was that when you clicked on "ok" on the dialog box, the form couldn't read it so the output was always be wrong. On Friday, my teacher found the mistake with the program. It was in the code that was written on the page. The fix was that instead of dlgHourlyRate.Show() it had to be dlgHourlyRate.ShowDialog(). After I found this out I was able to make the Hourly rate and the tax dialog boxes to work.

I am really starting to like TIK. The more that the computer programs get more complicated, the more interesting they become and the more I have to think. I really like challenges and this was definitely a challenge. Next week, we get our groups for the group projecta nd I hope we get to choose our own groups. Bye!

Friday, March 23, 2007

Weekly Status Report #7 (March 19 - March 23)

This week, we only created two programs but hose programs were much more sophisticated and more complex that the other ones. One of them was creating a program that converted fahrenheit into celcius. At first, we made this program with a textbox that the user entered the fahrenheit temperature into and then when you click a button, it will convert it but then later, we used a trackbar (which was a new tool) to change the fahrenheit degrees. The other program was one that demonstrated different types of string functions and it used a listbox (which was a new tool). Along with those programs, we also wrote an essay about web awareness and learned about different types of variables like boolean, byte, etc.

One of my main problems that I had this week was with the string function program. while I was working with it at home, I couldn't figure out how to do some of the different functions. When I came to school the next day, my teacher helped my a lot and she taught me how to do the functions. Another big problem that I had was with the temperature program. Every time that I ran the program, there would be an error that would show up. The error was that when I made my trackbar minimum, I made it the same number as the fahrenheit temperature so it was a negative number. I soon found out that that was what was causing the error and now I know that you are not able to set a trackbar minimum to a negative number so you have to compensate that by increasing the maximum.

Next week, I would like to learn more about string functions and how to use them effectively so they can work well in different programs. I also would like to keep up my good marks on my tests since this week we also got back our second test and I got perfect. Overall, this week was pretty fun and I would like to continue making complex programs.

Thursday, March 15, 2007

Weekly Status Report #6 (MARCH BREAK)

This week I didn't do anything special. All I did was stay at home. I like traveling around but I think this week I really needed to catch up on sleep and just hang out at home. I really enjoyed this week and I am not really looking forward to going back to school. Anyways, I hope that my first week back is a good one so I can get hooked back onto school and get in the groove again.

Friday, March 9, 2007

Weekly Status Report #5

This week in class we created more programs. One new thing that we did this week was using the cases. By using the cases it is easier to compare lots of information instead of using lots of if and else statements. Another thing that we learned during this week was debugging. There are three types of bugs. They are logic (the programmer has made an error in what they want the program to do), runtime (the user has input an incorrect symbol), and compiler (there is a mistake in the code). This week we also had our second test. It wasn't very hard, and I hope that I did well on it.

I didn't have many problems this week. A minor problem that I had was that I didn't really understand how to use cases. I find that if and else statements are much easier to use than cases. The main problem that I had was changing the name of the pop-up box in TIKVB11 which was the program that we handed in. At first, it would jsut say the title of the program and that seemed really plain so I wanted to change it. I solved this problem by searching through the internet. I came across as site that explained what to do but I didn't realize that I had to change the name in the bracket that outputs the results so when I put the code one line under the main message box's code, another box would pop-up after you click ok. Then I realized that the title had to be with the original code so I put it there and it worked.

In the future I hope to learn how to use cases better because i still don't really understand them. I also hope that we create programs that will use more than one group of radio buttons or check boxes which means that the programs will be more difficult. I like challenges so that is why I would like to create more complex programs.

Friday, March 2, 2007

Weekly Status Report #4

This week I only came to school for three out of the five days. I missed Thursday and Friday because of the bad weather so the busses were cancelled so i had no way of coming to school. This week, one of the things that I was looking forward to the most was getting my first test back. I did much better than I thought that I would have since Ms. Emami kept explaining to the class that lots f people had done poorly and I was afraid one of thoese people were me. On Monday, we had a lesson about software documentation. This was important because by using software documentation, another programmer could open up the project and they will be able to understand what each line of code is about. Then on tuesday, we had a lesson about if and else statements on visual basic. With these new key words, we are now able to make prgrams that can put words and numbers in order as well as have different outputs for one question (depending on what the user input). On Wednesday, Ms. Emami went around the class and marked our third visual basic programs (TIKVB2). For this program that user was supposed to be aloud to input three numbers and then have a choice between three buttons to click and then whichever button was clicked, the outcome was supposed to show the correct answer. For what we did on the next two days, I will look on the teacherweb, ask others in the class, or wait for monday to talk to Ms. Emami to see what i missed.

This week, I only faced one problem. It came in TIKVB6, I think. Well, it was the one with the plural of sheep. My problem was that I didn't know how to put more than one possibility in one line. I still don't know if it is possible but to get around that I made the different possiblilities (sheep, Sheep, and SHEEP) in different lines each starting with elseif. The only thing that stayed the same was the output message because all of those anwasers were right, it jsut depends on how the user types the answer in.

In the future, I hope to to well on the quiz on visual basic that in on thursday. Also I hope that I keep learning different key words on visual basic so I will be able to create really complex programs that could do really hard calculations.

Photo Album

Panda Golf