small medium large xlarge

Best of Ruby Quiz


Cover image for Best of Ruby Quiz

Best of Ruby Quiz


Sharpen your Ruby programming skills with twenty-five challenging problems from Ruby Quiz. Read the problems, work out a solution, and compare your solution with others. This book is a collection of highlights from the first year of Ruby Quiz challenges. Inside, you will find expanded content, all new solutions, and more in depth discussions of Ruby Quiz problems and solutions. This is the book for anyone who really wants to improve their Ruby skills.

About this Title

Pages: 304
Published: 2006-03-01
Release: P1.1 (2006-03-15)
ISBN: 978-0-9766-9407-6

You’ll find interesting and challenging programming puzzles including:

  • 800 Numbers
  • Crosswords
  • Cryptograms
  • Knight’s Tour
  • Paper, Rock, Scissors
  • Tic-Tac-Toe
  • Texas Hold-Em
  • ...and more.

Learning to program can be quite a challenge. Classes and books can get you so far, but at some point you have to sit down and start playing with some code. Only by reading and writing real code, with real problems, can you learn.

The real question is: does your job allow for this process? For most of us, the answer is not really. We can use programming challenges not as games, but as training for the real challenges we know we will eventually face.

The Ruby Quiz was built to fill exactly this need for Ruby programmers. Challenges, solutions, and discussions combine to make Ruby Quiz a powerful way to learn Ruby tricks. See how algorithms translate to Ruby code; get exposure to Ruby’s libraries; and learn how other programmers use Ruby to solve problems quickly and efficiently.

  • Sharpen your programming skills
  • Learn using the most effective method available: practice
  • Learn great Ruby idioms
  • Understand sticky problems and the insights that lead you past them
  • Gain familiarity with Ruby’s standard library
  • Translate traditional algorithms to Ruby


James Gray is a contract programmer based in Edmond, Oklahoma. He has done extensive work with web sites, Perl scripting and Java applets, for everyone from programming shops to food companies, but his true passion lies with Ruby. He’s been an active part of the online Ruby community writing documentation, presenting the language to computer groups, and, of course, running the Ruby Quiz.