Question

Programming Assignment 1 Points: 40 points (20 points for Ruby version + 20 points for Java version) The objectives of this program are to enable students to practice how to code

in Ruby, a newly learned scripting programming language, and gain a better understanding of the differences between Java and Ruby through solving the same problem. For this assignment, you are going to create a program that does fixed-point arithmetic, which is sometimes used in systems with microprocessors that do not have floating-point capability but need to perform floating-point calculations. The idea is that integer arithmetic is performed with an implied "binary" point. The details are given below, and you will need to create two classes: FixedPointNumber and FixedPointList.