# Learn by repetition - ruby exercises and answers?

**URL:** <https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492>\
**Category:** Ruby\
**Created:** [January 26, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492 "2007-01-26T16:45:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![b1\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/58f4c7/32.png) [@b1\_S](https://www.ruby-forum.com/u/b1_S)\
**Post date:** [January 26, 2007, 4:45pm UTC](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492/1 "2007-01-26T16:45:37Z")

</div>

I prefer to learn by repetition and I was wondering if there are any  
Ruby exercise and answer orientated sites with lots of exercises,  
starting with simple and progressing to harder.

This is what I’ve found so far:

[http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata](http://blogs.pragprog.com/cgi-bin/pragdave.cgi/Practices/Kata) (This site  
sums up exactly my thinking on learning, but looking at the problems  
that don’t start easy. Something for later, after I learn to program  
with any skill, because at the moment I can only call myself a dabbler  
who’s trying to improve).

[About - Project Euler](http://projecteuler.net/index.php?section=view) (maths orientated with a  
programming problems section, the first one looked doable for me, but  
not a Ruby exclusive site).

[http://rubyquiz.com/](http://rubyquiz.com/) (Most too hard for me - I need super simple to  
start).

Books I am aware of are:  
Ruby Cookbook (too advanced mostly)  
Best of Ruby Q. (book form of [http://rubyquiz.com/](http://rubyquiz.com/) listed above)

There are plenty of tutorial books running the beginner through Ruby,  
some even have exercises, but usually only a couple at the end of each  
chapter, if any. I’m after a source of hundreds of problems so I can  
learn by repeatedly doing.

If you know of any sites or books close to what I’m after, and minus  
what I’ve already listed, please post them.

---

<div class="post-metadata">

**Author:** ![b1\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/58f4c7/32.png) [@b1\_S](https://www.ruby-forum.com/u/b1_S)\
**Post date:** [January 26, 2007, 5:10pm UTC](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492/2 "2007-01-26T17:10:55Z")

</div>

On Sat, 27 Jan 2007, Shawn W\_ wrote:

> who’s trying to improve).  
> Best of Ruby Q. (book form of [http://rubyquiz.com/](http://rubyquiz.com/) listed above)
> 
> There are plenty of tutorial books running the beginner through Ruby,  
> some even have exercises, but usually only a couple at the end of each  
> chapter, if any. I’m after a source of hundreds of problems so I can  
> learn by repeatedly doing.
> 
> If you know of any sites or books close to what I’m after, and minus  
> what I’ve already listed, please post them.

my reccomendation is this: read ruby-talk as you already are and begin  
to  
answer simple questions. it’s ok if your answers are not the best ones:  
just  
be clear in your responses that you are learning and your answers should  
be  
taken with a grain of salt. you will be suprised at how effective this  
is.  
this is precisely how i’ve learned ruby and, to this day, i am digging  
into  
tht ruby source in order to answer questions i’ve never considered or  
even  
care that much about. i do this because

1. it helps me. i continue to learn about ruby even though i’ve been  
doing this and coding ruby full time for 6 years.

2. it helps the community. this makes me feel good since it  
certainly  
helped me in the beginning.

```
 http://groups.google.com/groups/search?hl=en&lr=&safe=off&num=10&q=2002+group%3Acomp.lang.ruby+author%3Aahoward%40fsl.noaa.gov&safe=off&qt_s=Search

```

cheers.

-a

---

<div class="post-metadata">

**Author:** ![b1\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/58f4c7/32.png) [@b1\_S](https://www.ruby-forum.com/u/b1_S)\
**Post date:** [January 26, 2007, 5:11pm UTC](https://www.ruby-forum.com/t/learn-by-repetition-ruby-exercises-and-answers/83492/3 "2007-01-26T17:11:56Z")

</div>

> If you know of any sites or books close to what I’m after, and minus  
> what I’ve already listed, please post them.

Some time ago I have solved a few exercises (15 to be exact - well some  
of them have subexercises, so…) in Ruby. It’s not much, but at least  
it has “easier-to-harder” and “question-answer” properties you are  
looking for.

[http://www.rubyrailways.com/implementing-15-exercises-for-learning-a-new-programming-language/](http://www.rubyrailways.com/implementing-15-exercises-for-learning-a-new-programming-language/)

HTH,  
Peter

\_\_  
[http://www.rubyrailways.com](http://www.rubyrailways.com)
