please up vote
QUESTION 3 Here is a nondeterministic finite automaton with epsilon-transitions. 1 1 Start €,0 0 €...
2. Given the following nondeterministic finite automaton and strings, for each string indicate if the string is accepted by the automaton or not (Yes or No). start —+1 91 а - 92 23 (a) € (b) aaabb (c) abb (d) aaa
Here are the transitions of a deterministic pushdown automaton. The start state is 90, and f is the accepting state. b E State-Symbol 90-Zo (91AAZO) (92,BZO) (8,8) 91-A (91,AAA) (91) 91-20 (90-20) 42-B (93.5) (92,BB) 92-20 (90,20) 93-B (926) 93-20 (91,AZO) Identify below the one input string that the PDA accepts. babba bababb abba babb
Here is a nondeterministic finite automaton: 0 0 0,1 A B cal 1 0 Convert this NFA to a DFA, using the "lazy' version of the subset construction Which of the following sets of NFA states becomes a state of the DFA constructed in this manner? (B.CD) (A,B,D) (B) (AD)
Please Help with this questions with short explanation thank you :) Consider the pushdown automaton with the following transition rules: 1.8(0,0,20) = {(q,XZ0)} 2. 8(9,0,X) = {(q,XX)} 3. 8(q,1,X) = {(q,x)} 4. 8(q,£,X) = {(p,ɛ)} 5. 8(p,£,X) = {(p,ɛ)} 6.8(p,1,X) = {(p,XX)} 7. 8(p,1,20) = {(p,ɛ)} From the ID (p,1101,XXZ0), which of the following ID's can NOT be reached? (p,101,XZO) (p,101,XXXZO) (2,01,XXXXXZO) O (p,01,8) Here are the transitions of a deterministic pushdown automaton. The start state is qo, and f...
1. Using the given details of a PDA with Q = {90, 91, 92, 93}; { = {a, b}; Z = 0; F = {q3} S = {90} and the following transitions construct a PDA. Show all the stack operations for the string "aaaabbbba" and tell whether the string is acceptable or not. (90, a, 0) = (91, 1) (q0, b, 0) = (q3, 1) (91, a, 1) = (92, 1) 5 (91, b, 1) = (92, 1) 5 (92,...
1. (1 point) Which of the following is true? A. Every regular language is a context-free language. B. Every context-free language is a regular language. C. If a language is context-free, then there exists a pushdown automata to recognize it. D. The set of context free languages is strictly larger than the set of regular languages. E. Each of A,C, and D is true. 2. (1 point) The following diagram shows a context free grammar with start variable S and...
1. (1 point) Which of the following is true? A. Every regular language is a context-free language. B. Every context-free language is a regular language. C. If a language is context-free, then there exists a pushdown automata to recognize it. D. The set of context free languages is strictly larger than the set of regular languages. E. Each of A,C, and D is true. 2. (1 point) The following diagram shows a context free grammar with start variable S and...
1. Consider the alphabet {a,b,c}. Construct a finite automaton that accepts the language described by the following regular expression. 6* (ab U bc)(aa)* ccb* Which of the following strings are in the language: bccc, babbcaacc, cbcaaaaccbb, and bbbbaaaaccccbbb (Give reasons for why the string are or are not in the language). 2. Let G be a context free grammar in Chomsky normal form. Let w be a string produced by that grammar with W = n 1. Prove that the...
Please help me... 5. (a) Consider the deterministic finite automaton M with states S := {80, 81, 82, 83}, start state so, single accepting state $3, and alphabet E = {0,1}. The following table describes the transition function T:S xHS. State 0 1 So So S1 So S1 S2 So $1 82 S3 S3 82 Draw the transition diagram for M. Let U = {01110,011100}. For each u EU describe the run for input u to M. Does M accept...
1. (TM descriptions) (a) Give the sequence of configurations that the following TM M enters when given as input strings 1##1 and 0#0. Please use the same representation for your configurations as we did in lecture 10. The reject state and transitions to the reject state are not shown. Whenever the TM encounters a character for which there is no explicit transition that means that the TM goes to the reject state. We say that the head moves right in...