This preview shows pages 1–3. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CMSC330 Spring 2009 Midterm #2 Name Discussion Time (circle one): 9am 10am Do not start this exam until you are told to do so! Instructions You have 50 minutes for to take this midterm. This exam has a total of 100 points, so allocate 30 seconds for each point. This is a closed book exam. No notes or other aids are allowed. If you have a question, please raise your hand and wait for the instructor. Answer essay questions concisely using 2-3 sentences. Longer answers are not necessary and a penalty may be applied. In order to be eligible for partial credit, show all of your work and clearly indicate your answers. Write neatly. Credit cannot be given for illegible answers. Problem Score 1 Prog Lang & Automata /12 2 OCaml Types /23 3 OCaml Programming /18 4 CFGs /13 5 Parsing /16 6 Scoping & Lazy Eval /10 7 Parameter Passing /8 Total /100 1. (12 pts) Programming Languages and Automata a. (4 pts) Explain why type inference works poorly with weak type systems...
View Full Document
This note was uploaded on 01/13/2012 for the course CMSC 330 taught by Professor Staff during the Fall '08 term at Maryland.
- Fall '08