Solutions for Sorin Lerner's past CSE 130 exams.
How to check solution output for midterms:
ocaml EXAM.ml
should match the output in the exam pdf.
How to check solution output for finals:
- OCaml:
ocaml EXAM.ml
should raise no exceptions and print no output. - Python:
python EXAM.py
should raise no exceptions; it may print some output for decorators. - Prolog:
swipl EXAM.pl
should allow you to use the predicates.