
5.8 Give transition tables for PDAs accepting each of the following languages a. (ab sjs2i)
5.18. For each of the following languages, give a transition table for a deterministic PDA that accepts that language. a. x E a, b* na(x) < nb(x))
Draw the transition diagram (the graph) for a DFA accepting the following languages over the alphabet {0,1}. Your automata MUST be Deterministic L = { w | w begins with the substring 1110 or the substring 0110 }
For each of the following languages, give the state diagram of a DFA that accepts the languages. a) (ab) ∗ ba b) aa(a + b) +bb c) ((aa) +bb) ∗
Give nondeterministic finite automata that accept each of the following languages. Provide both state-transition diagrams and the corresponding quintuple representations The set of odd binary numbers (without leading zeros) such that the length of the bit string is 4i+2, for some i 21. a.
Give a DFA accepting the language {ab,cac}*{cc}* For each state in your automaton, give a brief description of the strings associated with that state.
Give a regular expression for each of the following languages. e. {axb | x∈{a, b}*} f. {(ab)n } g. {x ∈ {a, b}* | x contains at least three consecutive as} h. {x ∈ {a, b}* | the substring bab occurs somewhere in x} i. {x ∈ {a, b}* | x starts with at least three consecutive as}
Give the regular expressions of the following languages (alphabet is ab): a. {w | w has a length of at least three and its second symbol is a b} b. {w | w begins with an a and ends with a b} c. {w | w contains a single b} d. {w | w contains at least three a's} e. {w | w contains the substring baba} d. {w | w is a string of even length} e. The empty...
5. 20 Points Draw transition diagrams for standard Turing machines that accept the following languages. In each case, give a brief description in English of your strategy. (a) Ls {ww w e {a, b}*} (b) Le wu w, и € fа, b}*, |u| 3D lul}
give the regular expressions for each of the following languages u.{xy {a, b}* | the number of as in x is odd and the number of bs in y is even}
Give state diagrams of DFA recognizing the following languages. In all parts, the alphabet is {a, b}. a. {w | w is (ε, b, ab)} b. {w| w contains the substring abab (i.e., w = xababy for some x and y)}}