CS 145 Lecture 25 – Array Bingo
Agenda what ?s array bingo you call Bingo The rules: Each player drafts a board: an array of 10 ints in [0, 9]. The instructor calls out a series of boolean expressions that involve elements of the players’ boards. The leftmost element identified in the expression is the target. If the expression is true for […]
CS 396 Lecture 9 – 3M
Agenda what ?s Ben Zimmer of 3M TODO Share two observations or questions you took away from our discussion with 3M. Research our next speaker: Ryan Hardt and graduate school. Prepare two questions you might ask Ryan. Turn these in on one 1/4 sheet at the beginning of next class. Read http://okepi.wordpress.com/2014/08/21/how-to-become-a-programmer-or-the-art-of-googling-well and read http://matt.might.net/articles/phd-school-in-pictures. Share your response an […]
CS 145 Lecture 24 – Hello, Arrays
Agenda what ?s the birthday problem numbering our data arrays Program This You, being a degree-seeking human, have an insatiable appetite for trivia. You wonder how many birthdays are in the room. Does each person have a unique birthday? Was everybody born on just one day? Or is the answer somewhere in the middle? How […]
CS 145 Lecture 23 – Loops V
Agenda what ?s what does this do? blackboxes loops in other languages TODO Share a quiz question before the quiz in Monday’s lab. Pretend that your question might actually appear in the quiz: make it short, direct, and on topic. Worth a 1/4 sheet. What Does This Do? Blackboxes Blackbox 7 Blackbox 6 Blackbox 8 […]
CS 145 Lecture 22 – Loops IV
Agenda what ?s program this inverting a BufferedImage blackboxes TODO No Weekly Outside Problem this week. Mercy Fortnight expires before Friday. Blackboxes Blackbox 7 Blackbox 6 Blackbox 8 Program This Code GetThird.java Image.java Inverter.java Haiku
CS 396 Lecture 8 – Target
Agenda what ?s Anders Petersen of Target TODO Share two observations or questions you took away from our discussion with Target. Research our next speaker: 3M. Prepare two questions you might ask Ben Zimmer and company. Turn these in on one 1/4 sheet at the beginning of next class.
CS 145 Lecture 21 – Image Manipulation
Agenda what ?s working with images program this Program This Grayscale images are two-dimensional grids of pixels. Each pixel is represented as an int in [0, 255], with 0 being black and 255 being white. Imagine a grayscale image that can be generated with an algorithm. Many patterns and shapes can be produced by algorithms. Write […]