This is the archived website of SI 413 from the Fall 2012 semester. Feel free to browse around; you may also find more recent offerings at my teaching page.
Created by Yukihiro Matsumoto in 1995. Part scripting language, part object-oriented, part functional, Ruby is a modern language with something to offer to everyone. It is in interpreted language (interpreter written in C) and has a significant standard library.
Save your program in a file called proj.rb
.
I will test your code in the same environment as the lab
machines in MI 302, using the commands
/usr/bin/ruby proj.rb
For this language, you need to implement modifications A, B, C, D, F, G, H, and I. See the Phase 1 page for details on what this means.
See the Phase 2 Page for the list of suggested
problems. Of the ones listed, I recommend the following as being most
well-suited for ruby: