Friday, March 14, 2008

Final Part 2

Riverdog said; Just sent you another copy of the distance traveled problem. I wanted you to be sure to give me credit for it on the final exam. I sent it to you earlier last week, but was not sure that that would count as the exam.

Bruce

Wednesday, March 12, 2008

Final Exam Completed 3/12

Riverdog said;
I sent my Final Exam in tonight. I wanted it to be on time, but it might be early. I tried to complete the problem of Hotel Occupancy, but just did not have enough information to complete the assignment. I learn a lot in this class and want to continue with the next two computer class that I need before my tour in Hawaii is finished in Sept 2008.

I sent the two problem from CR in a e-mail tonight and the Java program on the Hotel occupancy. I did not want to fight with that problem any more because I have neck strain, and have lost too much sleep over that problem this week . I must have spent 15 hours trying to solve that one problem. Now that I look back, I think that I had trouble in the beginning of class getting my home computer to work and that hurt the progress of the programing tasks.

I mail the distance travel problem to you several week ago with my name on it I hope that is good for the final exam grade. Thank you Mr. Chang, and good luck to you!

Bruce

Monday, March 10, 2008

Hotel Floor Loop

River is working on it!
Just trying to keep up on the homework. These first word problems I found easy, but I still need to write them up. The programs are difficult for me, so I'm trying to use a recursive Binary method. I learned a lot by trying this, but I did not write the program yet. I will keep it simple now.

The word problem "USED CARS" is #5, and "DONUTS" is #11. I think you meant to write # 5 for the USED CARS problem, because we did one like the Donuts already when we did The 5 Newsboys! Check the CSCI 1911 Blog and explain to us.

Sunday, March 9, 2008

Hotel Occupancy

Riverdog said; I have been working on this program for several day now, and i look easier that it really is. I wish everyone luck with this problem.

Bruce

Tuesday, March 4, 2008

Time sound travels

Riverdog said; Got my home computer working, and running programs now. I worked on the class problem #12 some, and just e-mailed it to Mr Cheng. I will turn in the other problems in class on Wednesday. As of right now I plan on attending class on tomorrow.

Computer Repairs

Riverdog said; I was work on the computer and discovered that I must have loaded a network program JRE, and now I am not sure what to do. I am going to bring my laptop on Wed and ask for some of the instructors help to get the JDK program that I am missing. I worked on the homework and I really do like the word problem now. The one about the rectangles as my favorite problem so far.

Friday, February 29, 2008

Friday night class

Riverdog said; Well I am at school in our class room, I was let into the class room to look up some options on the system. There is another class coming in at 520 PM on Fridays, and I will leave soon. I got the homework and learned how to make the printer work in class. We needed the IP address for the printer to load properties last week.


/*File: Distance Traveled.java
*CSCI 1911 Class Bruce McDowell
**/

import java.util.Scanner; // Needed for the Scanner class
/**
This program demonstrates a user controlled for loop.
*/
public class DistanceTraveled
{
public static void main(String[] args)
{
int number; // Loop control variable
int maxValue; // Maximum value to display
int time;
int speed;
int distance;
System.out.println("I will display a table of " +
"time and distance travelled by the hour.");
// Create a Scanner object for keyboard input.
Scanner keyboard = new Scanner(System.in);
// Get the maximum value to display.
System.out.print("How fast is your car? ");
speed = keyboard.nextInt();
while (speed <= 0)
{
System.out.print("Invalid entry try again? ");
speed = keyboard.nextInt();
}
System.out.print("How many hours traveled? ");
time = keyboard.nextInt();
while (time <= 0)
{
System.out.print("Invalid entry try again? ");
time = keyboard.nextInt();
}
// Display the table.
System.out.println("Hour Distance Traveled");
System.out.println("-------------------------");
for (number = 1; number <= time; number++)
{
distance = speed * number;
System.out.println(number + "\t\t" +
distance);
}
}
}

Wednesday, February 27, 2008

3rd Blog for this week

Riverdog said; I learned a lot this week in class, I hope Nicky can catches up. If she will open Web CT homepage and open Discussions she will find "our class program" as an assignment. I will try to open JCreator tomorrow and run some of the programs that I have on file. The tools were not set correctly and I think that this could make a big difference in the running of programs. Tonight we started on loops in chapter 4, and the homework problem was done on the front screen in class, problem 2 in the Java book was posted. Mr. Cheng ask if you would return his book he will need it to prepare for the final exam.

Monday, February 25, 2008

Crossing to River with Dogs

Yes, I completed problems #2 and #11 for next week. I have more fun solving the problems than programing, but I think that will change when I get the JCreator working correctly. Last night I got the JCreator to open, but still get an error on the paths. I don't think that the solution are processing yet either. I did the housemate problem in CR, and the box problem for chapter 7. I have good answers for both problems. Now I am looking forward to class on Wednesday because I have the homework done already. Also got the day off work on Wednesday, for working last weekend on Sunday for twelve hour straight. I plan on going to school and maybe using their lab machines. I am so close to understanding how the programs work, but just need to read a little more. See you all in class. Riverdog-driver out.

Sunday, February 24, 2008

I wish I knew

Yes I wish I knew how to load the programs onto the JCreator, seams I have had trouble with the Java SE, then the JDK; now still having trouble with the projects, workspace, file name. I have spent many wasted nights just trying to get the programs to compile, or run. I have not oot one program to run at home yet!!!!!!!!! I thought it was working for a long time, and just the path wrong, but now I thing that we are not communicating. Still getting errors and the wrong path, and I don't know why. My computer seam different that the book talks about. Bruce

Wednesday, February 20, 2008

In Clas

Riverdog said; I am here in class and I have all the stuff ready for class, I was hoping to do some work before class but this computer is like a sponge, it just assurbs your time. I brought mu Java CD and thumb drive, and was planning on loading the Newboys program that I have to run on this computer, but I don't think that I can complete it tonight.

Class Homework Notes

Riverdog said; Tonight I worked on the Refinancing problem #4. I tried to build a program for it but did not get it to run. So I also did the spread sheet to solve for number of months to recover cost of refinancing the covell's house.

Also did AreaRectangle problem #3 in the Java book. Having trouble with the JCreator but will continue to program with out it till I figure out what the problem is.

Tuesday, February 19, 2008

Chapter 3 in Java Book

Read more in Java book today, and started into Chapter 3 about if statements and loops. I plan on loading some example programs to work on and then I can load them on the JCreator, I will run them soon, but I got a late start this evening.

JCreator

Riverdog said; I worked on the computer all day yesterday and still have trouble with loading SE 5.0.9, I got it loaded but cant find the debugger and when I load the run app in will not out anything. I wish Mr. Cheng would pass out some kingd of handout to help us load the correct version.

Sunday, February 17, 2008

ERROR: Invalid Path,\bin\javac.exe -classpath

Riverdog said; I have been working on the JCreator to run programs, and also a little on the five newsboys problem. I think I could program the rectangle problem when I make it run. Mean while I just read in the Java Book when I have a chance. I will continue to work these problems.

Wednesday, February 13, 2008

Programming some now

All
I was able to manage a couple of the programs today, the one on Circuit Boards was just like the percentage problem, and the namesDialog was just like the example about three names to print.
I think this is going pretty good for the amount of time that I put in. I wanted to try the wireless key on the laptop but was unable to get over there to The AFB this week to try it out. The sun is out now so I might ride the motorcycle to school because my son is using the car more now. I want to do a litte more tomorrow, but don't know how much time I will have tomorrow.

Monday, February 11, 2008

Still working

Riverdog said; Just sent you the testAverage1.1 print out. I still have the same error and can not get it cleared up yet! Bruce

// This program will display and average three test scores.
public class TestAverage{ public static void main(String[] args){ double testScoreA, testScoreB, testScoreC testscoreA = 86 testscoreB = 76 testscoreC = 98
average = +testscoreA+,+testscoreB+,+testscoreC+; System.out.println your test scores of ("+testscoreA+","+testscoreB+","+testscoreC+) System.out.println "your average score of "+average+"

Late night oil

Yes I was able to complete all four of the problems assigned in Crossing the River with Dogs. Eggs in a Basket was alot of fun and I don't think I would have been able to do it without the Mod function that we spoke about in class. I looked at everything divisable by 7 and also odd. Then looked at Mod for 2,3,4,5,6 and it works.

Two problems we did in clsss and the other one, Sequence Patters I was able to do using algebra.

Sunday, February 10, 2008

Programming some

ALL Classmates; I did some reading in the Java Book over the weekend. I open HPU Pipline, and see the list of homework assignments again. I have organized my notebook, and layout the plan to do the problems in my journal for week four.

  • I need to do these problems first, Eggs In A Basket #3, and Four College Roommates #10 on page 61-63 in Crossing the River with Dogs.
  • In the Java Book do Problem 10 and 11 for week 4, Remember to e-mail the source code to Jimmy at CSCI1911.
  • Also problems 13 and 14 for week 5 also in the Java Book. And again remember to e-mail the source code to Jimmy.
  • Lastly for week 5 do problems 1 and 11 on page 105 in CR / dogs.

I just wanted to organize the assignment for myself, Thanks

Friday, February 8, 2008

Need to blog every night

Riverdog said; Wow this week is over and I am tired now. Tomorrow is a new day and after some well deserved sleep I plan on knocking out some homework for CSCI 1911. I look forward to set up java programs and not doing Hazmat for awhile. Turns out I was only committed out to Hazmat for one week. I will be there in class next Wednesday just a note that this week I learn how to set up the blogger.com web site to my opening home page as a tab Thats cool. That seams to make it much easier to blog more often now. Who could pass up 25 % of their grade to blog several times per week.

Thursday, February 7, 2008

More Blogs Now

Riverdog said; I really enjoyed class on last Wednesday. I got my Sales Orediction done, showed my Alice world, got my workwork back, went over some of the problem and made some new friends. Thanks to all of you I am learning about Java, and using the compiler now. I think I like Pascal's Triangle, because it is so clean.

1
1 1
1 2 1
1 3 3 1
1 4 6 4 1
1 5 10 10 5 1

Thursday, January 31, 2008

Sales Prediction continued

Riverdog said; I found the problem with my wireless laptop, then I read some classmate blogs. I work on JCreator with problem 6, and loaded Alice again from scratch. Looking forward to the weekend to do some homework. I started the download feed for your CSCI 1911 update, so I will know when you post new problems to do. I still need to work Alice and the Sales Prediction Problem.

Tuesday, January 29, 2008

Programs 1.1

Riverdog said;
/** Program by: Bruce Mcdowell
FileName: HelloWorld.java
Program Description: This section should contain the complete problem statement. HelloWorld is the first Java program.
Input: This section should contain a simple statement of the desired input to the program and if applicable, statements regarding input validation. No Input required.
Algorithm: This section should contain the algorithm for the problem solution in pseudocode. Output a string coded in the program.
Output: This section should contain a simple descriptive statement of the desired output of the program. The string coded in the program
Originality: I, Bruce Mcdowell, worked alone on this and it is my original work. –OR- I, FirstName LastName, received help from HelperFirstName HelperLastName, and/or used code from the following resource: http://www.yoursource.com/. */
/** Program Test Output Paste your program interaction (input & output)from rigorous testing here. This can be placed here or after the source code in the driver program.*/
public class HelloWorld{ public static void main (String[ ] args) {
System.out.println("Hello World! My name is Bruce McDowell");
}//end main method}//end class

Barrels of fun

This weeks assignment was fun the largest barrel (31) had to be used because the total divided by 3 was 34. Vinegar was in it because that was cheapest per gallon. I found the answer by using the prime numbers of each barrel and I could see that two of them would not give whole number results.
The second problem is a three dimensional problem and does include the height of the sheds.

Wednesday, January 23, 2008

Problem 12 & 13

Riverdog said;
Book problem solved, but difficult. Two complete middle books eaten, and two additional covers. Because we read book from left to right, but we stack books in the case with the binding towards us. Problem 13, seven new customers enter, and one table remains dirty when restaurant is empty.
Next week nineteen remain, and forty shaps are available.

Sunday, January 20, 2008

Java Componets

Riverdog said; Read Java Chapter 1 again, and answered all question this time, I think it helped.

Thursday, January 17, 2008

Blog for wk 2.1

All
I was doing the problem #12 and it first looks so easy. Also I read some of the class handouts, and there is a lot of information in them. As I see it there are, 4 Books times [1 and 1/16 thick, plus 2 covers each of 1 / 16 per book], but its just a logical guess.


Riverdog

Tuesday, January 15, 2008

Personal Question A-1

CSCS 1911, Computer Class workspace I understand what this chapter is about now, but still am developing my own problem, and solution for chapter one.

Bruce

Sunday, January 13, 2008

A-1 Problem

CSCS 1911, Computer Class workspace

Chapter 1, Problems for CR
Yes they are tricky, I have most of them done on paper. I can see where a processor would make these simple. I am having a lot of trouble with the one on the Army Camps and their distance from each other "Dangerous Maneuvers". Can I assume that the route is only by the available road networks?

Bruce

Thursday, January 10, 2008

Riverdog is Bruce

CSCI 1911
This is me and I am blogging for the first time. I wanted to take time and think of a clever blog name for this class. Last night in class I told you that I am in the Military and am stationed at Pearl Harbor. I am interested in computer classes, and recently started repairing my own computers because it just got too expensive to have done. I have read some of the class text book, and plan to enjoy this time.

Primary contact: Wk 473-6691 (Leave Msg)

Alt mail: bruce.mcdowell@us.army.mil