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.

No comments: