Boston University Seal Boston University
College of Arts and Sciences
Computer Science Department

CS 111: Introduction to Computer Science, Summer 2005
Info and Announcements Course Description Books & Software Assignments and Labs Examples

Please report broken links to
Class meeting Concept Examples from class
Wed 6 July General Java syntax, Standard output
Variables, data types
Thu 7 July Variables, data types
Standard input
Mon 11 July Using pre-defined classes, creating instance of objects, using references.
Creating references to Strings, calling methods.
Tue 12 July Review of object instantiation.
Using constructors.
Mutator and Accessor methods.
Wed 13 July Static methods, static member data.
Practice using DecimalFormat class.
Thu 14 July Using the Java Graphics library. [some code to get us started] (the drawing I did in class)
Mon 18 July Expressions, selection using if statements.
Tue 19 July Comparing floating point numbers,
comparing objects (e.g. Rectangles),
and using the switch statement.
Wed 20 July Repetition using while loops.
Sentinel-controlled repetition.
Counter-controlled repetition.
Using repetition to create animation. [to pause the animation] [the starter code] [my solution]
Thu 21 July Repetition using do-while loops.
For loops.
Mon 25 July User-defined classes, instance variables, constructors, methods
Tue 26 July Review of: creating a class, member data, constructors, methods.
Methods: accessors, mutators, toString, equals.
Wed 27 July Enumerated types
User-defined graphical classes
static member data/constants [some starter code] [to pause the animation] [my solution] [my solution]
Thu 28 July Introducing arrays, arrays of primitives.
Array indicies, operations.
Passing arrays to method calls.
Mon 1 August Copying arrays
Arrays of objects
Sorting [complete, ready to use] [to pause the animation] [starter code] [my solution]
Tue 2 August Multidimensional Arrays [my solution to color array exercise]
Wed 3 August Inheritance, class hierarchies
Thu 4 August Polymorphism
Mon 27 June Exceptions and File I/O [exceptions] [file I/O]
Tuesday 9 August Generating (throwing) Exceptions

Created by: Aaron Stevens,
Last update: 9 August 2005