Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Webpage for Theory of Computation:
Recent questions tagged theory-of-computation
1
votes
1
answer
3931
UGC NET CSE | June 2016 | Part 3 | Question: 22
The symmetric differences of two sets $S_1$ and $S_2$ is defined as: $S_1 \oplus S_2 =\{x \mid x \in S_1 \text{ or } x \in S_2, \text{ but x is not in both } S_1 \text{ and } S_2 \}$ ... family of regular languages are closed under both symmetric difference and nor The family of regular languages are not closed under both symmetric difference and nor
The symmetric differences of two sets $S_1$ and $S_2$ is defined as:$S_1 \oplus S_2 =\{x \mid x \in S_1 \text{ or } x \in S_2, \text{ but x is not in both } S_1 \text{ an...
go_editor
2.5k
views
go_editor
asked
Aug 20, 2016
Theory of Computation
ugcnetcse-june2016-paper3
theory-of-computation
regular-language
+
–
3
votes
2
answers
3932
No of DFA
How many number of FA are possible with N states (Q1,Q1,........Qn) for input alphabet {1,2,3,........m} ,where Q1 is always initial state ?
How many number of FA are possible with N states (Q1,Q1,........Qn) for input alphabet {1,2,3,........m} ,where Q1 is always initial state ?
Vivek Jain
1.7k
views
Vivek Jain
asked
Aug 18, 2016
Theory of Computation
theory-of-computation
finite-automata
+
–
3
votes
3
answers
3933
DFA
How many number of DFA's are possible with 2 states X and Y for input alphabet {0,1}?
How many number of DFA's are possible with 2 states X and Y for input alphabet {0,1}?
Vivek Jain
791
views
Vivek Jain
asked
Aug 17, 2016
Theory of Computation
theory-of-computation
finite-automata
+
–
4
votes
2
answers
3934
CFL closure property
$L = \left \{ a^nb^n \ ; n\geq 0 \ , n \neq 20 \right \}$ is (a) a DCFL (b) a recursive set but not CFL (c) a CFL but not DCFL (d) not a CFL
$L = \left \{ a^nb^n \ ; n\geq 0 \ , n \neq 20 \right \}$ is(a) a DCFL(b) a recursive set but not CFL(c) a CFL but not DCFL(d) not a CFL
dd
1.3k
views
dd
asked
Aug 17, 2016
Theory of Computation
theory-of-computation
closure-property
context-free-language
+
–
5
votes
2
answers
3935
UGC NET CSE | June 2016 | Part 2 | Question: 31
The number of strings of length 4 that are generated by the regular expression $(0 \mid \epsilon ) 1^+ 2^{*}(3 \mid \epsilon)$, where $\mid$ is an alternation character, $\{+, *\}$ are quantification characters, and $\epsilon$ is the null string, is: 08 10 11 12
The number of strings of length 4 that are generated by the regular expression $$(0 \mid \epsilon ) 1^+ 2^{*}(3 \mid \epsilon)$$, where $\mid$ is an alternation character...
go_editor
5.8k
views
go_editor
asked
Aug 16, 2016
Theory of Computation
ugcnetcse-june2016-paper2
theory-of-computation
regular-expression
+
–
8
votes
3
answers
3936
DFA
Construct a minimal DFA which accepts set of all strings over {a,b} such that second symbol from RHS is 'a'.
Construct a minimal DFA which accepts set of all strings over {a,b} such that second symbol from RHS is 'a'.
Vivek Jain
11.2k
views
Vivek Jain
asked
Aug 13, 2016
Theory of Computation
finite-automata
theory-of-computation
+
–
6
votes
1
answer
3937
Regular Language
Alphabet : {a, b} Language : Set of all strings which start and end with same symbol Doubt : Can $\epsilon$ be considered as part of the language ? Edit: I can see several people have answered my question in the comments. Perhaps I should have ... present at the beginning and end of "ab" or even between a and b. If you disagree with me please give some explanation.
Alphabet : {a, b}Language : Set of all strings which start and end with same symbolDoubt : Can $\epsilon$ be considered as part of the language ?Edit: I can see several p...
Rounak Agarwal
7.9k
views
Rounak Agarwal
asked
Aug 13, 2016
Theory of Computation
theory-of-computation
regular-language
+
–
8
votes
2
answers
3938
Minimization of DFA
Kapil
5.8k
views
Kapil
asked
Aug 11, 2016
Theory of Computation
theory-of-computation
minimal-state-automata
finite-automata
+
–
4
votes
1
answer
3939
UGC NET CSE | December 2015 | Part 3 | Question: 23
Match the following $:$ ... $\text{(a)-(iv), (b)-(iii), (c)-(i), (d)-(ii)}$
Match the following $:$$\begin{array}{clcl} & \textbf{List – I} & & \textbf{List – II} \\ \text{(a)} & \{a^n b^n \mid n 0\} \text{ is a deterministic } & \text{...
go_editor
3.1k
views
go_editor
asked
Aug 9, 2016
Theory of Computation
ugcnetcse-dec2015-paper3
theory-of-computation
match-the-following
+
–
2
votes
2
answers
3940
UGC NET CSE | December 2015 | Part 3 | Question: 22
The family of context sensitive languages is _____ under union and ____ under reversal closed, not closed not closed, not closed closed, closed not closed, closed
The family of context sensitive languages is _____ under union and ____ under reversalclosed, not closednot closed, not closedclosed, closednot closed, closed
go_editor
2.1k
views
go_editor
asked
Aug 9, 2016
Theory of Computation
ugcnetcse-dec2015-paper3
theory-of-computation
closure-property
context-sensitive
+
–
3
votes
0
answers
3941
Identify the grammar for Hindi language
Hindi words changes according to nearby words. eg: कौआ changes to कौए, in the context of को. What is the level of grammar which can successfully represent Hindi? a) Context free b) Context Sensitive but not Context free c) Recursive enumerable but not Context Sensitive d) Recursive but not Recursive enumerable
Hindi words changes according to nearby words.eg: कौआ changes to कौए, in the context of को.What is the level of grammar which can successfully represen...
sh!va
454
views
sh!va
asked
Aug 9, 2016
Unknown Category
theory-of-computation
grammar
+
–
6
votes
1
answer
3942
MadeEasy Test Series: Theory Of Computation - Grammar
I am not getting how one of it is CLG & rest 2 are regular plz someone explain this..... thnks in advance...
I am not getting how one of it is CLG & rest 2 are regularplz someone explain this.....thnks in advance...
dileswar sahu
632
views
dileswar sahu
asked
Aug 9, 2016
Theory of Computation
made-easy-test-series
test-series
theory-of-computation
grammar
+
–
2
votes
1
answer
3943
UGC NET CSE | December 2015 | Part 2 | Question: 15
In general, in a recursive and non-recursive implementation of a problem (program): Both time and space complexities are better in recursive than in non-recursive program Both time and space complexities are better in non- ... Space complexity is better in recursive version but time complexity is better in non-recursive version of a program
In general, in a recursive and non-recursive implementation of a problem (program):Both time and space complexities are better in recursive than in non-recursive programB...
go_editor
2.8k
views
go_editor
asked
Aug 8, 2016
Theory of Computation
ugcnetcse-dec2015-paper2
theory-of-computation
+
–
4
votes
3
answers
3944
Regular Languages
If $L1$ and $L1\cap L2$ are regular then $L2$ has to be regular $L2$ need not be regular $L2$ has to be context free None
If $L1$ and $L1\cap L2$ are regular then$L2$ has to be regular$L2$ need not be regular$L2$ has to be context freeNone
Mojojojo
762
views
Mojojojo
asked
Aug 3, 2016
Theory of Computation
theory-of-computation
+
–
1
votes
2
answers
3945
Toc -regular
If L is a regular Language and R is any language such that L+R is regular,then R is a)Must be regular b)May or may not be regular c)Must be non regular language d)Must be CFL
If L is a regular Language and R is any language such that L+R is regular,then R isa)Must be regularb)May or may not be regularc)Must be non regular languaged)Must be CFL...
resilientknight
362
views
resilientknight
asked
Aug 3, 2016
Theory of Computation
theory-of-computation
regular-language
+
–
2
votes
2
answers
3946
Toc -regular
Which of the following statements are true? 1)The union of 2 non regular languages is non regular. 2)The intersection of 2 non regular languages is non regular. a) 1 only b) 2 only c)both d)none
Which of the following statements are true?1)The union of 2 non regular languages is non regular.2)The intersection of 2 non regular languages is non regular.a) 1 onlyb) ...
resilientknight
1.9k
views
resilientknight
asked
Aug 3, 2016
Theory of Computation
theory-of-computation
regular-language
+
–
3
votes
1
answer
3947
Toc - Regular
Consider the language L={0p |p is a prime number} over the alphabet {0} . State whether the following statement is true or false? L is not regular but L* is regular? The cardinality of set (L*)' is 1.
Consider the language L={0p |p is a prime number} over the alphabet {0} .State whether the following statement is true or false?L is not regular but L* is regular?The ca...
resilientknight
910
views
resilientknight
asked
Aug 2, 2016
Theory of Computation
theory-of-computation
regular-language
+
–
1
votes
1
answer
3948
TOC-regular languages
L1 = {apbq | p+q>=106} p,q, can only belong to set N. L1 Regular or not? Complement of L1 is definitely regular,so this should be regular,but it is confusing?
L1 = {apbq | p+q>=106} p,q, can only belong to set N.L1 Regular or not?Complement of L1 is definitely regular,so this should be regular,but it is confusing?
resilientknight
746
views
resilientknight
asked
Aug 2, 2016
Theory of Computation
theory-of-computation
regular-language
+
–
2
votes
2
answers
3949
Toc -Regular or cfl
{0p0q+ 1p1q | 0<=p<=q } Regular or Cfl? My confusion is there is comparison involved between p and q ?
{0p0q+ 1p1q | 0<=p<=q } Regular or Cfl?My confusion is there is comparison involved between p and q ?
resilientknight
372
views
resilientknight
asked
Aug 2, 2016
Theory of Computation
theory-of-computation
normal
+
–
4
votes
2
answers
3950
toc -recuresively ennumerable
Let L be a regular language, and R be a turing recognizable language but not acceptable language. Which of the following is possible? a) Set of strings common in L and R' can be in not RE(where ' is a complement operation) b)Set of strings common in L and R' can be recursive. 1) only a 2)only b 3) both 4) none
Let L be a regular language, and R be a turing recognizable language but not acceptable language. Which of the following is possible?a) Set of strings common in L and R' ...
resilientknight
1.0k
views
resilientknight
asked
Aug 2, 2016
Theory of Computation
recursive-and-recursively-enumerable-languages
theory-of-computation
+
–
2
votes
2
answers
3951
Toc-Recursively Ennumerable
A is a decision problem. If A is recursively ennumerable then there exists an algorithm which halts on every string in A. True or false.Cite with reasons.
A is a decision problem. If A is recursively ennumerable then there exists an algorithm which halts on every string in A.True or false.Cite with reasons.
resilientknight
1.3k
views
resilientknight
asked
Aug 2, 2016
Theory of Computation
recursive-and-recursively-enumerable-languages
theory-of-computation
+
–
0
votes
1
answer
3952
UGC NET CSE | December 2014 | Part 3 | Question: 63
According to pumping lemma for context free languages : Let $L$ be an infinite context free language, then there exists some positive integer m such that any $w \in L$ with $| w | \geq m$ can be decomposed as $w = u v x y z$ With $| vxy | \leq m$ such ... $uv^{i}xy^{i} z\in L$ for all $i = 0, 1, 2, …….$
According to pumping lemma for context free languages :Let $L$ be an infinite context free language, then there exists some positive integer m such that any $w \in L$ wit...
makhdoom ghaya
2.1k
views
makhdoom ghaya
asked
Aug 2, 2016
Theory of Computation
ugcnetcse-dec2014-paper3
theory-of-computation
+
–
6
votes
5
answers
3953
UGC NET CSE | December 2015 | Part 3 | Question: 73
Consider Language $A$ defined over the alphabet $\Sigma=\{0,1\}$ as $A=\{0^{\lfloor n/2 \rfloor} 1^n :n>=0 \}$ The expression $\lfloor n/2 \rfloor$ means the floor of $n/2$, or what you get by rounding $n/2$ down to the nearest integer. Which of the following is not an example of a string in $A$? $011$ $0111$ $0011$ $001111$
Consider Language $A$ defined over the alphabet $\Sigma=\{0,1\}$ as $A=\{0^{\lfloor n/2 \rfloor} 1^n :n>=0 \}$ The expression $\lfloor n/2 \rfloor$ means the floor of $n/...
Sankaranarayanan P.N
2.7k
views
Sankaranarayanan P.N
asked
Aug 2, 2016
Theory of Computation
ugcnetcse-dec2015-paper3
theory-of-computation
+
–
5
votes
4
answers
3954
UGC NET CSE | Junet 2015 | Part 3 | Question: 63
Given the following grammars: $G_1$ $S \rightarrow AB \mid aaB$ $A \rightarrow aA \mid \epsilon$ $B \rightarrow bB \mid \epsilon$ $G_2$: $S \rightarrow A \mid B$ $A \rightarrow a A b \mid ab$ ... is unambiguous and $G_2$ is ambiguous grammars both $G_1$ and $G_2$ are ambiguous grammars both $G_1$ and $G_2$ are unambiguous grammars
Given the following grammars:$G_1$$S \rightarrow AB \mid aaB$ $A \rightarrow aA \mid \epsilon$ $B \rightarrow bB \mid \epsilon$$G_2$:$S \rightarrow A \mid B$ $A \rightarr...
go_editor
4.7k
views
go_editor
asked
Aug 2, 2016
Theory of Computation
ugcnetcse-june2015-paper3
theory-of-computation
compiler-design
+
–
3
votes
2
answers
3955
UGC NET CSE | Junet 2015 | Part 3 | Question: 62
Given the following two statements: $S_1$: If $L_1$ and $L_2$ are recursively enumerable languages over $\Sigma^*$, then $L_1 \cup L_2$ and $L_1 \cap L_2$ are also recursively enumerable. $S_2$: The set of recursively enumerable languages is ... not correct and $S_2$ is correct Both $S_1$ and $S_2$ are not correct Both $S_1$ and $S_2$ are correct
Given the following two statements:$S_1$: If $L_1$ and $L_2$ are recursively enumerable languages over $\Sigma^*$, then $L_1 \cup L_2$ and $L_1 \cap L_2$ are also recursi...
go_editor
2.0k
views
go_editor
asked
Aug 2, 2016
Theory of Computation
ugcnetcse-june2015-paper3
theory-of-computation
recursive-and-recursively-enumerable-languages
+
–
3
votes
2
answers
3956
UGC NET CSE | Junet 2015 | Part 3 | Question: 61
A context free grammar for $L=\{w \mid n_0 (w) > n_1 (w)\}$ is given by: $S \rightarrow 0 \mid 0S \mid 1 S S$ $S \rightarrow 0 S \mid 1 S \mid 0 S S \mid 1 S S \mid 0 \mid 1$ $S \rightarrow 0 \mid 0 S \mid 1 S S \mid S 1 S \mid S S 1$ $S \rightarrow 0 S \mid 1 S \mid 0 \mid 1$
A context free grammar for $L=\{w \mid n_0 (w) n_1 (w)\}$ is given by:$S \rightarrow 0 \mid 0S \mid 1 S S$$S \rightarrow 0 S \mid 1 S \mid 0 S S \mid 1 S S \mid 0 \mid 1...
go_editor
2.9k
views
go_editor
asked
Aug 1, 2016
Theory of Computation
ugcnetcse-june2015-paper3
theory-of-computation
context-free-grammar
+
–
3
votes
1
answer
3957
UGC NET CSE | December 2014 | Part 3 | Question: 62
Match the following $:$ ... $\text{a-iv, b-i, c-ii, d-iii}$ $\text{a-i, b-iv, c-iii, d-ii}$
Match the following $:$ $\begin{array} {clcl} & \textbf{List – I} && \textbf{List – II} \\ \text{a.}& \text{Context free grammar} & \text{i.} & \text{Linear bounded a...
makhdoom ghaya
881
views
makhdoom ghaya
asked
Aug 1, 2016
Theory of Computation
ugcnetcse-dec2014-paper3
theory-of-computation
grammar
+
–
5
votes
3
answers
3958
Theory Of Computation, Chapter 2, Exercises 2 (e) Minimal DFA
Construct a minimal DFA for the given language. How to find the union of two DFA's ?
Construct a minimal DFA for the given language.How to find the union of two DFA's ?
Sangam
3.7k
views
Sangam
asked
Aug 1, 2016
Theory of Computation
theory-of-computation
finite-automata
+
–
3
votes
2
answers
3959
UGC NET CSE | Junet 2015 | Part 3 | Question: 21
The transition function for the language $L=\{w \mid n_a (w) \text{ and } n_b(w) \text{ are both odd} \}$ is given by: $\delta (q_0, a)=q_1$ ; $\delta (q_0, b)=q_2$ $\delta (q_1, a)=q_0$ ... states of the automata are $q_0$ and $q_0$ respectively $q_0$ and $q_1$ respectively $q_0$ and $q_2$ respectively $q_0$ and $q_3$ respectively
The transition function for the language $L=\{w \mid n_a (w) \text{ and } n_b(w) \text{ are both odd} \}$ is given by:$\delta (q_0, a)=q_1$;$\delta (q_0, b)=q_2$$\delta (...
go_editor
2.6k
views
go_editor
asked
Jul 31, 2016
Theory of Computation
ugcnetcse-june2015-paper3
theory-of-computation
finite-automata
+
–
3
votes
2
answers
3960
UGC NET CSE | Junet 2015 | Part 3 | Question: 20
The regular expression corresponding to the language L where $L=\{ x \in \{0,1\}^* \mid x \text{ ends with 1 and does not contain substring 00} $ is (1+01)* (10+01) (1+01)* 01 (1+01)* (1+01) (10+01)* 01
The regular expression corresponding to the language L where $L=\{ x \in \{0,1\}^* \mid x \text{ ends with 1 and does not contain substring 00} $ is(1+01)* (10+01)(1+01)*...
go_editor
6.5k
views
go_editor
asked
Jul 31, 2016
Theory of Computation
ugcnetcse-june2015-paper3
theory-of-computation
regular-expression
+
–
Page:
« prev
1
...
127
128
129
130
131
132
133
134
135
136
137
...
155
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register