This week in computer science we only created one program. It was called payroll. At first the user could only input the number of hours worked and the number of coffee cups sold, but towards the end of the week we were asked to add more features such as a menu strip and a dialog box. We did this so the user could also input the tax rates, as well as the hourly rates. We learned how to use code to make the dialog box come up when the tab in the menu strip was clicked. We also learned how to make variables useable by other items other than the one it is typed in.
This program was definetly chalenging. It was mostly the dialog box stuff that was the main tricky part. My problem was that when i clicked ok after putting in the the hour or tax rates, the program crashed. I couldn't figure it out until the teacher showed me how to do it. I think i didn't well this weekand hope to continue with my progress.
Friday, March 30, 2007
Friday, March 23, 2007
THe different functions of string
This week in computer science i learned how to use several new features on visual basic. I learned how to use the scroll bar and the list box. I made a program that reads the temperature from the user in fahrenheit and outputs the temperature converted into degrees celcius as well as a scroll bar and a message that says whether it is hot or cold. On thursday and today we learned about the different functinons of string. We filled out this sheet that expresses the different functions of string by experimenting with a program that demonstrates the different functions. We were then told to make a program of our own that contains 10 different functions of string.
Throughout the week i found that i needed less help than usual and completed my programs before most about half of the class. I think i'm doing very well. Next week i hope to continue to learn new things and one of my goals is to learn how to debug programs using the red dot and yellow arrow.
Throughout the week i found that i needed less help than usual and completed my programs before most about half of the class. I think i'm doing very well. Next week i hope to continue to learn new things and one of my goals is to learn how to debug programs using the red dot and yellow arrow.
Thursday, March 8, 2007
Learning Case and If and Else
This week we started to move on to creating programs that were a bit more complicated. I learned how to use case and if and else in my programs, and learned the basics about the different types of debugging. This week i worked on a program that is based on a pizza service and a program that tells who wins an election when 3 numbers are inputed.
My objective this week was to master the skills that we learned. My goal was to complete all of the programs that were assigned this week by thursday because i'm not at school on friday. I achieved my goal and handed in my election program in on thursday, feeling very proud of myself. THroughout the process of creating the programs i had a few problems declaring the variables, because i'm still not completley certain about the difference between single and string. But i got someone to explain them to me and I didn't have any major problems for the rest of the week.
When I come back from March break i hope to get assigned more challenging programs and ehance my computer programming skills. Hopefully I will be able to complete my work without having any assistance from peers at all.
My objective this week was to master the skills that we learned. My goal was to complete all of the programs that were assigned this week by thursday because i'm not at school on friday. I achieved my goal and handed in my election program in on thursday, feeling very proud of myself. THroughout the process of creating the programs i had a few problems declaring the variables, because i'm still not completley certain about the difference between single and string. But i got someone to explain them to me and I didn't have any major problems for the rest of the week.
When I come back from March break i hope to get assigned more challenging programs and ehance my computer programming skills. Hopefully I will be able to complete my work without having any assistance from peers at all.
Monday, March 5, 2007
Journal response #4
This week in computer science we finished off our first set of basic programs and moved on and completed another set of programs using If and Else after a lesson was given. On friday we were introduced to a new function called case, which is similar to If and else only it is more effiient with numbers and requires less lines, when the programmer needs to include a long list of things.
Throughout the week I constantly worked hard in class to get my work done and tried to do some of the programming at home since i downloaded VB on my computer. I think i'm really starting to get the hang of programming, but unfortunatley i won't be at school on monday. I hope i can catch up with the rest of the class on tuesday. I'm sure it will take severe consentration as well as a little help from my peers.
Throughout the week I constantly worked hard in class to get my work done and tried to do some of the programming at home since i downloaded VB on my computer. I think i'm really starting to get the hang of programming, but unfortunatley i won't be at school on monday. I hope i can catch up with the rest of the class on tuesday. I'm sure it will take severe consentration as well as a little help from my peers.
Subscribe to:
Comments (Atom)