CS 145 Lecture 15 – Tools for Logic
Agenda what ?s tree Venn truth tables TODO Start homework 3. It’s due before October 19. I improved the SpecChecker’s missing method error messages. To get it, you will need to Sync on Bitbucket and pull the changes into Eclipse. Unless you modified things in the readonly directory, you will not encounter any conflicts. I […]
CS 145 Homework 3 – due before October 19
See the PDF.
CS 145 Lecture 14 – Collision Detection
Agenda what ?s a development recipe rectangle Note Our task today is come up with a workflow for preserving our sanity as we write code. Here’s your task: As you solve the problem of colliding rectangles, think about what you are doing to solve the problem. Write down a list of the general steps that […]
CS 145 Lecture 13 – Logical Operators
Agenda what ?s blackboxes logical operators some problems TODO Finish homework 2. Note For each of the following blackboxes, let’s consider what they accomplish and how relational operators enter in: Blackbox 5 Blackbox 14 Blackbox 15 Blackbox 16 Blackbox 17 Using the logical operators, let’s write some methods that tell us if… Code LogicKing.java Haiku
CS 145 Lab 3 – Methods and Logic
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 In this lab, we’ll focus on […]
CS 145 Lecture 12 – Relational Operators
Agenda what ?s logic logic in Scratch relational operators TODO Read section 5.3. Share on a 1/4 sheet 2-3 questions, observations, or relational or logical expressions that you encounter in life. Note Code Relating.java Haiku
CS 145 Lecture 11 – Method Denouement
Agenda what ?s what does this do? method guess who memory tracing multiple classes what does this do? TODO Tomorrow in lab is our second 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. New topics we’ve hit upon […]
CS145 Lecture 10 – Workings of Memory
Agenda what ?s program this generating lines from points visualizing memory TODO Sync on Bitbucket and pull in Eclipse to get a fixed SpecChecker. See Piazza post @68 for more details. Note Most education researchers will tell you that lectures are probably not the best way to learn. Just like the best way to stay […]
CS 145 Lecture 9 – Methods that Take and Give
Agenda what ?s what does this do? methods that take methods that give visualizing method execution TODO Talent is skill developed while no one is looking. While no one is looking, complete some problems from the String-1 section of CodingBat. On Friday’s 1/4 sheet, write down the names of the problems you’ve solved and any […]
CS 145 Homework 2 – due before October 6
See the PDF.