How did you go about testing your program? What were the results of that testing?
I tested my program by typing it up in JAVA. I had to count the number of characteres in the peoples names to make sure I had the right values for their s.legnth() 's. With that value, I could subtract and get s.substring() to work right. The results of my program were a success.
Wednesday, September 26, 2007
Tuesday, September 25, 2007
What progress did you make today on your solution? What needs to be completed next class?
Today I learned more about objects. Objects at stored differently in memory, for example strings are stored as references. A class is written to describe the properties and behavoirs of objects. Next in class, I need to gain more experience in using objects.
Today I learned more about objects. Objects at stored differently in memory, for example strings are stored as references. A class is written to describe the properties and behavoirs of objects. Next in class, I need to gain more experience in using objects.
Friday, September 21, 2007
Thursday, September 20, 2007
A CARRRRRRRRRRR VROOMMMMMM
How did you go about testing your program? What were the results of that testing?
To test my program, I inputed the code from the paper exactly onto the program. Then when I ran the code, I saw if my drawing made any sense. It turned out to be a car.
To test my program, I inputed the code from the paper exactly onto the program. Then when I ran the code, I saw if my drawing made any sense. It turned out to be a car.
Wednesday, September 19, 2007
No more drawing
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
Today, for Worksheet A3.2, I could not understand problem 14. I dont understand why:
The result of that is
It seems that they should be the same, but they aren't. Why is that? I plan to overcome this problem by asking you.
them?/How did you overcome them?
Today, for Worksheet A3.2, I could not understand problem 14. I dont understand why:
b=2;
a=b++;
The result of that is
a=2
b=3
It seems that they should be the same, but they aren't. Why is that? I plan to overcome this problem by asking you.
Monday, September 17, 2007
ACSII ART
What progress did you make today on your solution? What needs to be completed next class?
I made an ACSII Firefox picture. Next I will learn more java!
I made an ACSII Firefox picture. Next I will learn more java!
Sunday, September 16, 2007
Friday, September 14, 2007
What progress did you make today on your solution? What needs to be completed next class?
Today, I learned more about Java. I learned what objects, instances, classes, methods, messages, and arguments are, and I learned how they interact with eachother to create a program. Next time in class, I will have to implement them to fully understand how they work.
Today, I learned more about Java. I learned what objects, instances, classes, methods, messages, and arguments are, and I learned how they interact with eachother to create a program. Next time in class, I will have to implement them to fully understand how they work.
Wednesday, September 12, 2007
What choices did you face in developing your solution, and how did you choose among them?
When I was doing my windows, I had to choose between typical square windows, or circular windows. In the end I choose circular because it is unique. I also decided to draw lines on the windows to act as seperations.
When I was doing my windows, I had to choose between typical square windows, or circular windows. In the end I choose circular because it is unique. I also decided to draw lines on the windows to act as seperations.
Tuesday, September 11, 2007
More Drawing Again
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
During devloping my solution, I ecountered problems with #4. I was having problems connecting the appropriate points. I overcame this solution by trial and error. For example, if I could not get two points to connect, I would use marker.up(), marker.move(), and marker.down() to direct the pen where I wanted to go.
them?/How did you overcome them?
During devloping my solution, I ecountered problems with #4. I was having problems connecting the appropriate points. I overcame this solution by trial and error. For example, if I could not get two points to connect, I would use marker.up(), marker.move(), and marker.down() to direct the pen where I wanted to go.
Monday, September 10, 2007
More Drawing
How did you go about testing your program? What were the results of that testing?
To be able to draw the exact drawing on the paper, I needed to input values and run the program to see if the drawing matched the one on the paper. For example, for the mouth, at first i entered:
To be able to draw the exact drawing on the paper, I needed to input values and run the program to see if the drawing matched the one on the paper. For example, for the mouth, at first i entered:
marker.up();
marker.move(40,60);
marker.down();
marker.forward(15);this generated a slanted image. So instead I did this:
marker.up();
marker.move(40,60);
marker.down();
marker.move(40,45);
This generated what I wanted.
Sunday, September 9, 2007
Friday, September 7th
What progress did you make today on your solution? What needs to be completed next class?
Today, I decided to drop from Java B to Java A. I realized I do not know how to do methods with Java, so I dropped to Java A. In Java A, today we learned how to use a library that enabled us to create drawings on a sketch pad. Basically, the progress I made today was copying the code Ms. Petr provided from the sheet, and understanding how creating a new object worked. For example, to create a new sketch pad, one would have to write:
Today, I decided to drop from Java B to Java A. I realized I do not know how to do methods with Java, so I dropped to Java A. In Java A, today we learned how to use a library that enabled us to create drawings on a sketch pad. Basically, the progress I made today was copying the code Ms. Petr provided from the sheet, and understanding how creating a new object worked. For example, to create a new sketch pad, one would have to write:
SketchPad poster; // this would establish "poster" as a variable
poster = new SketchPad(600,600);
//from what I remember from taking Java at Maryland, you have to actually tell Java there is a new object, and define it.
Next class I have to complete typing up the program from the code Ms. Petr provided me.
Subscribe to:
Posts (Atom)