File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Cattle Drive and the fly likes question about how the assignments were Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "question about how the assignments were "invented"" Watch "question about how the assignments were "invented"" New topic

question about how the assignments were "invented"

Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
I am currently learning Perl from Sam's Teach Yourself Perl in 21 Days. I am noticing that some of the sample code looks really familiar. Was this book an inspiration for some of the assignments or are the assignments common programming teaching tools (such as Hello World)?

Matthew Phillips
Michael Matola
Ranch Hand

Joined: Mar 25, 2001
Posts: 1793
Some time ago I did a couple of the earlier assignments in Ruby. It was a fun exercise. But since I had no style guide to follow and no nitpicker, I had trouble at times deciding which of several different approaches I liked better.
Are you doing any of the assignments in Perl?
Do they end up being more than one line of code?
I remember somebody way back telling us how he did Say 4b on his programmable calculator.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
I've noticed variations on the leap year and say assignments in a couple of introductory computer science books and internet sites.

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Are you doing any of the assignments in Perl?

Not yet, but since some of them are already in the book there wouldn't be much challenge.
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
I've noticed similarities in these assignments to others in classes, tutorials, and hearing non-Cattle Drive students discussions.
There most likely are standard assignments that almost all programming books/classes go through because these are just well known methods for teaching a certain concept. How many times have you a read a book that started out with "Hello World!" (or some derivative)?
For instance, in my EJB class we have to write a program where users can check out, add, remove, etc. books from a library. Pretty much our JDBC assignments, except as videos.
paul wheaton

Joined: Dec 14, 1998
Posts: 20965

"Hello World" has been a standard for decades.
And, yes, I've seen the leap year assignments in the past. And the idea of a video rental store has been a more recent regular.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
Manju Jain
Ranch Hand

Joined: Feb 08, 2001
Posts: 168
I've just started working jdbc-4 assignment using php and mysql combo.
hope it turns out to be fun redoing it.
I agree. Here's the link:
subject: question about how the assignments were "invented"
It's not a secret anymore!