Lecture
Instructor
- Rob Atlas
Email: ratlas AT cs.wisc.edu (include CS 302 with a descriptive subject)
Office: 1301 CSS
Office Hours: M: 4:00 - 5:00 PM W: 11:00 AM - 12:00 PM Th: 1:30 - 2:30 PM or by appointment
Lecture 7 and 8 Announcements
Lectures, Resources, Homework
-
Mon 05/07: Comparable Interface
HW - Program 4
Code: Shape Interface , Square Class , Triangle Class , Shape Tester
Lecture Outline: Microsoft Word , Html
-
Fri 05/04: Interfaces
HW - For Monday - Program 4
Code: Shape Interface , Square Class , Circle Class , Shape Tester
Lecture Outline: Microsoft Word , Html
-
Wed 05/02: The Object Class, Interfaces
HW - For Friday - Finish ch. 9
Code: Vehicle Class , Tester Class , Bike Class , Car Class
Lecture Outline: Microsoft Word , Html
-
Mon 04/30: The Java Class Hierarchy and Inheritance
HW - For Wedneday - Finish reading ch. 9
Lecture Outline: Microsoft Word , Html
-
Fri 04/27: Creating Exceptions, Introduction to Inheritance
HW - For Monday - Work on program 4, read ch 9.1-9.2
Code: Verifying input with our own exceptions , InputTooShortException , ContainsA4Exception
Lecture Outline: Microsoft Word , Html
-
Wed 04/25: Catching Exceptions, Finally Blocks
HW - Work on Program 4
Code: Errors , More Complicated Exception Handling , Using finally
Lecture Outline: Microsoft Word , Html
-
Mon 04/23: Intro to Handling Exceptions
HW - For Wednesday - Finish reading ch. 8
Code: Unchecked Exception Handling , Checked Exception Handling
Lecture Outline: Microsoft Word , Html
-
Fri 04/20: Parsing Strings
Code: Email Reader , Sample email file
Lecture Outline: Microsoft Word , Html
-
Wed 04/18: Processing Input
Code: Reading a Web Page
Lecture Outline: Microsoft Word , Html
-
Mon 04/16: Input (Reading Files), Output (Writing Files), Exceptions
HW - For Wednesday - Work on Program 3
Code: Reading and Writing Files
Lecture Outline: Microsoft Word , Html
-
Fri 04/13: Bonus Class - Steganography (YOU ARE NOT RESPONSIBLE FOR THIS MATERIAL)
HW - For Monday - Read ch. 8.1-8.3
Code: Steganography , Image Reader
Lecture Outline: Microsoft Word , Html
-
Wed 04/11: Review
HW - For Friday - Study
Code:Input Validation Class , Validator Class
Lecture Outline: Microsoft Word , Html
-
Mon 04/09: Overriding .equals, Public and Private, Packages, Exam 2 prep
HW - For Wednesday - Study
Code: Override .equals
Lecture Outline: Microsoft Word , Html
-
Fri 03/30: Overriding .equals, Command Line Arguments
Code: Grocery Store , Aisle , Food Item
Lecture Outline: Microsoft Word , Html
-
Wed 03/28: Class Members - Class Variables, Class Constants, Class Methods
Code: Grocery Store , Aisle , Food Item
Lecture Outline: Microsoft Word , Html
-
Mon 03/26: Thinking like an Object-oriented Programmer, Parallel Arrays, Overriding toString, Helper Instance Methods
HW - For Wednesday - Get started on Program 3 if you haven't yet
Code: Grocery Store , Food Item
Lecture Outline: Microsoft Word , Html
-
Fri 03/23: Constructors, Testing Classes
HW - For Monday - Finish ch. 7
Code: Circle Class , Circle Tester
Lecture Outline: Microsoft Word , Html
-
Wed 03/21: Instance Variables, Instance Methods
Code: Voting Machine
Lecture Outline: Microsoft Word , Html
-
Mon 03/19: Intro to Object Oriented Programming
Lecture Outline: Microsoft Word , Html
-
Fri 03/16: Arrays of Objects
HW - For Monday - Read 7.1-7.4
Code: Array of Strings , Removing Duplicates from an ArrayList
Lecture Outline: Microsoft Word , Html
-
Wed 03/14: More ArrayLists
HW - For Friday - Work on Program 2, Review Exam 1
Code: Inventory (completed)
Lecture Outline: Microsoft Word , Html
-
Mon 03/12: ArrayLists
HW - For Wednesday - Work on Program 2, Catch up on Readings
Code: Names Program without ArrayLists , Names Program with ArrayLists
Lecture Outline: Microsoft Word , Html
-
Fri 03/09: Recursion (Optional)
HW - For Monday - Read ch. 6.6
Code: Recursive Factorials , Recursive Anagrams
Lecture Outline: Microsoft Word , Html
-
Wed 03/07: Exam 1 Review
-
Mon 03/05: 2D Arrays, Exam 1 Review
HW - For Wednesday - Study, Program 2
Code: Exam 1 Topics as 2d Array , More Call Stack Tracing
Lecture Outline: Microsoft Word , Html
-
Fri 03/02: Passing and Returning Arrays, 2D Arrays
HW - For Monday - Program 2, Study
Code: Returning Arrays , Another Array Example
Lecture Outline: Microsoft Word , Html
-
Wed 02/29: Stepwise Refinement, Call Stack Tracing, Arrays as Parameters
HW - For Friday - Read ch. 6.5
Code: Leap Year , Calculate Averages
Lecture Outline: Microsoft Word , Html
-
Mon 02/27: Methods, Void Methods
HW - For Wednesday - Read ch. 5.6-5.7
Code: 99 Bottles of Beer , Drawing Program , Variable Passing Example
Lecture Outline: Microsoft Word , Html
-
Fri 02/24: Methods
HW - For Monday - Read ch. 5.3-5.5
Code: Generate Random Numbers 1
Lecture Outline: Microsoft Word , Html
-
Wed 02/20: Array References, For Each Loop, Methods
HW - For Friday - Read ch. 5.1-5.2
Code: Arrays as References , For Each Loop
Lecture Outline: Microsoft Word , Html
-
Mon 02/20: Arrays
HW - For Wednesday - Read ch. 6.3-6.4
Code: Partially Filled Array
Lecture Outline: Microsoft Word , Html
-
Fri 02/17: Nested Loops, Simulations
HW - For Monday - Read ch. 6.1-6.2
Code: Factoring Numbers , Multiplication Table , Prime Numbers , Monte Carlo Method
Lecture Outline: Microsoft Word , Html
-
Wed 02/15: Do Loops, Input Validation
HW - For Friday - Finish Reading ch. 4
Code: Palindrome Identifier , Do Loop Example , Input Validation with a Menu
Lecture Outline: Microsoft Word , Html
-
Mon 02/13: While Loops, For Loops
HW - For Wednesday - Read and understand 4.4
Code: Are we there yet? , Factorials
Lecture Outline: Microsoft Word , Html
-
Fri 02/10: Boolean Operators, Input Validation, While Loops
HW - For Monday - Read and understand 4.1-4.3
Lecture Outline: Microsoft Word , Html
-
Wed 02/08: If/Else Conditions, Comparisons, Switch Statements, Booleans
HW - For Friday - Finish Ch. 3
Code: Birthday Part 2
Lecture Outline: Microsoft Word , Html
-
Mon 02/06: Strings, If/Else Conditions
HW - For Wednesday - Read Ch 3.3-3.4
Code: Easy String Cipher , Number Guessing Game
Lecture Outline: Microsoft Word , Html
-
Fri 02/03: Arithmetic, Random Numbers, Strings
HW - For Monday - Read 3.1-3.2
Code: Quadratic Formula , Arbitrary Sided Dice
Lecture Outline: Microsoft Word , Html
-
Wed 02/01: Constants, Comments, I/O, Arithmetic
HW - For Friday - Finish Ch. 2
Code: Birthday Program
Lecture Outline: Microsoft Word , Html
-
Mon 01/30: Variables, Variable Naming, Constants
HW - For Wednesday - Finish Reading Ch. 2
Code: Football Scoring , Maximum Integer
Lecture Outline: Microsoft Word , Html
-
Fri 01/27: Printing, Errors
HW - For Monday - Read Ch. 2.1-2.4
Code: Println Art , Print Addition Examples
Lecture Outline: Microsoft Word , Html
-
Wed 01/25: Java, Programs, Hello World
HW - For Friday - Finish ch 1
Code: Hello World
Lecture Outline: Microsoft Word , Html
-
Mon 01/23: Intros, Syllabus, Algorithms
HW - For Wednesday - Read Ch. 1 in the textbook
Course Info
Last updated: 5/7/2012 © 2010-12 Jim Skrentny (cgi by Dalibor Zelený)