teaching machines

CS 145 Lecture 8 – Computer as Chef

Agenda what ?s encapsulation methods elsewhere (PureData, Madeup) methods in Java TODO Read section 1.4 and chapter 3 through section 3.1. Write 2-3 questions observations down on a 1/4 sheet. Code Circler.java Haiku

CS 145 Lab 2 – Scanner and String

First, if you have checkpoints left over from last lab, get them inspected during the first 15 minutes of this lab. No credit will be awarded past these 15 minutes. Don’t forget to work in pairs! Please work with someone that you did not work with last week. Objective As we write code to operate […]

CS 145 Lecture 7 – String Methods

Agenda what ?s right and wrong the String model String problems TODO Finish homework 1. Dealing with setup issues, computer failures, and life’s troubles is part of homework. Only code submitted to Bitbucket will be graded. Note Writing code is much more enjoyable when you start to recognize the patterns that govern its structure. So, […]

CS 145 Lecture 6 – Scanner and String

Agenda what ?s primitives and objects Scanner String problems TODO Watch the first video here: https://www.youcubed.org/boosting-messages-from-how-to-learn-math-for-students. This video is taken from an online course on math learning, but you can very validly swap out every reference to “math” with “computer science.” No 1/4 sheet, but watch it anyway. Recall that homework 1 is due before […]

CS 145 Lecture 5 – More on the Math Class

Agenda what ?s quiz tomorrow blackboxes more math problems switching between types TODO Tomorrow in lab is our first quiz. Prepare a question (or two or three, in case yours gets nabbed by someone else) to share with your lab group before the quiz. Topics we’ve hit upon so far include: the arithmetic operators, variables, […]

CS 145 Lecture 4 – Types and the Math Class

Agenda what ?s program this expression evaluation the numeric primitives casting methods from the Math class TODO Read chapter 1, section 1.4, and chapter 2 through section 2.2. Create an account on Practice-It!, a Java quizzing website built by the authors of your textbook. Solve a few problems from chapters 1 or 2. Word on […]

CS 145 Lecture 3 – Bitbucket and Variables

Agenda what ?s variables types the Math class TODO Set up your homework repository on Bitbucket by following the steps of the video below. Start homework 1. Note We continue our treatment of the computer as a glorified calculator, but we one-up those little number crunchers in a couple of ways. First, we give our […]

CS 145 Homework 1 – due before September 22

See the PDF.

CS 145 Lab 1 – Data and Operations

Welcome to CS 145, a class where you learn to teach machines. You won’t just use them. You’re going to become a developer. The lab portion of this class is a time for us to throw some problems at you and for you to clarify your understanding, collaborate with others, get things wrong, and ask lots of […]

CS 145 Lecture 2 – Computer as Calculator

Agenda what ?s communication and office hours course breakdown hello, Java hello, Eclipse computer as calculator operators and literals program this TODO For Wednesday, write a program in Eclipse and on a 1/4 sheet that calculates and prints a vehicle’s gas mileage between fillups. Let the computer do the computing—craft expressions out of mathematical operators and raw […]

1 17 18 19 20 21 35