Final problems

0 views
Skip to first unread message

Luby Liao

unread,
May 17, 2012, 9:12:06 AM5/17/12
to cs305-sp...@googlegroups.com
Write
  • MixIns
  • Generators
  • Decorators
    • Writing nested function vs writing a class
    • Use function attributes to store states
  • A decorator that displays the caller of the decorated function (or method)  
  • Singleton class (for others to subclass)
  • Iterators
  • Simple event-driven programs using Jython
More to come.  Cheers, Luby 

Luby Liao

unread,
May 23, 2012, 12:01:32 AM5/23/12
to cs305-sp...@googlegroups.com
  • Review the Midterm Exam
  • Write a minimalist GUI app in Python or Java that boasts two widgets: a read-only display of a counter with an initial value of 0, and a button labeled '+', which when clicked will bump the counter by one.
  • Why does the caching decorator work for the recursive fibo?
  • Python LEGB scope rule.
Cheers, Luby
-----
From: Luby Liao <luby...@gmail.com>
Date: Thu, May 17, 2012 at 6:12 AM
Subject: Final problems
To: cs305-sp...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages