CS 1: Lecture 33 – Separation of Concerns in Slideshow
Dear students, A primary benefit of object-oriented design is that it helps us organize our programs coherently. We can put code and the data that it regularly processes together into the same chunk. Objects allow for the separation of concerns. Class A can focus on its task, and be very good at it. It can […]
CS 1: Midterm 2
See the PDF.
CS 1: Lecture 32 – Stopwatch
Dear students, As with methods, a primary benefit of object-oriented programming is code reuse. We can create a utility and use it over and over again, in many contexts. We will do just that by designing a Stopwatch class. We will use it to time a few operations: a words-per-minute calculator the amount of time […]
CS 148: Lab 12 – Splatbot
Welcome to lab 12! If you have checkpoints from the last lab to show your instructor or TA, do so immediately. No credit will be given if you have not already completed the work, nor will credit be given after the first 10 minutes of this lab. In this lab you will create a robot […]
CS 148: Lab 11 – ArrayList and Object
Welcome to lab 11! If you have checkpoints from the last lab to show your instructor or TA, do so immediately. No credit will be given if you have not already completed the work, nor will credit be given after the first 10 minutes of this lab. In this lab you will create our own […]
CS 396: Meeting 12 – Digital Ocean
Dear students, This week we welcome Brian Hogan from Digital Ocean. How did I meet Brian? Well, back in 2012, I was teaching CS 330: Programming Languages for the first time ever, and I was looking for someone to come in and share about a language that few of us knew. A few students recommended […]
CS 1: Lecture 31 – Reverse Engineering Objects
Dear students, In object-oriented programming, the programmer is really a writer of screenplays. Objects are our actors, which we orchestrate around the stage. We cue them to say certain things, have them interact with other objects, and shape them to have an identity that is all their own. Today, we’ll feel our away around the […]
CS 396: Meeting 11 – Solomon Partners
Dear students, This week we welcome Mike Citak from Solomon Partners. Mike has been in Wisconsin before—he got an English degree at the University of Wisconsin, Madison. Then he found his way down to Iowa, where I had the honor of being his teacher in a class a bit like our CS 145. I shouldn’t […]
CS 145: Lab 10 – Objects and ArrayList
Welcome to lab 10! If you have checkpoints from the last lab to show your instructor or TA, do so immediately. No credit will be given if you have not already completed the work, nor will credit be given after the first 10 minutes of this lab. In this lab you will create our own […]
CS 1: Homework 7 – Donde – due before December 21
See the PDF.