Friday, April 20, 2007

Week Ten: Status Report

On Monday, we created a Mini Slide Show in Visual Basic. The slide show was formatted so it would output four cartoon images of the Sun to the user. We also added in a "beep" function, so whenever the user clicks the button to see the different image, the programs beeps. On Tuesday, we had another lesson on Loops; this time it focussed on using the "Exit For" statement.

"Exit For" is a special statement that you can use to terminate the execution for a For ... Next early and move the execution to the first statement after the loop. On Wednesday, we continued to work on creating our programs which executed the "Exit For" statement. On Thursday, we recieved a project about the different types of job you can apply for by being a computer programmer. The mission was to choose six different jobs, and report about each one and their relevance to computer programming. On Friday, I was not in class because I purchased a ticket to a special event which was hosted by the institution.

Friday, April 13, 2007

Week Nine: Status Report

On Monday, no one was in class because the school was off for the Easter holiday. On Tuesday, we finished our PizzaPalace project and submitted it to our teacher for marking; my group did quite well on ours. As a treat, our teacher brought the entire class two pizzas to enjoy; it was quite delicious.

On Wednesday, we were given a lesson on using Loops in Visual Basic. We briefly went over it earlier in the course, but only with our flow charts, not in the program writing itself. We were given exercises to complete that were based on using loops (via counter and sum). An example of this would be our 4th exercise, which asked us to write a program that calculates the product of odd numbers from 10 to 59. That would mean the calculation would go something like 11+13+15+17+19+21+23... and so on, until it reached the number 59. On Thursday, we worked on more Looping. This time, it incorporated the debugging "QuickWatch" as well as using break points in the program. On Friday, We continued on the looping programs with using multi-line text boxes.

Thursday, April 5, 2007

Week Eight: Status Report

This week, we began a project in Visual Basic. By writing the program for this project, it tests our skills with using different components of the Visual Basic program (such as radio buttons, text boxes etc.). This project is based on an order form for a pizza parlor called Pizza Palace.

On Monday, in our assigned group of three, we started and completed the entire interface of the order form. This interface including the different toppings, sizes, types of pizzas that are available to buy as well as the different drinks and side orders. On Tuesday and Wednesday we focussed on writing the program's codes for each of the commands we want the order form to fufill. Since Friday was Good Friday, which meant we did not attend class; Thursday was our last working day. On Thursday, we created the Dialog Boxes which are used to exit the program as well as to set the prices for the pizzas as well as for the side orders and drinks.

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.