comp_314_quiz_06 - http:/cs.bilgi.edu.tr Name Surname . . ....

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
http://cs.bilgi.edu.tr Name Surname . ................................................................. Number (ID) . ................................................................... Comp 314 — Quiz ( Week 06) Do not use pencil to write your answers. Use only black or dark blue indelible pen. Cross through errors with a single line. Question 1 10 Marks Give formal definitions for 1. A grammar 2. The grammar of the WAE language of PLAI. Just addition and subtraction are enough for the arithmetic. You may treat symbols as terminals. Document last compiled on March 23, 2009 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
http://cs.bilgi.edu.tr Question 2 20 Marks Prove that there does not exist a finite state automaton that can recognise sentences of the WAE language of the previous question. Document last compiled on March 23, 2009 2
Background image of page 2
http://cs.bilgi.edu.tr Question 3 30 marks Suppose you are given parser, debruijniser and debruijnised unparser functions named λ -parse, λ -db and λ -db-unparse for the fully bracketed λ -calculus, just like
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

comp_314_quiz_06 - http:/cs.bilgi.edu.tr Name Surname . . ....

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online