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 […]
CS 245 Homework 1 Part 2 – due before October 11
See the PDF.
CS 245 Lecture 9 – Complexity
Agenda what ?s Hunting Dragons with Binary Search finish binary search What If? comparing algorithms the tradeoff: ease of development or performance I’m More Difficult Than You terrain generation What If? I’m More Difficult Than You Code Spellchecker.java Haiku
CS 491 Lecture 9 – On Today and JSON
Agenda what ?s tracking memories on this day in history database getting and putting memories through $_REQUEST exchanging data with JSON an Android client Code schema.sql put.php get.php edit.xml activity_main.xml Memory.java MainActivity.java Haiku
Navigators Talk
My friend and Navigators campus director Jeff Clochesy gave me the opportunity to speak at Nav Night this past semester. Nav Night is a weekly fellowship time of the Navigators campus ministry. I’m Chris Johnson, which rhymes with Wisconsin. For the past six years I’ve been teaching computer science at the college level. You folks […]
CS 245 Lecture 8 – Brute Force and Spellchecking
Agenda what ?s a little Timer class brute force password cracking with recursion spellchecking with recursion linear search binary search TODO Work on homework 1, part 1. Code Sketcher.java SketcherWidget.java PoorMansTimer.java BruteForcer.java Spellchecker.java Haiku
CS 245 Homework 1 Part 1 – due before October 4
See the PDF.
CS 245 Lab 4 – Recursion
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 7 – Custom Drawing
Agenda Design This inheriting from JPanel to do custom drawing Sketcher Program This recursion Design This Program This Recipe for Custom Drawing Extend JPanel and override paintComponent: Code Person.java GoodPerson.java Sketcher.java SketcherWidget.java StringUtilities.java Haiku