CS 245 Lecture 15 – Linked String
Agenda what ?s define this the need for a node class pitting linked structures against arrays Define This Code LinkedString.java Haiku
CS 245 Lecture 14 – Linked Snake
Agenda what ?s exam on 10/24 no lab on 10/30 array debate snake TODO Read section 2.5 of Data Structures. 1/4 sheet. Array Debate What is good about arrays? vs. What is bad about arrays? Code SnakePanel.java Snake.java Haiku
CS 245 Preassignment 2 – due before October 31
See the PDF.
CS 245 Lab 7 – Exam Preemption
First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. Don’t forget to work in pairs! Where possible, please work with someone that you did not work with last week. The exchange of new ideas and perspectives is not an opportunity you want to […]
CS 245 Lecture 13 – Snake
Agenda what ?s exam? finish up SortedList review through Snake TODO Read section 2.5 of Data Structures. 1/4 sheet. Tasks for Snake Write Set.remove. Handle up, down, left, right cursor key events. How do we draw the snake? How do we manage the eggs? How we handle the snake moving to a spot with an […]
CS 245 Lecture 12 – Generic Sorted List
Agenda what ?s what does this do? polymorphism: inheritance and parametric program this What Does This Do? Program This Code … Haiku
CS 245 Lab 6 – Generics
First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. Don’t forget to work in pairs! Where possible, please work with someone that you did not work with last week. The exchange of new ideas and perspectives is not an opportunity you want to […]
CS 245 Lecture 11 – Set and Generics
Agenda what ?s what does this do? writing a set data type generalizing code without a supertype What Does This Do? Code VerdeganTest.java Set.java Haiku
CS 245 Lecture 10 – Abstract Classes
Agenda what ?s the inheritance spectrum abstract classes writing a travel diary with Google Earth TODO Read on Generics in chapter 12 through section 12.3 in Core Java. 1/4 sheet. Travel Diary Code TravelDiary.java Placemark.java LatLon.java PinPlacemark.java LinePlacemark.java RegionPlacemark.java Main.java Haiku
CS 245 Lab 5 – Recursion Continued
First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. Don’t forget to work in pairs! Where possible, please work with someone that you did not work with last week. The exchange of new ideas and perspectives is not an opportunity you want to […]