Friday, April 27, 2007

Week Eleven: Status Report

On Monday, we had a lesson on the Time Control function in Visual Basic. This lesson taught us the different settings for the timer; Enable and Interval. After the lesson, we recieved a sheet that gave us a step-by-step on how to create basic digital clock program. After, we began an excerise to create a stop watch. On Tuesday, we presented selections from our report about the different careers we can go into by being in computer programming/science. On Wednesday, we worked on an in class exercise to prepare for our test tomorrow.

On Thursday, our class had the Computer science test. On Friday, we had a lesson on While Loops. The While Loops are used when the number of repetitions is not known before we start the loop. This "While...End While" structure should be used when the user wishes to repeat a set of statements an indefinite number of times; this is as long as a condition remains True. We also began a while loop program which prompts the user for names and displays them one by one in a textbox until the user enters the word "Done". "Done" ends the commands.

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.