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 […]
Random Splats with Lobes
Earlier I discussed my silly dream of generating random splats. That dream had a sequel that the recent break afforded me time to pursue: generating random splats with lobes. I had a hunch that this task would be easier if I had a utility function for generating a random curve that netted a turn of […]
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.
CS 1: Lecture 30 – Hello Objects
Dear students, Today we start by finishing up our exercise with the card game. We’ve seen the Computer as a Calculator, a Chef, a Philosopher, a Pilot, and a Factory Worker. We’ll see it in two more roles: a Scribe and a Creator. A scribe is literate, recording accounts and memories for later retrieval. We’ve […]
CS 1: Homework 6 – SimFur – due before December 8
See the PDF.
CS 148: Lab 10 – Arrays
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 work with data […]
CS 1: Lecture 29 – Growable Arrays
Dear students, Arrays make the modern world happen. The computer itself can be viewed as one big array, lining up all our data, music, photos, and movies on disks and in RAM. However, arrays have their limits. In particular, arrays are fixed in size. We need to know their size when we create them. Sometimes […]