• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

question about how the assignments were "invented"

 
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)?
 
whippersnapper
Posts: 1843
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sheriff
Posts: 7023
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've noticed variations on the leap year and say assignments in a couple of introductory computer science books and internet sites.
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Chicken Farmer ()
Posts: 1932
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Trailboss
Posts: 23994
IntelliJ IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"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.
 
Ranch Hand
Posts: 168
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've just started working jdbc-4 assignment using php and mysql combo.
hope it turns out to be fun redoing it.
 
Hey, sticks and stones baby. And maybe a wee mention of my stuff:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic