csci2041/repo-zhan4854/Lab_11_Assessment.md
Michael Zhang 399845160c
f
2018-01-29 17:35:31 -06:00

1.1 KiB

Assessment for Lab 11

Total score: 20 / 20

Run on April 10, 00:54:02 AM.

  • Pass: Change into directory "Lab_11".

  • Pass: Check that file "interpreter.ml" exists.

  • Pass: Check that an OCaml file "interpreter.ml" has no syntax or type errors.

    OCaml file "interpreter.ml" has no syntax or type errors.

  • 2 / 2 : Pass: Check that the result of evaluating num_sums matches the pattern 11.

  • 2 / 2 : Pass: Check that the result of evaluating val_sum_evens matches the pattern 56.

  • 2 / 2 : Pass: Check that the result of evaluating val_sum_odds matches the pattern 49.

  • 2 / 2 : Pass: Check that the result of evaluating num_sum_evens matches the pattern 9.

  • 2 / 2 : Pass: Check that the result of evaluating num_sum_odds matches the pattern 8.

  • 5 / 5 : Pass: Check that the result of evaluating lookup "sum_evens" (exec program_3_test []) matches the pattern Int 30.

  • 5 / 5 : Pass: Check that the result of evaluating lookup "y" (exec program_4 [("x",Int 4)]) matches the pattern Int 6.