During this week, we continued the work on our Visual Basic programing, and i got pretty far. We learned how to apply the Select Case statement while writing the codes, for a multiple choice statement. It allows you to use as many conditions as you wish, so you have more choices than the true/false statement. We also got programs to do for it, and one of them would be marked. The first program is a grade calculator, which indicates the grade a student got for a certain mark. The second was a pizza place bill for small, medium and large pizzas, and the tax and total. The last program was to calculate which candidate won in an election according to the number of votes for each candidate, and the program will output who was the winner, second, and last.
The third one is the one we had to hand in, with a flowchart, but i did all three, so i would have better experience. First, the second and third seemed hard, but the second was just hard to figure out the code for radio buttons, and the third was just really long. We also got sheets on debugging a program in compiler errors, run time errors, and logic errors. By understanding how the debugging, it will make you a better programmer, and you can help others in things like troubleshooting. And today, we had a quiz on the Visual Basic handouts we got so far and some flow charts, and after that, i finished my second program, and helped some others with their third programs, and that's my week in a nutshell :-).
Thursday, March 8, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment