[x] Create your own checkboxes here. Create tasks to reflect what you need to accomplish to produce
the deliverables. (S)
[x] A WIP Issue in the class repo(S)
[x] Titled appropriately
[x] With check boxes for the tasks and any subtasks you can identify
[x] Estimates for the top-level checkboxes
[x] Update your TIY-Assignments wiki (M)
[x] Create a branch in your TIY-Assignments repo, named appropriately (M)
[x] include a code/ folder with files for each of the three (or four) coding challenges you undertake
[x] Three programming challenges for today: (XL)
[x] Extend your Fixnum#to_roman method to work up to 2015.
[x] A factorial of an integer is the product of all positive integers up to and including that integer.
For example 6 factorial = 6 * 5 * 4 * 3 * 2 * 1. Write a method on the Fixnum class which returns
the factorial of a number.
[x] Write a method on the Fixnum class to convert a number to its name in English.
[x] A Pull Request in your TIY-Assignments folder as on previous assignments. (S)
[x] Comments on your WIP Issue as on previous assignments (S)
Description
Three programming challenges for today:
Extend your Fixnum#to_roman method to work up to 2015.
A factorial of an integer is the product of all positive integers up to and including that integer. For example 6 factorial = 6 * 5 * 4 * 3 * 2 * 1. Write a method on the Fixnum class which returns the factorial of a number.
Write a method on the Fixnum class to convert a number to its name in English.
EXPERT LEVEL: Write a function that can do addition or multiplication in English. For example given "twenty three times seventy eight", it should return "one thousand seven hundred ninety four".
SUPER EXPERT LEVEL: Write a function that can do any basic arithmetic operation - addition, subtraction, multiplication, or division - in English, accepting a string as input and returning one as output.
Objectives
Learning Objectives
After completing this assignment, you should begin to understand how to:
formulate expectations for your code step-by-step
write the simplest code that meets your expectations
write the simplest expectation that breaks
use the Ruby concept of self
extend the capabilities of a built-in class by writing new methods
Performance Objectives
Tasks
Description
Three programming challenges for today:
Extend your Fixnum#to_roman method to work up to 2015.
A factorial of an integer is the product of all positive integers up to and including that integer. For example 6 factorial = 6 * 5 * 4 * 3 * 2 * 1. Write a method on the Fixnum class which returns the factorial of a number.
Write a method on the Fixnum class to convert a number to its name in English.
EXPERT LEVEL: Write a function that can do addition or multiplication in English. For example given "twenty three times seventy eight", it should return "one thousand seven hundred ninety four".
SUPER EXPERT LEVEL: Write a function that can do any basic arithmetic operation - addition, subtraction, multiplication, or division - in English, accepting a string as input and returning one as output.
Objectives
Learning Objectives
After completing this assignment, you should begin to understand how to:
formulate expectations for your code step-by-step write the simplest code that meets your expectations write the simplest expectation that breaks use the Ruby concept of self extend the capabilities of a built-in class by writing new methods Performance Objectives