Announcements, Homework, Lecture Outlines most recent first

Monday 19-May

Grades have been officially submitted


Wednesday 7-May: Last day of classes

Announcements


 

Monday 7-May

Homework

Lecture


 

 

Friday 2-May

Announcements

Homework

Lecture


 

Wednesday 30-April

Announcements

Homework

Lecture


Monday 28-April

Announcements

Homework

Lecture


Friday 25-April

Announcements

Homework

Lecture


 

Wednesday 23-April

Announcements

Homework

Lecture


Monday 21-April

Announcements

Homework

Lecture


 

Friday 18-April

Announcements

Homework

Lecture

         "y " [o]

            "ve" [s]

      "s " [i]

         "ol" [i]

   "li" [c, k, v]

            "ke" [s]

               "iv" [e]

         "ik" [e]

      "ic" [e, y]

               "es" [ , ]

            "e " [l]

               "cy" [ ]

         "ce" [ ]

"Al" [i]

      " o" [l]

   " l" [i]

      " i" [c]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Wednesday 16-April

Announcements

Homework

Lecture


Monday 14-April

Announcements

Homework

Lecture


 

Friday 11-April

Announcements

Homework

Lecture


Wednesday 9-April

Announcements

Homework

Lecture


 

Monday 7-April

Announcements

Homework

Lecture


 

Friday 4-April

Announcements

Homework

Lecture


Wednesday 2-April

Announcements

Homework

Lecture


Monday 31-March

Announcements

Homework

Lecture

Scanner keyboard = new Scanner(System.in);

String fileName = keyboard.nextLine();

Scanner inputFile = null;

try {

    // Throws exception if file with the input name can not be found

    inputFile = new Scanner(new File(filename));

}

catch (FileNotFoundException fnfe) {

  System.out.println("File not found: '" + fileName + "'");

}

// Treat scanner as a Scanner object with nextInt, hasNextLine, and nextLine

 


Friday 28-March

Announcements

Homework

Lecture

Algorithm to escape from the starting point to the first exit found in the obstacle course (or return false if there is no escape)

public boolean findTheExit(int row, int column) {

   boolean escaped = false;

 

   if current row and column is a possibility (not blocked and not tried)    {

         set current location to TRIED;

           if current location is on the border, the mover is out so

            set escaped = true

        else         {

           let escaped = (RP1) success of escaping using the row below   

           if still not escaped

                let escaped = (RP2) success of escaping using the column to the right

            if still not escaped

                 let escaped =  (RP3) success of escaping using the row above

            if still not escaped

                 let escaped = (RP4) success of escaping using the column to the left

        }

        if the mover was known to escape (escaped is true)  during this current method

           let current location = PART_OF_PATH; 

   }

     return escaped back to the caller, which is usually this very same method
} // end tryThisWay

 

++ +++O+++++++++++++

+     O+   +   ++ ++

+   OOO     +++++ ++

+  OO++  ++++ + + ++

+  O+ + ++    +++  +

+  OOO SOO+  ++  + +

+++++O+ +O     ++  +

+++++O+++O + +  ++ +

+    OOOOO + +   + +

+++++ + OO      ++ +

++++++++++++++++++++

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 


Wednesday 26-March

Announcements

Homework

Lecture


 

Monday 24-March

Announcements

Homework

Lecture


Wednesday 12-March

Announcements

Homework

Lecture


Monday 10-March

Announcements

Homework

Lecture

 

Friday 7-March

Announcements

Homework

Lecture


 

Monday 3-March

Announcements

Homework

Lecture


 

Wednesday 5-March

Announcements

  Quiz 1 Quiz 2 Quiz 3
Count 68 64 65
Average 41.8 39.7 40.7
Median 44.5 41.0 42.0
Max 50 49 50
Min 23 18 20

Homework

Lecture


 

Monday 3-March

Announcements

Homework

Lecture


Friday 29-Feb

Announcements

Homework

Lecture


 

Wednesday 27-Feb

Announcements

Homework

Lecture


Monday 25-Feb

Announcements

Homework

Lecture


 

Friday 22-Feb

Announcements

Homework

Lecture


 

Wednesday 20-Feb

Announcements

Homework

Lecture


 

 

Monday 18-Feb

Announcements

Homework

Lecture


 

 

Friday 15-Feb

Announcements

Homework

Lecture


 

Wednesday 13-Feb

Announcements

Homework

Lecture


Monday 11-Feb

Announcements

Homework

Lecture


 

Friday 8-Feb

Announcements

Homework

Lecture


Wednesday 6-Feb

Announcements

Homework

Lecture


Monday 4-Feb

Announcements

Homework

Lecture

Quiz 1 is Monday, 4-Feb


Friday 1-Feb

Announcements

Homework

Lecture


 

 

Wednesday 30-Jan

Announcements

Homework

Lecture


 

 

Monday 28-Jan

Announcements

Homework

Lecture

    @Test

    public void testToString() {

      GameOfLife society = new GameOfLife(2, 10);

      String expected = "..........\n..........\n";

      assertEquals(expected, society.toString());

      society.growCellAt(0, 0);

      society.growCellAt(0, 4);

      society.growCellAt(0, 8);

      society.growCellAt(1, 2);

      society.growCellAt(1, 6);

      assertEquals("O...O...O.\n..O...O...\n", society.toString());

    }


 

Friday 25-Jan

Announcements

Homework

Lecture


Wednesday 23-Jan

Announcements

Homework

Lecture


Monday 18-Jan  3:00 pm

Announcements


Friday 18-Jan

Announcements

Homework

Lecture


Monday 16-Jan

Announcements

Homework

Lecture