Excellence is a Habit Feb 3 2003 Lecture 14 We are what we repeatedly do. Excellence, then, is not...
-
Upload
frederick-shepherd -
Category
Documents
-
view
225 -
download
6
Transcript of Excellence is a Habit Feb 3 2003 Lecture 14 We are what we repeatedly do. Excellence, then, is not...
Excellence is a HabitExcellence is a Habit
Feb 3 2003
Lecture 14
We are what we repeatedly do. Excellence, then, is not an act, but a
habit.” - Aristotle
February 3 2003 Lecture 14 2
Outline
Previous Business– Midterm examination results– Homework results
New Business– Structure of course changing– Moving from large “Project-centered” approach
(although still available as extended case study)– Moving to smaller, more-focused “caselets” that will
build towards single application
February 3 2003 Lecture 14 3
First the fun stuff…
February 3 2003 Lecture 14 4
More fun stuff…
February 3 2003 Lecture 14 5
Last fun stuff…
February 3 2003 Lecture 14 6
Now the midterm details
20% of your final grade Average: 64 ± 13
– < 51 9– 51-60 9– 61-75 13– > 75 11
-1
0
1
2
3
4
5
6
7
0 5 10 15
Series1
February 3 2003 Lecture 14 7
Downloads
0 100 200 300 400
1/9/03
1/16/03
1/23/03
1/30/03L1
L2
L3
L4
L5
L6
L7
L8
L9
L10
L11
L12
L13
• Roughly 50% of lecture downloads in four days
February 3 2003 Lecture 14 8
Downloads
0 20 40 60 80 100 120 140 160
hw1_q4b
Jan13Example.jar
Jan14Example.jar
Jan20_Hw1_q1
Jan20_Hw1_q1
p1-p5.jpg
visitor.zip
visitorFinal.zip
• Only six downloads of visitor?
February 3 2003 Lecture 14 9
Analysis
Students have not been given enough opportunities to excel
Students must take ideas from the readings and lectures into weekly activities
Study habits based on directed questions– Come up with your own: don’t wait for me– Focus on consequences and implementation
issues
February 3 2003 Lecture 14 10
Midterm postmortem
Review for content, math errors Problems? See me in my office hours
February 3 2003 Lecture 14 11
HW1 & HW2 postmortem
TAs report only 3 students showed up I’ve seen no more than 3 students When should you attend office hours?
– After a HW has been graded and returned– While working on a HW– When a topic is not clear from lecture
February 3 2003 Lecture 14 12
Homework 3: Question 1
Forward Containment & Visitors
Tests your understanding of Visitor
Part
SubPart
1
*
February 3 2003 Lecture 14 13
Handouts today
GOF: Singleton Design Pattern GOF: Visitor Design Pattern GOF: Factory Method Pattern
February 3 2003 Lecture 14 14
Abstract Factory
Intent– Provide an interface for creating families of
related objects without specifying their concrete classes
Motivation– The new operator should never be placed
within a series of forked if statements.
February 3 2003 Lecture 14 15
Small Examples
Only partially useful (since scaling not immediately apparent).
US Factory Japanese Factory
February 3 2003 Lecture 14 16
Tuesday Assignment
HW3– Get started. Download the sample code. Run
it.
Review Abstract Factory & Factory Method