VOICES 2019: Learning Music Theory through Code with Deltaphone
Follow is a draft of my talk for VOICES 2019, a virtual conference on the use of music in STEM learning. This is the first virtual conference I have attended. No flight, no badge, no bag of unwanted promotional materials. Just people talking about music and learning from the comfort of their homes and offices. […]
CS 148 Lab 3 – Math and String
Welcome to lab 3! 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. Work with a partner that you have not […]
CS 145 Lab 2 – Math and Strings
Welcome to lab 2! 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. Work with a partner that you have not […]
CS1: Lecture 6 – String
Dear students, We have been looking at the computer’s role as a calculator, but we will deviate from this theme today. Numbers are not the only thing that computers are good at crunching. They are also really good at crunching communication. They can send out our words (and propaganda) as fast as electricity travels. So, […]
CS1: Lecture 5 – Primitive Types
Dear students, We’re going to start with a little game. You will pick a number, I will present to you a series of sheets with numbers written on them, you will tell me if your number is present, and I will tell you what your number is. It’ll be a little bit of magic! Or […]
CS1: Lecture 4 – Math Methods
Dear students, Today we introduce the Math class. This class has a bunch of pre-written recipes for computing various mathematical operations. We can see what it all provides by looking at its documentation. I usually find the documentation for a class by searching java ClassName in my favorite search engine. The Math class is full […]
CS 148 Lab 2 – Scanner
Welcome to the lab 2! Our goal today is to become more familiar with user interaction and the various mathematical operations. Checkpoint 1 Person A, take control of the machine! Let’s write a program that prompts the user for two colors and mixes them together. This sort of routine is used all the time when […]
CS1: Lecture 3 – More Math
Dear students, Last time we started writing programs that performed little mathematical calculations for us. We used text to talk to the user in a more friendly way than the calculator. We used int for whole number data, and double for numbers with fractions. We used Scanner to get input. Writing programs is a new […]
CS 145 Lab 1 – Scanner
Welcome to the first lab of CS 145! Protocol 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. Read each of these out loud with your lab partner and check them off to acknowledge your understanding: You complete a few […]
CS1: Lecture 2 – Computer as Calculator
Dear students, Last time we inspected several programs and formulated these several decrees made by the designers of Java that explain why our programs are what they are: Decree 1: There is data and there are instructions. Decree 2: Code can be ours, or it can be someone else’s. Decree 3: Data can be mailed […]