Friday, March 30, 2007

Week Seven: Status Report

On Monday we were given a lesson about using the Visual Basic Operators. There are three types of operators that you can use; the Arithmetic operators, the Comparison Operators, and the Logical operators. We also worked on two programs in Visual Basic. One of the programs was based on the String Tutorial hand out that we received; this program focuses on the use of a List Box. The other program is called Payroll; it focuses on the gross and net pay which is made from hours worked as well as counting the overtime hours and commission.

On Tuesday, we continued working on both of these programs. On Wednesday, I had all my focus on finishing the Payroll program because I completed the Tutorial the day before. The entire class was a part of a Literacy exam during Thursday morning; we did not have class that day. On Friday, we had a lesson on Dialog boxes in Visual Basic. We also continued to work on our programs and status reports.

Wednesday, March 21, 2007

Week Six: Status Report

This week began with a lesson on the data types that can be applied while working the Visual Basic application. An important characteristic of a variable is its type. The certain data type which is applied to the variable determines what kind of information a variable is able to hold.

A common example of a data type is the Single data type. By using Single, the person writing the program is able to input positive or negative numbers up to around 3.4 times 10 to the power of 38. The data type String is usually applied when you wish to have your program output text.

Dim num1, num2, num3 As Single
Dim negative, neutral, positive As String

Above shows that the user declared the first, second, and third number as a Single. Where as the words negative, neutral, and positive were declared as a String. We were also given a Visual Basic project that asks us to create a Temperature Converter which refers to Fahrenheit and Celsius. On Wednesday, we were given a web awareness assignment to finish in order to prepare for the OSSLT literacy test. On Thursday, I was absent for the entire day because I was job shadowing for my career studies class. The class were handed out a sheet about identifying Strings. Friday we continued writing programs as well as our weekly status report.

Wednesday, March 7, 2007

Week Five: Status Report

During this week we continued to work on our Visual Basic program writing. We learned how to apply the Select Case statement while writing the codes. This statement is used to run a code based on multiple conditions; it allows you to use as many conditions (or cases) as you wish. By doing so, this makes it convenient to write codes for situations in which there are a variety in the choices. An example of this would be a program written to calculate what candidate won in an election for parliment. By calculating the votes for as candidates as you wish, the program will output who came first, second, third and so on.

We also recieved sheets on debugging a program and compiler/run time errors. By understanding how to debug, it will make you a better programmer for the future. Tomorrow, the majority of the class is handing in an assignment that is able to focus on the Select Case functions. Also, a quiz on Visual Basic and some flow charts is scheduled for tomorrow.

Thursday, March 1, 2007

Week Four: Status Report

This week we continued to work in the Visual Basic application during our class time. Also, we recieved our tests back from our teacher. This test focussed on the computer and flowcharts. Overall, our class preformed poorly. Therefore, we are having a small little quiz tomorrow regarding flow charts.

Throughout the past few days, we have been creating many more codes for many more programs while using Visual Basic. We learned the forms of Software Documentation; internal and external. This sort of documation is used after finishing our codes so we can read how the program operates and how to use it.

Yesterday, our teacher began marking one our programs titled "TIKVB2". Overall, I did quite well and my mark was level "4". We are now focussing on the form of "If...Then". Example; if the number is < 0, then the number is negative.