teaching machines

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 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

CS 491 Lecture 7 – List Views

Agenda single letter domain names list views two letter domain name app in iOS and Android TODO Read up on Android’s Intent mechanism at http://www.vogella.com/articles/AndroidIntent/article.html. 1/4 sheet. Mobile User Interface Code ViewController.m activity_main.xml MainActivity.java Haiku

CS 491 Lecture 6 – Group Time

Agenda group time TODO Skim Apple’s table view documentation. Skim a tutorial on Android’s ListView. 1/4 sheet. Hash Out Does someone want to be the iOS person? The Android person? The database person? The server person? The manager? Do we want to share roles? How can we ensure everyone knows what’s going on? What project […]

CS 245 Lecture 6 – Inheritance

Agenda reusing more than signatures ToasterPlus a Raffle Drawer TODO  Read chapter 5 in Core Java, through section 5.1. 1/4 sheet. Inheritance Interface inheritance: reuse method signatures so that generalized code can operate on our classes. This lets old code call new code. Implementation inheritance: reuse method signatures and bodies so that we can extend […]

CS 245 Lab 3 – Interfaces

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 491 Lecture 5 – Easier GUIs and Callbacks

Agenda the GUI development algorithm ClickAndSee on iOS ClickAndSee on Android TODO Read sections Overview, Layouts, Input Controls, and Input Events in the Android documentation. Read Apple’s UI element documentation. 1/4 sheet. Code ViewController.m AndroidManifest.xml activity_main.xml MainActivity.java Haiku

1 2 3