Sunday, November 25, 2007
Friday, November 9, 2007
<('_'<) ^('_'^) (^'_')^ (>'_')> t(O.Ot)
What choices did you face in developing your solution, and how did you choose among them?
while making the star pyramid i had to choose what kind of loop to use and how many variables to make. I am currently working on using several for loops, however i am not sure if this will work. I chose for loop because i know there is a set number of iterations i will be using, however, that number chances greatly based on how many lines i have. This is currently my best bet (in my opinion) and ill try to finish the projec tthis way.
while making the star pyramid i had to choose what kind of loop to use and how many variables to make. I am currently working on using several for loops, however i am not sure if this will work. I chose for loop because i know there is a set number of iterations i will be using, however, that number chances greatly based on how many lines i have. This is currently my best bet (in my opinion) and ill try to finish the projec tthis way.
Thursday, November 8, 2007
rawr
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While making the multiplication table i had problems with using printf. I did not know the exact formatting of it and just copied if over from another project. In this case i was using integers, but i left how many decimal places there should be, which threw an error. I fixed this problem by deleted that part of code (the decimals). After that i only have a few short steps to finish the assignment.
them?/How did you overcome them?
While making the multiplication table i had problems with using printf. I did not know the exact formatting of it and just copied if over from another project. In this case i was using integers, but i left how many decimal places there should be, which threw an error. I fixed this problem by deleted that part of code (the decimals). After that i only have a few short steps to finish the assignment.
Wednesday, November 7, 2007
do{ myhomework } while (happymeter<10);
Are there any specific tips you would give to someone else tackling the same problem? How would what you suggest benefit that person in solving the problem?
While doing while and do while loops remember the basic structure of the loop. It can get confusing to trace code if you do not remember when the loop is supposed to end and where it checks the conditions. Sometimes u can skip most of the code that does not apply to the end condition of the loop. There is usually useless code written in that you do not need to understand to answer the question.
While doing while and do while loops remember the basic structure of the loop. It can get confusing to trace code if you do not remember when the loop is supposed to end and where it checks the conditions. Sometimes u can skip most of the code that does not apply to the end condition of the loop. There is usually useless code written in that you do not need to understand to answer the question.
Tuesday, November 6, 2007
for (int i; i<10; i++) { do { } while(iSaidSo=true);}
What progress did you make today on your solution? What needs to be completed next class?
today i finished the chapter 11 problems on the for loop. Some of the problems were a little difficult but after reading through most of the lesson i got through them. Next class i have to complete whatever assignment ms. Petr gives me, mabye it'll be a fun one instead of more bookwork!!!!!!!!!!!!!!!
today i finished the chapter 11 problems on the for loop. Some of the problems were a little difficult but after reading through most of the lesson i got through them. Next class i have to complete whatever assignment ms. Petr gives me, mabye it'll be a fun one instead of more bookwork!!!!!!!!!!!!!!!
Friday, November 2, 2007
for (int i=1; i<0; i++) { System.out.println("SPAM"); }
Discuss some specific examples in which you might use iteration
You might use iteration to make winning conditions of a bored game or have repeated turns on a board game. Another thing iterations do is make multiplication tables or general tables with a functional set of numbers. Iterations can be used to spam people online (like my title)! The most important thing they do is save time and memory.
You might use iteration to make winning conditions of a bored game or have repeated turns on a board game. Another thing iterations do is make multiplication tables or general tables with a functional set of numbers. Iterations can be used to spam people online (like my title)! The most important thing they do is save time and memory.
Thursday, November 1, 2007
Scored through 10/31. All blogs from this point forward are second marking period.
*****************************************************************************************************************************************************************************************************************************************************************************************************************************************
*****************************************************************************************************************************************************************************************************************************************************************************************************************************************
Friday, October 26, 2007
i spell kewl with a k
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While making my solution on the month and year assignment i decided to use alot of if statements! While making the month assignment i had to look online because i didn't remember how manydays were in each month. On the year assignment i did the if statements in a good order so i could write less lines of code. I figured i had to do this after i kept getting the wrong answer!
them?/How did you overcome them?
While making my solution on the month and year assignment i decided to use alot of if statements! While making the month assignment i had to look online because i didn't remember how manydays were in each month. On the year assignment i did the if statements in a good order so i could write less lines of code. I figured i had to do this after i kept getting the wrong answer!
Wednesday, October 24, 2007
if(else if{}(else{})){System.out.println("This wont work")}
What progress did you make today on your solution? What needs to be completed next class?
Today i finished problems 1 and 2 on the Selection Statement Programs WS. On the grade problem (number 2) i had trouble comparing strings and i did not know why it would not work. However, someone else asked the teacher how to do it and she explained it to the whole class. Next class i need to finish problems 3 and 4 on the WS.
Today i finished problems 1 and 2 on the Selection Statement Programs WS. On the grade problem (number 2) i had trouble comparing strings and i did not know why it would not work. However, someone else asked the teacher how to do it and she explained it to the whole class. Next class i need to finish problems 3 and 4 on the WS.
Tuesday, October 23, 2007
greatest title evr
Provide yourself an example (not one from your instructor) of how you use a particular command that
will help jog your memory in the future when you need that command again. You must provide a little
code as well as a written explanation with this one.
temp2 = length;
length = height;
height = temp2;
This series of commands lets the user swap variables for each other. It was useful in the check mail assignment because i could keep track of all the variables without losing them. It worked inside if statements that decided (for this case) height was the largest variable.
will help jog your memory in the future when you need that command again. You must provide a little
code as well as a written explanation with this one.
temp2 = length;
length = height;
height = temp2;
This series of commands lets the user swap variables for each other. It was useful in the check mail assignment because i could keep track of all the variables without losing them. It worked inside if statements that decided (for this case) height was the largest variable.
Thursday, October 18, 2007
title
Provide yourself an example (not one from your instructor) of how you use a particular command that
will help jog your memory in the future when you need that command again. You must provide a little
code as well as a written explanation with this one.
System.out.printf("%5.5s", "Item:");
System.out.printf("%10.5s", "Cost:");
System.out.printf("%10.6s", "Total:");
//Item: Cost: Total:
Using the printf command it is easy to organize grids or word positioning. The pattern of the printf command is hard to remember, however once it is memorized it might make future projects much easier.
will help jog your memory in the future when you need that command again. You must provide a little
code as well as a written explanation with this one.
System.out.printf("%5.5s", "Item:");
System.out.printf("%10.5s", "Cost:");
System.out.printf("%10.6s", "Total:");
//Item: Cost: Total:
Using the printf command it is easy to organize grids or word positioning. The pattern of the printf command is hard to remember, however once it is memorized it might make future projects much easier.
Tuesday, October 16, 2007
if(yourLife >= happy) { S.o.p)"your lying") }
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
while making my solution is did not capitolize J in JOptionPane. After this i could not figure out what i did wrong. Finally i checked what i wrote again for synthax and found that it was not capitolized! crises avoided.
them?/How did you overcome them?
while making my solution is did not capitolize J in JOptionPane. After this i could not figure out what i did wrong. Finally i checked what i wrote again for synthax and found that it was not capitolized! crises avoided.
Monday, October 15, 2007
boolean iAmCool = (true && !false);
Are there any specific tips you would give to someone else tackling the same problem? How would
what you suggest benefit that person in solving the problem?
i would recomend that anyone doing this take c++! it is the exact the same thing, but without all the ap test! taking c++ will help you understand most of what is happening in java and other computer programming languages. the best part of c++ is that you get ms. petr! yay!
what you suggest benefit that person in solving the problem?
i would recomend that anyone doing this take c++! it is the exact the same thing, but without all the ap test! taking c++ will help you understand most of what is happening in java and other computer programming languages. the best part of c++ is that you get ms. petr! yay!
Thursday, October 11, 2007
title
What choices did you face in developing your solution, and how did you choose among them?
while making my solution i decided to return information from inside the methods so htat in the driver it would take fewer lines to do the same thing. this could be useful in a very large program because it will save memory and time.
while making my solution i decided to return information from inside the methods so htat in the driver it would take fewer lines to do the same thing. this could be useful in a very large program because it will save memory and time.
Wednesday, October 10, 2007
my title > yours, no buts
Are there any specific tips you would give to someone else tackling the same problem? How would
what you suggest benefit that person in solving the problem?
I would advise to anyone making alot of random easy classes to learn how to do it already! It goes so much faster and easier if u just memorize how it works and dont have to keep looking at old programs, it also is better if u type you instead of u and dont have to keep correcting it. My suggestions will benefit u b/c it will save time and time is money! lolzorz
what you suggest benefit that person in solving the problem?
I would advise to anyone making alot of random easy classes to learn how to do it already! It goes so much faster and easier if u just memorize how it works and dont have to keep looking at old programs, it also is better if u type you instead of u and dont have to keep correcting it. My suggestions will benefit u b/c it will save time and time is money! lolzorz
Tuesday, October 9, 2007
Mam, im gonna have to charge u interest on these roaches
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While making the roach population i was having trouble getting the spray method to work. At frist i wondered why the mothod was underlined in red, i had no clue! Then i realized that the method was labeled as integer, and that 10% was not an integer. I fixed the problem using (int) and it all works out fine!!!!!!!!!!!!!!!!!!!!!!!! Fifth sentence.
them?/How did you overcome them?
While making the roach population i was having trouble getting the spray method to work. At frist i wondered why the mothod was underlined in red, i had no clue! Then i realized that the method was labeled as integer, and that 10% was not an integer. I fixed the problem using (int) and it all works out fine!!!!!!!!!!!!!!!!!!!!!!!! Fifth sentence.
Monday, October 8, 2007
my frog doesnt eat, i think he died
What progress did you make today on your solution? What needs to be completed next class?
Today i finished the circle drawing and the frog class. I had some problems with capitalization and synthax, but over overall design was solid. Next class i need to continue working on the 4 class project and hopefuly not have to work on wednsday.
Today i finished the circle drawing and the frog class. I had some problems with capitalization and synthax, but over overall design was solid. Next class i need to continue working on the 4 class project and hopefuly not have to work on wednsday.
Friday, October 5, 2007
drawing is for paint
What choices did you face in developing your solution, and how did you choose among them?
While developing my solution i had to choose how i wanted to make the circle class. I thought it would be easier to use the same driver as i did for rectangle. Using the same driver will save space and be less work. Less work = good 4 me;.
While developing my solution i had to choose how i wanted to make the circle class. I thought it would be easier to use the same driver as i did for rectangle. Using the same driver will save space and be less work. Less work = good 4 me;.
Thursday, October 4, 2007
i write class good
How did you go about testing your program? What were the results of that testing?
i tested my program by using the driver. i was wondering if i could write x = y = height = width = 0; i used the driver and made a method of this to check. it worked. i use good gramma.
i tested my program by using the driver. i was wondering if i could write x = y = height = width = 0; i used the driver and made a method of this to check. it worked. i use good gramma.
Wednesday, October 3, 2007
THIS IS AN AWESOME TITLE, DONT STEAL IT
Are there any specific tips you would give to someone else tackling the same problem? How would
what you suggest benefit that person in solving the problem?
I would tell somone who is doing this reading assignment to not do it. ITS NOT WORTH IT! My suggestions will not benefit a person that is solving this problem. Its your grade, not mine.
what you suggest benefit that person in solving the problem?
I would tell somone who is doing this reading assignment to not do it. ITS NOT WORTH IT! My suggestions will not benefit a person that is solving this problem. Its your grade, not mine.
Tuesday, October 2, 2007
my car has over 100 mpg! (so does my typing)
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While making the car MMPG prgram i had problems with understanding what it wanted. One of my major problems was that the resetMPG was a double and i did not understand how i could return myGallonsUsed, and reset it to 0 in the same method (without just returning the 0). I overcame this problem by making the method a void, instead of a double. That isnt how it is listed in the assignment, but it works and i have happy!
them?/How did you overcome them?
While making the car MMPG prgram i had problems with understanding what it wanted. One of my major problems was that the resetMPG was a double and i did not understand how i could return myGallonsUsed, and reset it to 0 in the same method (without just returning the 0). I overcame this problem by making the method a void, instead of a double. That isnt how it is listed in the assignment, but it works and i have happy!
Monday, October 1, 2007
more programs, less bookwork!
What progress did you make today on your solution? What needs to be completed next class?
Today i learned about how to write constructors and methods. I need to work on writing the car fuel program. Now i can finally start writing programs and hopefully not hvae to do any more bookwork!!
Today i learned about how to write constructors and methods. I need to work on writing the car fuel program. Now i can finally start writing programs and hopefully not hvae to do any more bookwork!!
Wednesday, September 26, 2007
the end of the bookwork?
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While making the name that celebrity program i did not realize i could use .substring(beginning , end). i was having trouble trying to find a way to not display the last 3 letters. In the end i type s1. and looked through the options till i saw that there are 2 possible arguments. Once i found this it made hte program easy to write.Always check ur options!
them?/How did you overcome them?
While making the name that celebrity program i did not realize i could use .substring(beginning , end). i was having trouble trying to find a way to not display the last 3 letters. In the end i type s1. and looked through the options till i saw that there are 2 possible arguments. Once i found this it made hte program easy to write.Always check ur options!
Tuesday, September 25, 2007
too much bookwork!
What progress did you make today on your solution? What needs to be completed next class?
Today i learned how to make strings. I did bookwork on the strings and discovered that it takes a long time. I should work faster. I need to finish the rest of the work tomorrow. Hopefully there will be a challenging long term project to do instead of all this bookwork!!
Today i learned how to make strings. I did bookwork on the strings and discovered that it takes a long time. I should work faster. I need to finish the rest of the work tomorrow. Hopefully there will be a challenging long term project to do instead of all this bookwork!!
too much bookwork!
What progress did you make today on your solution? What needs to be completed next class?
Today i learned how to make strings. I did bookwork on the strings and discovered that it takes a long time. I should work faster. I need to finish the rest of the work tomorrow. Hopefully there will be a challenging long term project to do instead of all this bookwork!!
Today i learned how to make strings. I did bookwork on the strings and discovered that it takes a long time. I should work faster. I need to finish the rest of the work tomorrow. Hopefully there will be a challenging long term project to do instead of all this bookwork!!
Sunday, September 23, 2007
Friday, September 21, 2007
Title
What progress did you make today on your solution? What needs to be completed next class?
today i finished all of the the assignments that were due. I had to do some work at home but i finished everything. Next class i need to pass the test that i will hopefully study for..... or at least remember to study for. I read everything i needed to, now i just have to remember it.
today i finished all of the the assignments that were due. I had to do some work at home but i finished everything. Next class i need to pass the test that i will hopefully study for..... or at least remember to study for. I read everything i needed to, now i just have to remember it.
Thursday, September 20, 2007
a=b=i i="i"+ "dont" + "care"
Are there any specific tips you would give to someone else tackling the same problem? How would
what you suggest benefit that person in solving the problem?
I would recomend that anyone who is answering questions from a text book do not read the actualy reading, and just answer the questions. You might lose a few points, but you wont have homework that you probably wont do anyways. Also, do the book work first, it worst comes to worst, you can do the rest at home. o, and.. the other thing is a car.
what you suggest benefit that person in solving the problem?
I would recomend that anyone who is answering questions from a text book do not read the actualy reading, and just answer the questions. You might lose a few points, but you wont have homework that you probably wont do anyways. Also, do the book work first, it worst comes to worst, you can do the rest at home. o, and.. the other thing is a car.
Wednesday, September 19, 2007
busywork ftl, good thing its not
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While using the precedence rules to solve math problems i had trouble remember where i was on the problem because i was not writing the steps down. I solved this by typing them into the computer. It was faster and easier than writing the steps down. Before i did this, i made sure i know the rules and how to solve the problems.
them?/How did you overcome them?
While using the precedence rules to solve math problems i had trouble remember where i was on the problem because i was not writing the steps down. I solved this by typing them into the computer. It was faster and easier than writing the steps down. Before i did this, i made sure i know the rules and how to solve the problems.
Monday, September 17, 2007
cow go moo
What choices did you face in developing your solution, and how did you choose among them?
While making my cow i had to choose between different symbols and letters.
While making my cow i had to choose between different symbols and letters.
Friday, September 14, 2007
Friday
What choices did you face in developing your solution, and how did you choose among them?
The choices i faced while developing my solution was to decide which way to output String literals. There are several ways to make them say several things and some are more efficient than others. I choise by which ones had the least lines of code. This means that i would use /n often. This is easier than typing System.out.println("__");. In long pages of code uses the shorter lines might make it easier to read and decipher.
The choices i faced while developing my solution was to decide which way to output String literals. There are several ways to make them say several things and some are more efficient than others. I choise by which ones had the least lines of code. This means that i would use /n often. This is easier than typing System.out.println("__");. In long pages of code uses the shorter lines might make it easier to read and decipher.
Wednesday, September 12, 2007
RAWRAWR
What problems did you encounter while developing your solution? How do you plan to overcome
them?/How did you overcome them?
While making the house i had problems with the person falling out of the window. All of the lines and parts of him were at an angle and it make it hard to keep it straight and where i wanted it to go. To try and fix the problem i stopped use marker.move(x,y) and used marker.forward, or marker.turn(direction) (angle). This did not make it too much easier, but it was possible to keep track of where everything was going. Also, putting teh rest of the house into notes made running the program faster and more efficient. Drawing the person took a long time, but in the end he turned out all right, if only he wasnt falling out of a window.
them?/How did you overcome them?
While making the house i had problems with the person falling out of the window. All of the lines and parts of him were at an angle and it make it hard to keep it straight and where i wanted it to go. To try and fix the problem i stopped use marker.move(x,y) and used marker.forward, or marker.turn(direction) (angle). This did not make it too much easier, but it was possible to keep track of where everything was going. Also, putting teh rest of the house into notes made running the program faster and more efficient. Drawing the person took a long time, but in the end he turned out all right, if only he wasnt falling out of a window.
Tuesday, September 11, 2007
Tuesday
Are there any specific tips you would give to someone else tackling the same problem? How would what you suggest benefit that person in solving the problem?
Specific tips iwould give someone else tackling the same problem is to ask ms. Petr, then WRITE DOWN how to import the apcslib.jar file. I spent 10 minutes trying to figure it out for myself and she solved it in less than 1! Writing down how to import a file will save you tons of time in the future and help you get your work done faster and easier. Learning to use the program fully, instead of just how to write the code in the middle increases your overall understand of java. This could help to pass the AP test.
Specific tips iwould give someone else tackling the same problem is to ask ms. Petr, then WRITE DOWN how to import the apcslib.jar file. I spent 10 minutes trying to figure it out for myself and she solved it in less than 1! Writing down how to import a file will save you tons of time in the future and help you get your work done faster and easier. Learning to use the program fully, instead of just how to write the code in the middle increases your overall understand of java. This could help to pass the AP test.
Monday, September 10, 2007
Monday
How did you go about testing your program? What were the results of that testing?
I went about testing my program by entering lines of code (intended to draw a figure) and running the program. I usually did not know what it were turn out to be and basically used guess and check strategy. Doing this took a little longer than need be, however it did work it the end and i finished the assignments. The face looks a lil slanted, or like he has a smirk. Also, it was diffulcult to change assignment 2 to make 4 and 5, this took much testing
I went about testing my program by entering lines of code (intended to draw a figure) and running the program. I usually did not know what it were turn out to be and basically used guess and check strategy. Doing this took a little longer than need be, however it did work it the end and i finished the assignments. The face looks a lil slanted, or like he has a smirk. Also, it was diffulcult to change assignment 2 to make 4 and 5, this took much testing
Friday, September 7, 2007
Friday
What progress did you make today on your solution? What needs to be completed next class?
Today i made the program draw a square and a kite. I used pencil, marker, paper, and poster. Next class I need to draw a face through most of my own commands and ideas. I will do it through guess and check.
Today i made the program draw a square and a kite. I used pencil, marker, paper, and poster. Next class I need to draw a face through most of my own commands and ideas. I will do it through guess and check.
Thursday, September 6, 2007
Thursday
How did you go about testing your program? What were the results of that testing?
I tested my programa by running the code and seeing if it worked. When it did not i checked for capitalization and synthax.
I tested my programa by running the code and seeing if it worked. When it did not i checked for capitalization and synthax.
Subscribe to:
Posts (Atom)