Automata
Automata
4(Y)
Choose the Number of states require to accept string ends with 101 2(N)
cann't be determined(N)
1, 2 and 3(N)
2, 3 and 4(N)
Given the language L = {ab, aa, baa}, predict the following strings are in L*. 1)
abaabaaabaa 2) aaaabaaaa 3) baaaaabaaaab 4) baaaaabaa
1, 2 and 4(Y)
1, 3 and 4(N)
Yes(N)
No(Y)
cann\'t be determined(N)
countable infinite(N)
countable finite(N)
uncountable infinite(Y)
δ: Q × Σ → Q(Y)
δ: Q × Σ → P(Q)(N)
none (N)
Choose the following options is correct or not. Statement 1: Initial State of NFA
is Initial State of DFA. Statement 2: The final state of DFA will be every
combination of final state of NFA.
Union(N)
Concatenation(N)
2(N)
Choose the number of final states require to accept Φ in minimal finite 3(N)
automata.
Transition graph(N)
Transition Table(N)
1(N)
3(Y)
7(N)
Determine the one from the following is not an example of finite state machine
system.
Combinational Locks(N)
Determine the one from the following is not an example of finite state machine
system.
Traffic Lights(N)
Digital Watches(Y)
Compiler(Y)
Interpreter(N)
Q * Σ* -> Q(Y)
Q * Σ -> Q(N)
Q * Σ -> Σ(N)
10011010101(N)
1111001100(Y)
The non- Kleene Star operation develops the following string of finite length
over set A = {0,1} | string s contains even number of 0 and 1.
ε,0011,11001100(N)
The non- Kleene Star operation develops the following string of finite length
over set A = {0,1} | string s contains even number of 0 and 1.
ε,0011,11001100(N)
14 states(Y)
13 states(N)
12 states(N)
The password to the admins account=”administrator”. The total number of
states required to prepare a password-pass system using DFA would be
__________
{}(Y)
7(Y)
6(N)
The number of elements in the set for the Language L={xϵ(∑r) *|length if x is at
most 2} and ∑={0,1} is examined as _________
The number of elements in the set for the Language L={xϵ(∑r) *|length if x is at
most 2} and ∑={0,1} is examined as _________ 8(N)
5(N)
Regular language(N)
Examine which of the following the given language belongs to? L={ambmcm|
m>=1}
2(N)
3(Y)
5(N)
Judge among the following pair of regular expression that are not equivalent.
(ab)* and a*b*(Y)
x+ and x*x+(N)
(01)*0 = 0(10)*(N)
(0+1)*0(0+1)*1(0+1) = (0+1)*01(0+1)*(N)
(0+1)*01(0+1)*+1*0* = (0+1)*(N)
Only S1 is correct(N)
Only S2 is correct(N)
Consider the following two statements: S1: { 02n |n >= l} is a regular language
S2: {0m 0n 0(m+n) | m >= 1 and n >= 2} is a regular language Determine the Both S1 and S2 are correct(Y)
following statements is correct or not.
Union(N)
Intersection(N)
3(N)
7(N)
6(N)
L1<l2(n)
L1>=L2(N)
Let the class of language accepted by finite state machine be L1 and the class of
languages recognized by regular expressions be L2 then
Let the class of language accepted by finite state machine be L1 and the class of
L1 U L2 = L*(N)
languages recognized by regular expressions be L2 then
L1=L2(Y)
</l2(n)
If it is accepted by automata(Y)
If it halts(N)
Languages of a automata is defined as If automata touch final state in its life time(N)
1(N)
0(Y)
Reachable(N)
Generating(N)
String(N)
Word(N)
The complement of a language will only be defined when and only when the
__________ over the language is defined. Alphabet(Y)
Grammar(N)
Compiler Design(N)
Grammar Parsers(N)
Acceptor(N)
Classifier(N)
Regular Expression(N)
Rational Expression(N)
Turing machine(N)
Finite automata(Y)
Automata(N)
Tokens(N)
Data(N)
Input alphabet(N)
Transition function(N)
Initial state(N)
Output alphabet(Y)
accepted by DFA(Y)
accepted by PDA(N)
Class(Y)
Power Set(N)
Super Set(N)
Regular Expression define precisely the ________ of Regular Language.
V(N)
S(N)
V+ ∑(N)
* , . , +(Y)
. , * , +(N)
+ , a , *(N)
More than one initial states(N)
Null transitions(N)
Non-null transitions(Y)
None of these(N)
Recursive Inference(N)
Derivations(N)
Recognize the options which support the given statement? Statement: A regular
expression could be a fixed word or describe something like more general.
This flexibility makes the Regular expression
unvaluable(N)
Recognize the options which support the given statement? Statement: A regular
expression could be a fixed word or describe something like more general.
0(N)
1(Y)
In a deterministic finite automaton (DFA), how many transitions does each state
have for a given input symbol? multiple(N)
none (N)
2, 4(Y)
1, 3(N)
Given grammar G: (1) S->AS (2) S->AAS (3) A->SA (4) A->aa Select the following
productions which denies the format of Chomsky Normal Form? 1, 2, 3, 4(N)
Given grammar G: (1) S->AS (2) S->AAS (3) A->SA (4) A->aa Select the following
productions which denies the format of Chomsky Normal Form?
2, 3, 4(N)
Palindrome(N)
Reverse(N)
L={ab}*(N)
transition function(Y)
translation function(N)
In order to recognize a regular expression, the first step to create the transition
Null moves are not acceptable, thus should not be
used(N)
In order to recognize a regular expression, the first step to create the transition
diagram is:
{0, 1, ε}(N)
{0, 1}(N)
[(a+b)*(aa+bb)]*(N)
[(0+1)(0b+a1)*(a+b)]*(Y)
(1+2+0)*(1+2)*(N)
Regular Language(N)
7(N)
10(N)
Determine the no. of strings of length less than 4 contains the language
described by the regular expression (x+y)*y(a+ab)*. 12(Y)
11(N)
Consider following regular expression i) (a/b)* ii) (a*/b*)* iii) ((ϵ/a)b*)* Which of
the following statements is manipulated as correct
(1+011) *(Y)
(1*(011) *)(N)
(1011) *(N)
Given grammar G: S->aS| AB A-> epsilon B-> epsilon D-> b Discover the
grammar, removing all the epsilon productions:
S->aS| AB| A| B(N)
Determine the following those statements are correct for a concept called
inherent ambiguity in CFL.
A single state(N)
A set of states(N)
What does the transition function return for a given state and input symbol in a
nondeterministic finite automaton (NFA)?
An output symbol(Y)
Choose the order those are the children of any node ordered. Arbitrarily(N)
6(N)
7(Y)
For the expression E*(E) where * and brackets are the operation, discover the
total number of nodes in the respective parse tree are:
5(N)
2(N)
semantic(N)
syntactic(Y)
If w belongs to L(G), for some CFG, then w has a parse tree, which tell us the
________ structure of w. Determine the correct option. lexical(N)
1(Y)
partially true(N)
Choose the correct option: Statement: Unambiguity is the ideal structure of a
language.
Can’t be said(N)
S-> 1|0S|0SS|SS0|S0S(N)
Discover among the following is the correct grammar for the given language?
L={x∈{0,1}*|number of zeroes in x¹number of one’s in x}
S-> 0|0S|1SS|SS1|S1S(Y)
A and ε respectively(Y)
ε and B respectively(N)
AB →AbBc is a type 1 production. Choose here the left and right contexts are
Ab and c respectively(N)
Recursive Inference(N)
Derivations(N)
Recursive Inference(N)
Derivations(N)
Judge from the following is/are the suitable approaches for inferencing.
Recursive Inference and Derivations(Y)
{0a1b|a=2, b=3}(Y)
{0a1b|a=1, b=5}(N)
{0a1b|a=b}(N)
Discover among the following is the correct option for the given grammar? G-
>X111|G1,X->X0|00
Judge the following statements those correct for a concept called inherent
ambiguity in CFL.
2(N)
The minimum number of 1’s to be used in a regular expression of the given 3(Y)
language: R(x): The language of all strings containing exactly 2 zeroes. Choose
the correct answer.
The minimum number of 1’s to be used in a regular expression of the given
language: R(x): The language of all strings containing exactly 2 zeroes. Choose
the correct answer.
0(N)
1(N)
The given regular language explains which of the given regular language
∈+1+(1+0)*0+(0+1)*11
Absorption Law(N)
Idempotent Law(Y)
Commutative Law(N)
correct statement(N)
incorrect statement(N)
A->aAa|bAb|a|b|∈ Choose among the following is the correct option for the
given production?
Recursive Inference(N)
Ardens theorem(N)
generating(N)
reachable(N)
A symbol X is called to be useful if and only if it explains to be: both generating and reachable(Y)
Choose from the following which is false for a grammar G in Chomsky Normal
Form:
sentence diagrams(N)
Turing Machine(N)
Explain which of the following allows stacked values to be sub-stacks rather than
just finite symbols?
Nested Stack Automaton(Y)
Push(Y)
Delete(N)
Add(N)
Present state(N)
Input Symbol(N)
The move of a PDA is discover on the basis of: Present state and Input Symbol(Y)
READ or POP(Y)
START or READ(N)
In non-deterministic PDA, there are more than one out going edges from the
following selected states?
POP or REJECT(N)
PUSH or POP(N)
For non-deterministic PDA, equivalence is
undecidable(N)
Discover the trueness for the given statement? Statement: If there are strings R
and T in a language L so that R is prefix of T and R is not equivalent to T.
L is regular(N)
Let Input Alphabets={0,1}* and the grammar G be: S->epsilon S->SS S->0S1|1S0
Discover which of the following is true for the given statement
Ambiguous Grammar(N)
Type 0(N)
Type 1(N)
Identify the highest type number which can be applied to the following
grammars: S→ As |ab Type 2(Y)
Type 3(N)
rejected(Y)
If the PDA does not stop on an accepting state and the stack is not empty, the
string is distinguished as- All of the mentioned(N)
string is distinguished as-
Let ∑={0,1}* and the grammar G be: S->ε S->SS S->0S1|1S0 discover which of the
following is true for the given
Ambiguous Grammar(N)
stack(Y)
input tape(N)
The transition a Push down automaton makes is additionally dependent upon terminals(N)
the___. State the correct option.
With reference of a DPDA, Explain among the following do we perform from the
start state with an empty stack.
ndfa(N)
Complement(Y)
Union(N)
A language accepted by Deterministic Push down automata is estimated to be All of the mentioned(N)
closed under which of the following?
Pushing(N)
Popping(N)
Finite(N)
Non Reqular(N)
Deterministic(Y)
There exists a Context free grammar such that: X->aX Predict which among the
following is correct with respect to the given assertion?
Chomsky Hierarchy(N)
Sentinal Form(Y)
If the partial derivation tree associates the root as the starting variable, the form
is known as: Root Form(N)
a(a*Ub*)b(Y)
a*(aUb)b*(N)
aabbaab(N)
aabbaa(Y)
Let G=(V, T, P, S) where a production can be written as: S->aAS|a, A->SbA|ba|SS baabab(N)
Illustrate among which of the following string is produced by the grammar?
Let G=(V, T, P, S) where a production can be written as: S->aAS|a, A->SbA|ba|SS
Illustrate among which of the following string is produced by the grammar?
Deterministic CFL(N)
All palindromes(N)
an element of G(N)
A pushdown automaton can be explained as: (Q, ∑, G, q0, z0, A, d). What does
the symbol z0 represents?
top stack alphabet(N)
A pushdown automaton can be explained as: (Q, ∑, G, q0, z0, A, d). What does
the symbol z0 represents?
real machine(N)
abstract machine(N)
State which of the functions are not performed by the turing machine after
reading a symbol?
Turing Completeness(Y)
Simulation(N)
Transition graph(N)
Transition table(N)
Turing machine(N)
thought experiments(N)
principle(N)
Fill in the blank with the most appropriate option. Statement: In theory of
computation, abstract machines are often used in ___________ regarding
computability or to analyze the complexity of an algorithm.
hypothesis(N)
A turing machine that is able to simulate other turing machines is defined as:
Counter machine(N)
5(N)
6(N)
Generating(N)
Pumping(Y)
Let w= xyz and y refers to the middle portion and |y|>0. Define what do we call
the process of repeating y 0 or more times before checking that they still belong
to the language L or not?
Producing(N)
n(Y)
|y}(N)
There exists a language L. We define a string w such that w∈L and w=xyz and |
w| >=n for some constant integer n. What can be the maximum length of the
substring xy i.e. |xy|<=? |x|(N)
p+1(Y)
Fill in the blank in terms of p, where p defines the maximum string length in L.
Statement: Finite languages trivially satisfy the pumping lemma by having n = p-1(N)
______
Halting problem(N)
input tape(N)
head(N)
Select which of the following a turing machine does not consist of?
Select which of the following a turing machine does not consist of? state register(N)
6(N)
7(Y)
5(N)
It is recursively ennumerable(N)
It is undecidable(N)
Identify the functions are not performed by the turing machine after reading a
symbol?
moves the tape one cell left/right(N)
Identify the functions are not performed by the turing machine after reading a
symbol?
an element of G(N)
Select which of the following are the models equivalent to Turing machine?
Select which of the following are the models equivalent to Turing machine?
Register machine(N)
2p(N)
Let L be a CFL. Then there is an integer n so that for any u that belong to
language L satisfying |t|>=n, there are strings u, v, w, x, y and z satisfying
t=uvwxy. Let p be the number of variables in CNF form of the context free
grammar. The value of n in terms of p is defined as
2^p(N)
2p+1(Y)
p^2(N)
{aibici|i>=0}(N)
{0i1i|i>=0}(Y)
State among the following gives a positive result to the pumping lemma
{ss|s∈{a,b}*}(N)
restrictions and requirements?
{ss|s∈{a,b}*}(N)
Using pumping lemma, state the following cannot be proved as ‘not a CFL’. The set legal C programs(N)
Turing Class(N)
Recursive Languages(N)
Universal Languages(N)
RE(Y)
x+1(N)
x(N)
x^2(Y)
Finite languages(N)
Context free languages(N)
State which of the following does not obey pumping lemma for context free
languages?
Unrestricted languages(Y)
State which of the following is true for two stack turing machines?
one read only input & two storage tapes(Y)
non-deterministic(N)
1 1(Y)
Turing Machines(N)
Context-free grammars(N)
Regular expressions(Y)
Unrestricted grammars(N)
Select the type of automaton allowing multiple possible transitions for a given
input symbol from a state.
Turing Machine(N)
Pushdown Automaton(N)
Under the pumping lemma, select the property that regular languages satisfy:
Under the pumping lemma, select the property that regular languages satisfy:
accepted by PDA(N)
Select the condition defining a language as regular if and only if_______ accepted by LBA(N)
Choose the following statements are correct for a concept called inherent
ambiguity in CFL?
None of these(N)
Acceptance state(Y)
Yes(N)
No(Y)
Unlimited(N)
Exactly 2(N)
State the maximum number of states that can be present in a state transition
diagram of a DFA:
Finite(Y)
At least 3(N)
Tell what does DFA stand for in the context of computer science?
1(N)
2(Y)
4(N)
1(N)
2(Y)
4(N)
Non-Finite Automaton(N)
Infinite(Y)
Bounded(N)
One(N)
Two(N)
Select for an NFA, how many transitions can occur for a given input symbol and
current state? Multiple(Y)
None(N)
Identify from the following options that is true about an NFA\'s transition
function:
Yes, always(Y)
No, never(N)
Yes(N)
No(Y)
Select the correct option for :Which of the following is NOT a step in applying
the Pumping Lemma to prove a language is not regular?
Select the correct option for :Which of the following is NOT a step in applying
the Pumping Lemma to prove a language is not regular?
Pump the string to generate a longer string.(N)
Select the correct option for :In the context of the Pumping Lemma, what
does \"pumping\" refer to?
Select the significance of the "pumping length" (p) in the Pumping Lemma:
Pumping property(N)
Identify the property that is crucial for the Pumping Lemma to hold for a regular
Concatenation property(N)
Identify the property that is crucial for the Pumping Lemma to hold for a regular
language:
Closure property(Y)
Non-determinism(N)
Infiniteness(N)
Select the key property of regular languages that the Pumping Lemma
leverages?
Determinism(N)
Repetition(Y)
Intersection(Y)
Union(N)
Kleene star(N)
Select from the following statements that is true about the complement of a
regular language:
Select the purpose of Kleene star operation that is applied to a regular language:
Select the closure property of regular languages that is true regarding union:
Select the option which is true about the closure of regular languages under
intersection:
Intersection(N)
Concatenation(N)
Tape(N)
Head(N)
Recognize the component of a Turing machine that is responsible for Transition function(Y)
determining the next action based on the current state and symbol read?
State register(N)
Select the following statements is true regarding the Pumping Lemma for
Regular Languages.
Select from the following statements is true regarding the Pumping Lemma for
Context-Free Languages.
Select from the following, the Pumping Lemma for Context-Free Languages can
be used to prove that-
Terminals(N)
Variables(N)
Productions(N)
Terminal symbols(N)
Regular expressions(N)
Finite automaton(N)
Input tape(N)
Stack(Y)
State register(N)
2p
2p
Determine how many states are required to build an equivalent Finite Automata
for the given regular expression (0+1)*(00+11)(0+1)*
Interpret the reason why the length of output is more than input in a Moore
Machine?
Establish a DFA to accept strings of a’s and b’s starting with the string ab
Construct the transition diagram of a FA which accepts all strings of 1's and 0's in
which both the number of 0's and 1's are even.
Explain the working and formal defination of Push Down Automata utilizing a
stack.
Express the DFA to accept strings of a’s and b’s having a sub string aa with a
diagram.
Explain the key differences between Mealy and Moore machines. In what
scenarios would you prefer to use each type of finite state machine? Compare
and contrast their advantages and disadvantages.
Rewrite after the removal of the unit production from the grammar S-->AB, A--
>E,B-->C,C-->D,D-->b, E-->a
Rewrite after the removal of the unit production from the grammar S-->AB, A--
>E,B-->C,C-->D,D-->b, E-->a
Analyze after the removal of ϵ productions from the grammar S-->ABaC, A-->BC,
B-->b/ ϵ, C→D/ ϵ, D-->d
Analyze after the removal of ϵ productions from the grammar S-->ABaC, A-->BC,
B-->b/ ϵ, C→D/ ϵ, D-->d
Estimate the below finite automata to check whether the following strings are
accepted or not. δ(q0,0) =q1, δ(q0,1) =q3, δ(q1,0)=q0, δ(q1,1)=q2, δ(q2,0)=q3,
δ(q2,1)=q1, δ(q3,0)=q2, δ(q3,1)=q0. q0 is initial and q2 is final state. (i) 1110 (ii)
0001 (iii) 1010
Evaluate the parse tree for generating the string 11001010 from the given
grammar: S→1B|0A A→1|1S|0AA B→0|0S|1BB
Estimate a PDA which recognizes all strings that contain equal number of 0’s and
1’s.
Illustrate the equivalent CFG for the Expression: (a+b)*aa(a+b)*
Explain PDA for the CFG generated for the set of all strings over the alphabet {a,
b} with exactly twice as many a’s and b’s.
Formulate a multi head Turing Machine for checking whether a binary string is a
palindrome or not.
Justify how turing machine can work as Enumerator
S → aB / bA
S → aS / bAA / a
B → bS / aBB / b
(Unambiguous Grammar)
S → aSb | SS
S→ε
Explain the context-sensitive languages, and how do they differ from context-
free languages?
Generalize are context-sensitive grammars defined, and what distinguishes
them from context-free grammars?
Can you explain the concept of linear bounded automata (LBA) and their
connection to context-sensitive languages?
Describe some examples of languages that are context-sensitive but not
context-free, and explain the process using context-sensitive grammars.
Classify the computational power of linear bounded automata compare to other
types of automata, such as Turing machines?
Discover the relationship between context-sensitive grammars and linear
bounded automata in terms of language recognition?
X → X X | X*X |X| a
is ambiguous or not.
Analyze the Grammar given below −
E⇒ E+E|E ∗∗ E|id
Find:
Leftmost
S
S
Li(Probable duplicate)
De
Li(Probable duplicate)
Di
Ex(Probable duplicate)
Ex(Probable duplicate)
Correlate the Pumping Lemma for Regular Languages and explain its significance
in the context of proving that a language is not regular.
Illustrate the role of ε-closures in the conversion process from an NFA to a DFA.
Provide examples to illustrate your explanation.
A(Probable duplicate)
W
E
Explain the role of regular expressions in formal language theory. How are
regular expressions used to define languages, and what are the key operations
associated with regular expressions? Provide examples to illustrate your points.
Convert the given CFG to CNF. Consider the given grammar G1:
S → a | aA | B
A → aBB | ε
B → Aa | b
Predict how left and right recursion can be obtained from a parse tree with
example
S→a|b|ε
Convert the regular expression *(a|b)abb into an NFA.
Prove that the union of two regular languages is always regular.
Analyze and classify Chomsky’s Hierarchy of formal languages.
Ex(Probable duplicate)
Construct finite automaton to accept the language generated by the following
grammar: S →aA| ϵ A →aA| bB|ϵ B →bB| ϵ
Let G be the grammar S →Ab|ba A →a|aS|aAA B →b|bS|aBB For the string
aaabbabbba establish the leftmost and rightmost derivation tree.
Convert the given Grammar to GNF: S→CA|BB, B→b|SB, C→b, A→a
Explain the formal description of Linear Bounded Automata. Also state the
closure properties of the language supported by it.
Estimate the PDA that recognize the set of all strings over 0,1 that contains at
least one 1
Discuss a PDA to accept L={wwR | w∈ {a,b}* and wR is the reverse of the string
w} by an empty stack and final state.
Discuss a PDA to accept L={wwR | w∈ {a,b}* and wR is the reverse of the string
w} by an empty stack and final state.
Remove Unit and Null productions for the grammar: S-> ASA|aB, A ->B|S, B->b|
^ (Here ^ is the null production)
Define the moves made by the Turing Machine with an example
Conclude whether the NFA and subsequent DFA derivation of the following
regular expression is possible: (0|1) *0
Assess the utility of different parts of a machine while processing any input.
Estimate a grammar to generate the following language: L = {0^m1^m2^n | m>=
1 and n>=0}.
Argue the design of a CFG and the type of machine used for the following
language: L= {a^nb^nc^n: n>=0}
Deduce the given CFG after its reduction: S→AC |B, A→a, C→c|BC, E→aA|∈.
Deduce the given CFG after its reduction: S→AC |B, A→a, C→c|BC, E→aA|∈.
Estimate the CFG after elimination of left recursion from the following Grammar.
E→E+T|T, T→T*F|F, F→(E)|id
E→E+T|T, T→T*F|F, F→(E)|id
Show a by a diagram the regular language for each of the following language:
L={w Ɛ {a,b}*:w does not end in aa}
Analyze the steps necessary to minimize the CFG.
Deduce the string 0100110 for the given Grammar by using the Leftmost and
Rightmost derivation. S→ 0S|1AA, A→0|1A|0B, B→1|0BB
Estimate the CFG after removal of Left recursion from the grammar. S→Sab|T,
T→Tcd|F, F→Fa|G
Explain the moves made by PDA to accept by final state the language of all
strings of 0’s and 1’s such that number of 1’s is less than number of 0’s.
Show that L - {ww| w ∈ {0,1}* } is not context free
Estimate the CNF form for the given CFG: S→1A|0B, A→1AA|0S|0, B→0BB|1S|
1
Estimate a PDA that accepts the language L over {0, 1} by empty stack which
accepts all the string of 0s and 1s in which a number of 0s are twice of number
of 1s.
Develop a Turing Machine for the language L = {0^n1^n2^n} where n≥1
Design a Turing machine for a language that recognizes equal no. of 0s and 1s.
Create a Turing machine that accepts the language over (a,b), for all strings that
contains “aba” as a substring.
Justify whether the language L={0n1n|n>=1} is regular or not with the use of
Pumping lemma.
Create a Turing machine which accepts even pallindrome
Construct a turing machine for a language over (0,1) that starts with 011
Compare and contrast the advantages and disadvantages of Mealy and Moore
machines in various applications.
Estimate the Regular Expression for the following DFA δ(P,1)= P, δ(P,0)= S,
δ(S,1)= R, δ(S,0)= Q, δ(R,0)= R, δ(R,1)= Q, δ(Q,0)= P, δ(Q,1)= S, P is both initial
and final state.
Construct the DFA : δ(q0,0) =q1, δ(q0,1)=q3, δ(q1,0)=q0, δ(q1,1)=q3, δ(q3,0)=q5,
δ(q3,1)=q5, δ(q5, 0)=q5, δ(q5, 1)=q5. q0 is initial state, q3 and q5are final states.
Construct the following NFA to its equivalent DFA. The moves are δ(q0, 0)=q0,
δ(q0, 1)=q1, δ(q1, 0)=q1, δ(q1, 1)=q1, δ(q1, 0)=q2, δ(q2, 0)=q2, δ(q2, 1)=q2,
δ(q2, 1)=q1. q1 is initial state. q2 is final state.
Construct the DFA and write the steps . The moves are δ(q1, 0)=q1, δ(q1, 1)=q2,
δ(q2, 1)=q2, δ(q2, 0)=q3, δ(q3, 0)=q3, δ(q3, 1)=q3. q1 is initial state. q1 and q2
are final states. Show the Transition Table
Define Mealy Machine and it's output characteristics.
The transition table of a NFA M is given in the following table. Construct a DFA
equivalent to M. Transitions are given as follows: δ(q0,0) =q1, δ(q0,0)=q4,
δ(q0,1)=q4, δ(q0,2)=q2, δ(q0,2)=q3, δ(q1,1)=q4, δ(q2,2)=q2, δ(q2,2)=q3,
δ(q3,1)=q4. q0 is initial and q3 is final state.
Convert the following PDA into an equivalent CFG. δ(q0,a0,z0)→(q1,z1z0),
δ(q0,b,z0)→(q1,z2z0), δ(q1,a,z1)→(q1,z1z1), δ(q1,b,z1)→(q1,λ),
δ(q1,b,z2)→(q1,z2z2)
Estimate the moves made by the DFA for the given NFA: The moves of the NFA
are: δ(q0,0)=q0, δ(q0,0)=q1, δ(q0,1)=q1, δ(q1,1)=q1, δ(q1,1)=q0. q0 is initial and
q1 is the final state.
Estimate the RE from the given FA. Given δ(q0,1)=q0, δ(q0,0)=q1, δ(q1,1)=q1,
δ(q1,0)=q2, δ(q2,0)=q1, δ(q2,1)=q0. q0 is initial and q2 is the final state.
Design a TM machine for checking the palindrome of the string of odd length.
Explain the Pumping Lemma for regular languages and its significance in the
theory of computation with an example demonstrating the application of the
Pumping Lemma.
Explain the process of converting a Non-Deterministic Finite Automaton (NFA) to
a Deterministic Finite Automaton (DFA). Discuss the key steps involved and
illustrate with an example.
Conclude the significance of converting an NFA to a DFA in the context of
computational theory. Explain this conversion aid in simplifying the analysis of
regular languages. Provide examples to support your explanation.
Illustrate the critical steps involved in each conversion and present the resulting
automaton : (a∣b) ∗ c to Non-deterministic Finite Automaton (NFA) .
Illustrate the critical steps involved in each conversion and present the resulting
automaton: (a∣b) ∗ c to Deterministic Finite Automaton (DFA) .
Explain the Pumping Lemma for regular languages, including its statements and
significance in proving that certain languages are not regular. Provide an
example to illustrate the application of the Pumping Lemma in demonstrating
the non-regularity of a language.
Illustrate a FA with ∑ = {0, 1} accepts even number of 0's and even number of
1's.
Illustrate a DFA L(M) = {w | w ε {0, 1}*} and W is a string that does not contain
consecutive 1's.
Illustrate an NFA with ∑ = {0, 1} accepts all string in which the third symbol from
the right end is always 0.
Estimate the following Moore machine into its equivalent Mealy machine.
Estimate the following Moore machine into its equivalent Mealy machine.
Estimate the regular expression for the given DFA
Illustrate a Moore machine for a binary input sequence such that if it has a
substring 101, the machine output A, if the input has substring 110, it outputs B
otherwise it outputs C.
Illustrate a Moore machine with the input alphabet {0, 1} and output alphabet
{Y, N} which produces Y as output if input sequence contains 1010 as a substring
otherwise, it produces N as output.
Illustrate a Mealy machine for a binary input sequence such that if it has a
substring 101, the machine output A, if the input has substring 110, it outputs B
otherwise it outputs C.
Illustrate a mealy machine that scans sequence of input of 0 and 1 and
generates output 'A' if the input string terminates in 00, output 'B' if the string
terminates in 11, and output 'C' otherwise.
Predict using pumping lemma if a^n b^n c^n, for all n>=0 is context free or not.
Design a PDA for accepting a language {a^nb^2n | n>=1}.
Construct a PDA that accepts the language L over {0, 1} by empty stack which
accepts all the string of 0's and 1's in which a number of 0's are twice of number
of 1's.
Write the difference between Turing-Recognizable and Turing-Decidable
Languages
Construct a turing machine which accepts the language of "aba" over ∑ = {a, b}.