Post #165,449
7/21/04 5:23:10 PM
7/21/04 5:24:03 PM
|
Source of project ideas
They've been collecting [link|http://nifty.stanford.edu|nifty ideas here] for a while.
Worth poking through....
(BTW, congrats on the new gig! Hope everything works well for you.)
Tom Sinclair
"While I'm still confused and uncertain, it's on a much higher plane, d'you see, and at least I know I'm bewildered about the really fundamental and important facts of the universe." Treatle nodded. "I hadn't looked at it like that," he said, "But you're absolutely right. He's really pushed back the boundaries of ignorance." -- Discworld scientists at work (Terry Pratchett, Equal Rites)
Edited by tjsinclair
July 21, 2004, 05:24:03 PM EDT
Source of project ideas
They've been collecting [link|http://nifty.stanford.edu|nifty ideas here] for a while.
Worth poking through....
Tom Sinclair
"While I'm still confused and uncertain, it's on a much higher plane, d'you see, and at least I know I'm bewildered about the really fundamental and important facts of the universe." Treatle nodded. "I hadn't looked at it like that," he said, "But you're absolutely right. He's really pushed back the boundaries of ignorance." -- Discworld scientists at work (Terry Pratchett, Equal Rites)
|
Post #165,484
7/21/04 10:18:21 PM
|
Those are kind of cool
I made them write a Fraction object though.
There was much consternation in class to learn that 99/100 == 0. (due to int truncation). So I wrote an Int class that faithfully mimics a builtin int, but operator/ returns a Fraction. They have to write the fraction (retains numerator and denominator). I helped them out by writing the reduce method and ctors.
Good ADT and type management exercise. I gave them a test program that has to work that exercises all sorts of type conversions. They'll be in ambiguity hell for hours I'll bet. Writing a new type is freakin hard (and generally not quite possible in C++ without making some compromises).
That was lovely cheese.
--Wallace, The Wrong Trousers
|
Post #165,511
7/22/04 12:55:00 AM
|
Glad you liked them
I'm always on the look-out for interesting (but doable) programming problems for my students.
Tom Sinclair
"While I'm still confused and uncertain, it's on a much higher plane, d'you see, and at least I know I'm bewildered about the really fundamental and important facts of the universe." Treatle nodded. "I hadn't looked at it like that," he said, "But you're absolutely right. He's really pushed back the boundaries of ignorance." -- Discworld scientists at work (Terry Pratchett, Equal Rites)
|
Post #165,518
7/22/04 1:41:57 AM
|
You're welcome to mine
[link|http://carbon.cudenver.edu/~tblancha/csc1410|http://carbon.cudenv...~tblancha/csc1410]
Don't know how long it will stay up there after the summer ends.
That was lovely cheese.
--Wallace, The Wrong Trousers
|
Post #165,563
7/22/04 11:15:14 AM
|
Thanks, I'll snag them right now
Tom Sinclair
"While I'm still confused and uncertain, it's on a much higher plane, d'you see, and at least I know I'm bewildered about the really fundamental and important facts of the universe." Treatle nodded. "I hadn't looked at it like that," he said, "But you're absolutely right. He's really pushed back the boundaries of ignorance." -- Discworld scientists at work (Terry Pratchett, Equal Rites)
|
Post #165,695
7/22/04 11:21:53 PM
|
Might wait until class is over on the 7th - more to come
That was lovely cheese.
--Wallace, The Wrong Trousers
|
Post #165,548
7/22/04 10:49:41 AM
|
I remember a book from my days in Russia
[link|http://www.amazon.com/exec/obidos/tg/detail/-/0132918072/qid=1090507342/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/104-8975062-2015963?v=glance&s=books&n=507846|Etudes for Programmers]
It was translated, and the problems were very interesting and quite doable (if I had a computer at my disposal). The Game of Life on infinite field was one of the simpler ones. Self-printing program was quite interesting (I did it in SNOBOL, but I don't know how tro do it in C).
Of course, time and experience have altered my perception. May be the book is not so good, and it's nostalgia spaeking. Still, take a look.
--
"...was poorly, lugubrious and intoxicated."
-- Patrick O'Brian, "Master and Commander"
|