teaching machines

CS 145: Lab 6 – Conditionals

Welcome to lab 6! 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, we’ll explore conditional statements, which […]

CS 148: Lab 6 – Logical Expressions

Welcome to lab 6! 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, we’ll explore the logical operators […]

CS 1: Lecture 18 – If Bifurcations and Ladders

Dear students, Last time we saw how we could introduce extra little diversions or sidesteps into our code. Some bit of code needs to get executed under certain conditions, so we embed it in an if. In other situations, we actually want to choose between two competing bits of code. I call this pattern a […]

CS 396: Meeting 6 – Jamf

Dear students, Today we welcome a team of panelists from Jamf to discover the software engineering process. These folks have been welcome partners. During my first summer in Eau Claire, I was looking to gain some experience with iOS, so they hired me on as Dr. Intern. They’ve hired an overwhelming number of our students. […]

CS 1: Lecture 17 – If Diversions

Dear students, We now turn to another model of logic: Venn diagrams. In the late 1800s, logician John Venn invented a diagram for showing ideas of logic. He writes: I began at once somewhat more steady work on the subjects and books which I should have to lecture on. I now first hit upon the […]

Pixel Cat

To improve listening in my overly large family, we have introduced a feature into our evening meals. Each night, someone issues a challenge, a question, or some other activity that gives each member of the family an opportunity to share and be listened to. Last night, my oldest son gave us the task of creating […]

CS 145: Lab 5 – Logical Expressions

Welcome to lab 5! 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, we’ll explore the logical operators […]

CS 1: Lecture 16 – Shortcircuiting

Dear students, Let’s start with a little number I like to call What Do This Do?. I will show some code, you will inspect it silently for a moment, and then you will argue with your neighbor about what it does. Here we go: What Does This Do? #1 public static boolean isSomething(Random g) { […]

CS 1: Lecture 15 – Truth Tables

Dear students, Today we keep asking questions about data. Let’s start with some blackboxes! Blackbox #1 Blackbox #2 Blackbox #3 Let me be frank with you. Expressing a program’s logic can get really confusing, and this is probably the spot where we make the most mistakes when writing code. There are various tools to help […]

CS 396: Meeting 5 – Graduate School

Dear students, Today, Hannah Miller of the University of Minnesota will share with us about a different sort of future: graduate school, which may lead to academia, a research scientist position, or who knows what. Hannah and I collaborated on a research project several years ago. Our mission was to build a social network for […]

1 2 3