• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

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: 23453
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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic