teaching machines

CS 330 Lecture 21 – Object-oriented Programming

Agenda what ?s homework 3 – due before April 4 textbook definition of OOP theorize this what does this do? Game of Life with Conditionals TODO Read http://www.insomniacgames.com/tech/articles/0308/three_big_lies.php. (This page rendered improperly for me; I had to highlight the text to read it.) Read http://hacksoflife.blogspot.com/2008/04/what-is-oop-good-for.html. What do you think? 1/4 sheet. Theorize This What Does This Do? […]

CS 245 Lecture 15 – Android

Agenda what ?s exam? an Android contacts app TODO Homework 2 later-week submission deadline is today/before tomorrow. Preassignment 2 is posted. Code … Haiku

CS 330 Lecture 20 – C++

Agenda what ?s Bjarne’s philosophy C with Classes C++ inheritance a Function hierarchy one language? Think About This C with Classes Polymorphism without Conditions http://www.antiifcampaign.com http://www.refactoring.com/catalog/replaceConditionalWithPolymorphism.html Code Function.h SineFunction.h SineFunction.cpp graph_drawer.cpp Haiku

CS 330 Lecture 19 – Abstracting a GUI

Agenda what ?s finishing GUI abstraction pitfalls of C C with Classes TODO Compose a thoughtful and conceptual question that could appear on the midterm on Piazza. 1/4 sheet point, but just post. Code gui.xml gui_madness.c EmailClient.java Haiku

CS 245 Lecture 14 – Midterm Review

Agenda what ?s review TODO Exam on Tuesday. You probably have a lot of others too. I’m rooting for you. Haiku

CS 330 Lecture 18 – XML Pull Parsing and GUI Abstraction

Agenda what ?s think about this languages for data (https://maps.googleapis.com/maps/api/geocode/json?sensor=false&address=) a GUI description language using XML XML pull parsing TODO Read http://msdn.microsoft.com/en-us/magazine/cc500572.aspx. Read http://stackoverflow.com/questions/3536893/what-are-the-pros-and-cons-of-xml-and-json. Bonus 1/4 sheet. Think About This Code gui.xml gui_madness.c Haiku

CS 245 Lecture 13 – Generics and Maps

Agenda what ?s midterm – next Tuesday interfaces inheritance (overriding, augmenting) binary search informal computational complexity (linear vs. quadratic vs. linearithmic, etc.) growable arrays recursion code tracing code writing conceptual knowledge (not APIs) code reuse? making ArrayList reusable making ArrayList generic the map abstract data type TODO Read Core Java, chapter 12 through section 12.6 […]

CS 330 Lecture 17 – Higher-order Functions in C

Agenda what ?s program this polymorphic sorting in C callbacks with OpenGL/GLUT callbacks with an XML push parser TODO Read chapter 8 through section 8.3. 1/4 sheet. Code olympics.c torus.c Haiku  

CS 330 Lecture 16 – Polymorphism in C

Agenda what ?s finishing stack unions metaprogramming Think About This Code stack1.c stack1.h postfix.c stack3.c stack3.h makefile Note to copy and pasters: makefile rules need to be indented with real tabs, not spaces. Haiku

CS 245 Lecture 12 – Recursion

Agenda what ?s recursion finding a file binary search concentric circles terrain generation merge sort TODO I updated the HW2 PDF. Go to Bitbucket and sync with my repository. Pull the changes down in Eclipse. Start homework 2. Due before 3/14. Code FindFile.java TerrainGenerator.java ArrayUtilities.java Target.java Haiku

1 79 80 81 82 83 110