Finger Exercises

This homework is designed to give you basic experience with using the OCaml language, including recursion and lists.

  1. If you have not already done so in lab, follow the Codio OCaml Setup instructions
  2. Visit the CIS 120 course in codio and select the "hw 01: OCaml Finger Exercises" project.
  3. Open the file intro.ml and follow the directions to complete the homework assignment.
  4. TIP: All of the homework is in intro.ml. You do not need to look at or edit any other file.
  5. Once you are finished, be sure to submit your homework.

FAQ

We have created an FAQ answering the most common questions for this assignment. This can be found here.

Grading

STYLE FEEDBACK: After submitting your homework, you must make an appointment with one of your recitation TAs to get feedback about your coding style. This meeting counts towards your class participation grade. Future assignments will count style as part of the homework grade.

Codio Alternatives

NOTE: Codio is the supported IDE platform for CIS 120 and you are strongly encouraged to use it.

If you would prefer to use another editor or coding environment, see our OCaml Setup instructions for suggestions. The Moore lab computers are already all set up except for switching to the OCaml perspective in Eclipse. (Window » Open Perspective » Other... » O'Caml.)