CS 145 Lecture 3 – Hello Again, Java
Dear students, We start today with a little segment I like to call What Does This Do?. I show you a short snippet of code, you slurp it into your brain, swish it around a few times, and figure out what it does. The task would be much easier if I picked good meaningful names […]
CS 352 Lecture 3 – Electricity for Computer Scientists
Dear students, Today we step have a look at the foundation of our technology: electricity. Let me preface by admitting that I am no expert in this field. My understanding of this field is patched together through unstructured fiddling; it has many holes and assumptions that threaten its collapse. We discuss it now because this […]
CS 145 Lecture 2 – Hello, Java
Dear students, Last time we peaked into a primary activity of computer science: organizing process. We started this adventure using Madeup, but today we’ll jump into Java, the language we will spend most of our time with this semester and next. Java is a language developed by Sun Microsystems. It surged to popularity because in […]
CS 352 Lecture 2 – Bases
Dear students, Last time we looked at how aliens might encode a message and send it to us. After class I was thinking about the suggestion that they use ASCII. But this would really be quite a leap for them, because the only alphabet that they know that we understand is Morse. All the communication […]
CS 352 Homework 0, Part 3
In part 2, you created your homework repository on Bitbucket, cloned it on your local machine, and pushed local changes back up to Bitbucket. In this installment, you will learn how to pull changes down from Bitbucket to your local mirror. Pulling Suppose your home on for the weekend, and you get the craving to […]
CS 352 Homework 0, Part 2
Follow these steps to create your class homework repository and get homework 0 up and running. 1. Create a Bitbucket account In this class, all your code will be stored with the Bitbucket webservice. Using this third-party service has some nice benefits: they maintain a complete history of your source code using some software called […]
CS 145 Lab 1 – Variables and I/O
Welcome to the lab section of CS 145! Lab is a time intended for you to work on programming exercises in a low-stakes environment and with lots of help at your disposal. This is how it works: You complete a few checkpoints, which consist of short programming exercises. Questions are always fair game. Your instructor […]
Code Scrambler
Some of the most engaging learning I’ve ever experienced was in high school Spanish class. What magic did Mrs. Lee possess that made instruction so enjoyable? She had us play countless games. I try to emulate her foreign language classroom when I teach folks a new programming language and am therefore always on the hunt […]
CS 145 Lecture 1 – Main
Dear students, Welcome to CS 145: Introduction to Object-oriented Programming. This is the first course in the computer science major, but lots of other folks take it too. In fact, I will show a quick breakdown of all the different majors. What prompted you to take this class? Very few high schools teach such a […]