Friday, May 11, 2007

Weekly Status Report

On Monday, we got the whole class to finish up Step-by-Step program #5, which is Visual Basic program that determines highest mark, lowest mark and average mark of the marks entered by the user. I completed the program, and it seemed to be working fine. On Tuesday, we got a lesson on Arrays, which are data structures that store variable data, which has the same data type. The variables that are in an array are given numbers instead of various names, which makes loops easier to work. We were given 3 big exercises to do, and I completed the first 2 parts of the first one.

On Wednesday, our teacher gave us a short lesson on the code writing for arrays, and I continued on the exercises, but have not yet completed the first one yet. This program can do a lot of things, like 1) initialize all the elements of the array to one, 2) initialize elements of the array with random numbers from 1 to 50, 3) switch the values at both ends of the array, 4) input 10 numbers, both positive and negative, from the user to i) change the negative values to positive, ii) calculate the sum of all the numbers and iii) to calculate the product of odd numbers in product.

We did not do anything on Thursday and Friday, becuase not many people were at class, because of a horrible tragedy.

No comments: