teaching machines

CS 245 Lecture 19 – Stack Algorithms

Agenda what ?s new homework program this stack tag checker finding a file postfix calculator Program This Code test.html TagChecker.java Haiku

CS 491 Lecture 18 – Speech Recognition and Text-to-Speech

Agenda what ?s an app for counting things Exercise Bird watchers sit for hours in the woods and count how many times they see each species of bird. Children on long car trips count how many blue cars they see, and how many red, and how many black. Masters of verbal communication count how many […]

CS 245 Lecture 18 – Dummy Nodes and Iterators

Agenda what ?s the importance of linked list the tradeoff: simplicity vs. performance switching linked list to use dummy nodes program this: prepend supporting fast iteration exams back Program This Code LinkedList.java Main.java JavaLinkedListFun.java Haiku

CS 245 Lecture 17 – LinkedList and Iterator

Agenda what ?s how’s it going? classify this genericizing linked list faster iteration TODO Read section 2.5 of Data Structures. 1/4 sheet. Code … Haiku

CS 491 Lecture 15 – Working with the Camera

Agenda what ?s TODO Read Android’s Taking Photos Simply. Skim Apple’s camera programming documentation. 1/4 sheet. Exercise Two things are true: Some of the best stories are told as a three-panel comic strip. We need to learn how to use the camera on a mobile device. Let’s exploit this plurality of truth by writing an app […]

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 491 Lecture 13 – Persisting with Preferences

Agenda what ?s the need for persistence the need for lightweight persistence persisting in TicTacToe TODO Read http://mobile.tutsplus.com/tutorials/iphone/nsuserdefaults_iphone-sdk. Read http://www.vogella.com/articles/AndroidFileBasedPersistence/article.html. 1/4 sheet. Exercise Apps are made to be interrupted. Let’s get our hands dirty by implementing a game of TicTacToe, preserving the game state on interruption, and restoring the game from the persisted state on resume. Write […]

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

1 84 85 86 87 88 110