CS 245 Preassignment 1 – due before February 10
See the PDF.
CS 245 Lecture 3 – Callbacks a la Interfaces
Agenda what ?s image directory cursor what are types for? abstracting the three little pigs making Grandma’s code call ours named interface implementations anonymous interface implementations TODO Watch Steve Witten’s Making Things with Math (http://www.youtube.com/watch?v=Zkx1aKv2z8o). Minutes 15-20 provide some intuition about the preassignment. Start preassignment 1. I fixed some typos in the specification, so please […]
CS 330 Lecture 3 – Shell and Regex
Agenda what ?s what does this do? what sets shell apart? writing Java globbing and patterns TODO Read Gabriel’s Worse is Better (http://dreamsongs.com/RiseOfWorseIsBetter.html). Read section 13.4.2. 1/4 sheet. What Does This Do? Code … Haiku
CS 330 Lecture 2 – Shell Scripting
Agenda what ?s who you are toolsmiths? duality redirection, expansion, and substitution some scripts find biggest files recycle instead remove mass email TODO Read chapter 13 through 13.2.1. If you are thirsty for more: http://www.johndcook.com/blog/2010/06/30/where-the-unix-philosophy-breaks-down http://www.faqs.org/docs/artu/ch01s06.html Optional challenge: write a one-liner to change permissions of all files and their descendants to be others-readable (without qualification) […]
CS 245 Lab 1 – JUnit and GUIs
Welcome to the first lab of CS 245. Lab 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 questions. Your work for each checkpoint section is inspected by your instructor or TA. Checkpoints are only inspected […]
CS 245 Lecture 2 – GUIs, Clickture
Agenda what ?s who you are program this writing a slideshow application TODO Optional: review CS 145 stuff in chapters 3 and 4 in Core Java. Read Core Java 6.3 through 6.4.2 and 7 through 7.2. What Swing widget creates a box for editing text? 1/4 sheet. Program This Code IPAddress.java TestIPAddress.java AnnotationExample.java Clickture.java ImageDirectoryCursor.java […]
CS 330 Lecture 1 – Hi and Shell
Agenda meta define this course outline shell Define This TODO Watch and play along with the video above on using Bitbucket for homework. Read the syllabus. Read Fred Brooks’ The Computer Scientist as Toolsmith II (http://www.cs.unc.edu/~brooks/Toolsmith-CACM.pdf). Change your shell as you wish. Bring a 1/4 of paper to Friday’s lecture with two questions and two […]
CS 245 Lecture 1 – Hi and JUnit
Agenda introductions black box meta test-driven development JUnit an class for an IP address TODO Watch and play along with the CS 245 Bitbucket video above. Find and watch a YouTube video on JUnit. Read the syllabus. Hand in at the beginning of next lecture a 1/4 sheet of paper with two questions and two […]
CS 330 – Programming Languages
Meta Syllabus Enrollment: 54 Lectures Homework Exams
CS 245 – Advanced Programming and Data Structures
Information Syllabus Enrollment: 46 Lectures Labs Homework Exams