Friday, May 25, 2007

Array Project

This week we continued to work on our Array project. Last week I had trouble making it towards the end but i managed to finish it on thursday. I discovered that the thing i had wrong was the beginning of the For statements were wrong. What i had was: For i=0 to numday. The problem was this was that it didn't stop when ticket(i)= -1. What i did instead whas this: For i=0 to 364, then made an if statement: if ticket(i)=0 then exit for. Once i did that almost all of my buttons worked except for the t200 button that ouputs the amount of days it took to sell 200 tickets. But all i had to do was change the order of the code and put the if statement regarding the -1 before the rest of the code. We also learned more about ergonomics and sitting the right way at a computer as well as an introduction to putting animations in programs.

This week i figured out alot of things without help that made me complete my project and i am proud of myself. I hope i can continue to do lots of good work. My goal for next week is to continue to be productive and figure out things by myself.

Friday, May 18, 2007

Array Project and Ergonomics

This week in computer science we started learning theory on ergonomics and started an array project. We learned about carpol tunnel and methods to prevent it, such as taking a break every half an hour when sitting at a computer or not always resting your wrists on the table behind the keyboard. We also learned about how back and neck problems can develop if you sit at a computer in the improper way. You have to make sure that you have enough leg room, you are sitting with good posture, and you are sitting in a comfortable chair. For the array project we have to create a program where the user inputs the number of tickets he sold each day, and the program must put the information into the array. The user should have acess to a few operations such as the amount of days 0 tickets were sold and the number of days it took for 200 tickets to be sold. I discovered after the teacher told me that to make it so you can only input 1 number at once you must use a while loop that keeps going until the next spot in the array equals -1, which is set as the values for all the numbers in the array in the form load. This makes the user only able to put in one number each time they press the button because, after they put in one number and replace the value of -1 in the form load, the window will automatically close because the while loop takes effect.

I am finding the array project quite challenging. I can't get all of the buttons to work and, i seem to have typed in all of the right code. I have to make sure that I know when to use for and while and think through the result of my code before i type it. My goal for next week is to complete my array project and figure out how to make it work.

Friday, May 4, 2007

Sin numbers and mark averages

This week we continued to concentrate on loops and how they work. On Monday, we started a program where the user inputs a sin number and the program performs a certain calculation that indicates if the sin number is valid or not. On Tuesday, we continued to work on our sin assignments and our computer science teacher started marking on a voluntary basis. On Wednesday we did an assignment that was for fun and for our own interest and not for marks. It was very hard and complicated and required lots of new variable types that I have never used before. On Thursday the teacher was absent and we did an assignment on computer history, and important definitions and terms. Today we did a while loop program, where the user inputs numbers into an input box and types -1 when they want to stop. The program outputs the average the highest mark and the lowest mark.

Throughout the week i still had to get help ocasionally from people and i continue to try and figure out things on my own. My goal is to continue to try until i can do all my programs without any assitance. Today working on the Average mark assignment i had everything right except for about 4 lines so i'm gettin close.

Saturday, April 28, 2007

More for and next loops and introduction to While

This week in computer science we started to learn more complex loops using For and Next. I wasn't at school on mondy but apparently we learned how to use Timers in our programs. We learned how to set the interval of the timer (miliseconds) so a certan action can happen at each interval. For example, we made a slide show that changes pictures every 5 seconds. For and Next are used for loops that need to be done a certain number of times, but we encountered a new issue that required us to use another form of loop called While. In this type of loop you make the loop run over and over again until a certain action is performed. What we did is make a program where the user inputs names then writes done to end the loop.

This week I was a bit behind because of my music trip but, I pretty much got caught up by the end of the week. I missed the whole thing on timers, and i'm a bit dissapointed, but i think i'm still on track. My goals for next week are to get better at using while, because i could really figure out how to use it on friday and i want to get better at solving problems when i encounter them.

Friday, April 13, 2007

Introduction to Loops

This week in computer science we started to learn how to use loops. We used the funtion called For and Next to indicate a loop and we created many simple programs that use loops. One example was one where we had to create the numbers that adds all the numbers from 1 to 100. We also were given the code for loop programs and were asked to identify the Output of the program and describe how the program works.

This new criteria that we learned was very challenging. I had trouble understanding the concepts and often has to ask someone for help, especially when we were creating the programs. I hope that I understand it better next week, even though we are going to be doing more complex loops. Generally I'm not looking forward to next week becuase of how I had trouble this week.

Thursday, April 5, 2007

Pizza Palace

This week in computer science, we were assigned a project that was very complex and took alot of work. We were asked to make a program that could be used for a real pizza service called Pizza Palace. Side orders, drinks and toppings had to be included in the program as well as different sizes of pizzas. The user should also have the option of changing the prices of the pizzas, the toppings, the side orders and the drinks. Overall there was several pages of code that we had to produce and it took alot of work, but we completed it by thursday.

Throughout the week my partner and I worked very efficiently and effectively. We used our time wisley in class and constantly helped eachother type code, and make the interfaces. We were one of the first groups finished the assignment and I very proud of myself. I hope to endure more advanced programs this week and meet the requirements of those programs.

Friday, March 30, 2007

Payroll and dialog boxes

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 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.

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.

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.

Friday, February 23, 2007

Introduction To Visual Basic

This week we learned about cryptography, which is the science of writing messages that noone except for the intended reader can read. We also learned the basics of visual basic. We first followed a series of instructions to make a very basic program that calculates a tax rate, then eventually got into programming that was a bit more complicated, that required multiple buttons and a longer list of coding.

I was quite interested in the concept of programming this week, even though most of the programs we did this week are things that can be done on a calculator. Although I was pretty behind by the end of the week because I missed class on wednesday. But i think i will come to like programming eventually, it will just ake alot of work and effort and I may need to download Visual Basic to keep up in class.

Friday, February 16, 2007

Feb 16 2007

This week i learned all about several computer related things. We learned about software and the different types there are as well as the types of computers and examples of imput and output devices. We also learned the parts of the computer and how the parts assemble the computer and how they function.

I think that this course will take alot of getting used to and there is alot of things that are confusing and hard to take in. I found the flow chart assignment esspecially difficult and might need help with it before the test. It will was especially hard to absorb information this week becaue of all of the days of school i missed. I do think I am improving and hope to achive a good mark on the quiz on monday.

Monday, February 5, 2007

Feedback

Keep up the good job :-)

Hello!

Hi welcome to my blog. I am cool just incase you didn't already know that, and I hope you enjoy my wonderful entries.