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 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 491 Lecture 6 – Smoothing and Projectiles

Agenda what ?s smoothing user input projectiles dynamic parenting throttling fires expiring TODO Find a couple of resources on creating pixel art. Make something(s)! Print it off along with a list of the resources you consulted for next Wednesday’s 1/4 sheet. Code SmoothingDemo.java Haiku

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 491 Lecture 5 – Rator Vaders

Agenda what ?s multisprites AD movement projectiles Design This You must entertain a niece or nephew for the next half-hour. You have an egg carton, a pocketful of change, some paperclips, and a d12. Design a game to play. Code 7e04c5d Haiku

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 491 Lecture 4 – Finishing Mathch, Really

Agenda what ?s win logic switching between sprites adding sounds (sfxr) TODO Monday is our first lab. This weekend I’ll send out an email with teams. For Wednesday, read up on Transform, vector arithmetic, and Rigidbody. Check out both the manual and the scripting reference on Transform and Rigidbody. On a 1/4 sheet, answer these questions, making sure […]

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 491 Lecture 3 – Finishing Mathch

Agenda what ?s avatars mouse events singleton coroutines swapping sprites TODO Read through the Scripting Overview, up through the Coroutines section. For Friday, write down on a 1/4 sheet 2-3 questions, ideas, connections, or observations drawn from your reading. Code d223074 Haiku

1 60 61 62 63 64 110