Friday, May 25, 2007

Cow Goes "Weekly Status Report 15" Moo

Week 15 of Cow Goes Moo, we did not do much. The week was cut short by Victoria Day and the Spring Fling Fair. When we were in the class, we focused on completing the big assignment, Lottery Ticket Record Keeping Program and getting it marked. After I finished the basic structure of the program, I added some extra features to the program. I added a function where the user can change the sale record of a previous sale and a one that can show the records of previous sale. Also added the reset button to reset all the records. I did very well for getting the program marked and was satisfied with the result.

Then we did one more lesson of Ergonomics. We talked about the Ideal Workstation to use the computer. Things like adjustable chairs and other furniture and equipments can help to create it. Also the monitor position, brightness or the darkness of the surrounding lights, and surrounding noise can affect the ergonomics of the workplace. In order to not get hurt from doing work, it is important to take a rest at least once a hour and do exercises that can prevent injuries.

Lastly, once we finished the lottery ticket program, we moved on to animation, which is just moving an objective witing Visual Basics form. We used a picture box and moved it up, down, left and right by using the timer function and coordinates. We also made the picture look like it was zooming in by stretching the picture everytime you click it.

Friday, May 18, 2007

Cow Goes "Weekly Status Report 14" Moo

Week 14 of Cow Goes Moo, we got back to full lessons and schedule. We started a new theory, ergonomics, which is really unrelated to programming but is essential for computer working environment. Ergonomics is the application of scientific information concerning humans to the design of objects, systems and environment for human use. It helps to improve the design of things that we uses and the ways things work in order to create a healthier environment. The ergonomics started out during the World War II in order to improve the performance and safety of military systems to maximize the work efficiency. Creating a more ergonomic environment is quite simple. Things like sitting posture, foot rest, proper chairs and proper height for desks are some of the examples that can be used to create a more ergonomic work place. If not, it can lead to cause problems physically, like Carpal Tunnel Syndrome which is caused if the wrist is pressure for too long and not be in a neutral position when working.

We continued from last week on working with arrays. We moved on to create a program that can sort the arrays in order. Then we got our assignment where we had to create a program that keeps the record of daily lottery tickets sale. It records the amount of tickets sold every day for a year and should do multiple functions. It should calculate the number of total days, number of days with no tickets sold, number of days with 50 or more tickets sold, number of days with 50 or less tickets sold, the biggest number of tickets sold in a day, smallest number of tickets sold in a day, and number of days it took to sell at least 200 tickets. I am about 80% finished, need to double check if the functions work properly and create a better interface for the program. It should be done by Tuesday next week.

Some problems I had was when I was working on the Lottery Tickets program, I thought I did the inputting part correct but later found out that it was wrong. It caused me to recreate the codes for all of the things that I finished and start fresh. Also I was struggling already to write the codes and just caused me to race against time. Fortunately all the struggle went away on the last day of the week, and was able to finish the most of the programs, including fixing the old mistakes. With only number of weeks left of school, I would have to focus on the test on ergonomics and the final project soon to receive.

Friday, May 11, 2007

Cow Goes "Weekly Status Report 13" Moo

Week 13 of Cow Goes Moo was a tragic week. This week, for 2 classes we did not work on Visual Basics because of lack of people in class and for a tragic reason. On Monday, we were given a class to finish up a program that determines high, low and average of the marks entered by the user that we started last week. Fortunately I already had it finished last week. I got to work on other subject works in that class.

The other 2 days where I actually worked on some stuff, we learned something new called Arrays. An array is a data structure that stores variable data that has the same data type. It is a group of variable that is given only one name. Each variable that makes up the array is given a number instead of a name which makes it easier to work with using loops among other things. We declare by Dim ArrayName(ArraySize) as DataType. We used this structure to create a program that does several things. It can initialize elements of the array to one, initialize elements of the array with random numbers between 1 and 50, switch the values at either end of the array, and input 10 numbers from the user to change the negative value to positive, calculate the sum of all the numbers and to calculate the product of odd numbered position in product.

This week, I completed the first program using the array structure. However I did not yet get started on the second program and the third program using arrays. I'm expected to work on and finish them next week.

Friday, May 4, 2007

Cow Goes "Weekly Status Report 12" Moo

Week 12 of Cow Goes Moo, there was only one lesson this week. We learned how to draw in Visual Basics using CreateGraphics statement. This involves a lot of mathematical graphing skills and uses the coordinates to draw lines according to the coordinates. Using the the similar format, we also learned to draw circles. However fully understanding this complicated function was not all necessary because it is something extra for us to learn and is not part of the curriculum course.

This week, I had to finish the SIN validation program that I started working on last week and was marked on based on our performace. Also the day when there was the teacher was absent, we worked on some fact finding assignments where we found some unique facts like the first calculator, the number of paqes that can be save into 60G hard drive. We also solved some mind games which was pretty complicated. We also worked on a program where the numbers are being inputted and the user can press either High, Low, or Average button to determine the biggest number, lowest number of the average of all the numbers combined. It was very complicated at the beginning and I had no idea where to start but once I got the an idea of how to develope the program, it was actually very easy to develope.

Lastly we got our previous test back. I did very good, expect that it could've been better considering how confident I was when I wrote the test and some few silly mistakes I made on the test. Overally the week has been satisfying, including garbage pick up and fire drill.