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 […]
CS 145 Lecture 20 – For Loops
Agenda what ?s alphabet fillDown indexOf program this TODO Start homework 4, which is due before October 31. This is a full homework. You will want to use the full two weeks. Read sections 5.1, 2.3-2.4, and 4.2. Turn in next lecture a 1/4 sheet with questions, observations, and examples of algorithmic repetition you see […]
CS 145 Lecture 19 – Looping II
Agenda what ?s predicate chain game program this loops driven by user input sharing birthdays for loops Predicate Chain Game Decide upon a yes-or-no that you can ask about someone–a predicate. If you were to ask yourself this question, you would say yes. For example: Are you related to Abraham Lincoln? Ask your right-neighbor this question. If […]
CS 396 Lecture 7 – JAMF
Agenda what ?s Doug Rhoten of JAMF TODO Share two observations or questions you took away from our discussion with JAMF. Research our next speaker: Target. Prepare two questions you might ask Emily Sjodin and company. Turn these in on one 1/4 sheet at the beginning of next class.