Midterm 2 Solution Fall 2013

No as we saw in class cfgs s ss s and s ss

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: CFLs are closed under complement, L is not a DCFL. (You cannot argue that “there is an `or’ which means there is a choice so it cannot be deterministic. After all, {w ∈ {0,1}*: w contains a 0 or a 1} is not only a DCFL, it is regular!) Question 4 [10 marks] Draw a state diagram for a deterministic pushdown automaton to recognize {aibjcjakci+k : i,j,k ≥ 0}. Explain. You must be care...
View Full Document

Ask a homework question - tutors are online