Return-Path: <shearer@cs.bu.edu> X-Spam-HitLevel: X-Spam-DCC: INFN-TO: cs3.bu.edu 1233; Body=1 Fuz1=1 Fuz2=1 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on cs3.bu.edu X-Spam-Level: X-Spam-Status: No, score=-1.1 required=10.0 tests=AWL,BAYES_00,HTML_50_60, HTML_MESSAGE,RCVD_IN_SORBS_DUL autolearn=no version=3.1.0 X-Spam-Pyzor: Received: from shearershot (c-24-60-255-210.hsd1.ma.comcast.net [24.60.255.210]) by cs3.bu.edu (8.13.6/8.13.6) with ESMTP id k9JGlcZ1022363 for <cs520@cs.bu.edu>; Thu, 19 Oct 2006 12:48:08 -0400 From: "Rui Shi" <shearer@cs.bu.edu> To: "'cs520 Course Account'" <cs520@cs.bu.edu> Subject: grading criteria of hw4 Date: Thu, 19 Oct 2006 12:47:40 -0400 Message-ID: <001501c6f39e$5c15e940$6400a8c0@csnt.bu.edu> Content-Type: multipart/alternative; boundary="----=_NextPart_000_0016_01C6F37C.D5044940" X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 Thread-Index: Acbznkm5Cb49hEToT5GUGzcYwJ6zoA== X-Clamav-Status: No Status: RO Content-Length: 4376 X-UID: 22 X-Keywords:
Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit
Hi all,
Here is the grading criteria of hw4.
Thanks,
Rui
============================================================================
=============================================================
Grading Criteria
1. (T-Abs-Wild) 4 pt, (E-AppAbs-Wild) 3 pt. Proof: derivability of typing
rule has to use weakening of \Gamma (4 pt), and evaluation rule has to
mention x \notin fv(t12) so [x |-> t2] t12 = t12 (4 pt).
2. violates call-by-value (2 pt). does not preserve ill-typedness (3 pt).
3. if t0 then t1 else t2 (2 pt); true, false, Bool (1 pt ea).
4. equal (2 pt); plus, times, factorial (1 pt ea).
5. part (1): type system guarantees that S = T in the evaluation rules
mentioned for well-typed programs (5 pt); part (2): more ill-typed programs
are now stuck (5 pt). Extra credit: 5 pts for showing typing derivation of t
and t' for some t -> t' with these evaluation rules; 5 pts for observing
that head[T] nil[T] and tail[T] nil[T] get stuck, but they're well-typed
programs.
Grades break down:
(1) 15 pts, (2) 5 pts, (3) 5 pts, (4) 5 pts, (5) 10 pts + 10 extra.
total: 40 pts + 10 extra
This archive was generated by hypermail 2b29 : Thu Dec 14 2006 - 16:31:59 EST