Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged gatebook-toc
5
votes
3
answers
1
Gatebook
Consider languages L1 and L2 over {0,1) alphabet. L2= {w/w contains some x as a substring and x belongs to L1} Which of the following must be true? I. If L1 is regular, L2 is also regular II. If L1 is CFL, L2 is also CFL III. If L1 is recursive, L2 is also recursive (A). I and II only (B). I, II, III only (C). I and III only (D). II and III only
Consider languages L1 and L2 over {0,1) alphabet.L2= {w/w contains some x as a substring and x belongs to L1}Which of the following must be true?I. If L1 is regular, L2 i...
Hradesh patel
1.9k
views
Hradesh patel
asked
Jan 19, 2017
Theory of Computation
gatebook-toc
theory-of-computation
regular-language
+
–
0
votes
1
answer
2
Toc RLG to LLG
Construct right-linear grammar and left-linear grammar for the language L ={anbm : n$\geq$2 , m$\geq$3} Explanation about this....???
Construct right-linear grammar and left-linear grammar for the languageL ={anbm : n$\geq$2 , m$\geq$3}Explanation about this....???
Anmol Verma
1.9k
views
Anmol Verma
asked
Dec 1, 2016
Theory of Computation
theory-of-computation
gatebook-toc
+
–
1
votes
2
answers
3
Theory of computation Gatebook
Which of the following problems is(are) decidable ? I. Given a (finite) string W, is W a prefix of the decimal expansion of $\pi$ II. Given a Program and an input, is the programs output the decimal expansion of $\pi$ III. Given a Program and an input a ... prorams output always the same for every prifix (A). I only (B). II only (C). I and II only (D). III only
Which of the following problems is(are) decidable ?I. Given a (finite) string W, is W a prefix of the decimal expansion of $\pi$II. Given a Program and an input, is ...
Shreya Roy
901
views
Shreya Roy
asked
Nov 18, 2016
Theory of Computation
theory-of-computation
gatebook-toc
+
–
3
votes
0
answers
4
Theory of Computation
There is a CFG with only 2 variables, and a single terminal, and 2 only productions (No unit, epsilon, useless products, left recursion,). What would be the max number of productions if that gets converted into GNF (A). 2 (B). <=4 (C). <=8 (D). None
There is a CFG with only 2 variables, and a single terminal, and 2 only productions (No unit, epsilon, useless products, left recursion,). What would be the max number of...
Shreya Roy
384
views
Shreya Roy
asked
Nov 18, 2016
Theory of Computation
gatebook-toc
test-series
theory-of-computation
+
–
3
votes
2
answers
5
TOC Gatebook
Let L = {xy | xwy L1, |x| = |w| = |y|}. Then L is(L1 is regular) (A). Regular (B). Non regular (C). May be regular (D). None
Let L = {xy | xwy L1, |x| = |w| = |y|}. Then L is(L1 is regular)(A). Regular(B). Non regular(C). May be regular(D). None
Shreya Roy
1.1k
views
Shreya Roy
asked
Nov 18, 2016
Theory of Computation
gatebook-toc
+
–
0
votes
1
answer
6
Gatebook Test
Which of the following languages are decidable? (A). The set of TM's whose languages contain 0* (B). The set of all TM's that accept same language by visiting at most 100 distinct tape cells (C). The set of pairs of TM's that generate the same language (D). The set of TM's whose language are not empty
Which of the following languages are decidable?(A). The set of TM's whose languages contain 0*(B). The set of all TM's that accept same language by visiting at most 100 d...
Shreya Roy
423
views
Shreya Roy
asked
Nov 14, 2016
Theory of Computation
gatebook-toc
+
–
2
votes
1
answer
7
GBook
L = {B(N)#B(N+1) : B(N) represents binary pattern for given N. Example B(5)=101, N>=1}. Then which of the following is true for L? (A). L is regular (B). L is CFL but not regular (C). L is Recursive but not CFL (D). L is recursive enumerable but not recursive
L = {B(N)#B(N+1) : B(N) represents binary pattern for given N. Example B(5)=101, N>=1}. Then which of the following is true for L?(A). L is regular(B). L is CFL but not r...
Shreya Roy
1.5k
views
Shreya Roy
asked
Nov 14, 2016
Theory of Computation
gatebook-toc
+
–
1
votes
0
answers
8
Gatebook
Let L={x | x ϵ (0+1)* ,If x_{i}(bit at ith position of x)=1 then each of the next i positions must be a 1} then L is (A). R.E but not Recursive (B). CFL but not regular (C). Recursive but not C.F.L (D). Regular
Let L={x | x ϵ (0+1)* ,If x_{i}(bit at ith position of x)=1 then each of the next i positions must be a 1} then L is(A). R.E but not Recursive(B). CFL but not regular(C)...
Shreya Roy
416
views
Shreya Roy
asked
Nov 14, 2016
Theory of Computation
gatebook-toc
+
–
4
votes
1
answer
9
GB TOC Q13
Which of the following is not regular? (A). {/n>=0 and input alphabet is {a,b}} (B). where i+j+k>100 & k>50 (C). where i+j+k>100 & j+k>50 (D). None of the above
Which of the following is not regular?(A). {/n>=0 and input alphabet is {a,b}} (B). where i+j+k>100 & k>50(C). where i+j+k>100 & j+k>50 (D). None...
Shreya Roy
956
views
Shreya Roy
asked
Nov 14, 2016
Theory of Computation
gatebook-toc
+
–
3
votes
1
answer
10
TOC Grand Test 1 Question 27 - Gatebook
Consider languages L1 and L2 over {0,1} alphabet . L2= { w | w contains some x as a substring and x belongs to L1 } Which of the following must be true? I. If L1 is regular, L2 is also regular. II. If L1 is CFL, L2 is also CFL. III. If L1 is recursive, L2 is also recursive I and II only I, II and III I and III only II and III only
Consider languages L1 and L2 over {0,1} alphabet . L2= { w | w contains some x as a substring and x belongs to L1 }Which of the following m...
Kapil
820
views
Kapil
asked
Nov 9, 2016
Theory of Computation
gatebook-toc
regular-language
theory-of-computation
+
–
5
votes
1
answer
11
GBook TOC Grand Test 1 Q 4
L is a language in which number of b's is twice the number of a's. M is a language in which every 'a' is being followed by exactly 2b's. N is a language in which all a's are followed by double number of b's . Which of ... a's is twice the number of b's to L is a language in which number of b's is twice the number of a's.
L is a language in which number of b's is twice the number of a's. M is a language in which every 'a' is being followed by exactly 2b's. N is a language in which all a’...
KISHALAY DAS
996
views
KISHALAY DAS
asked
Nov 7, 2016
Theory of Computation
gatebook-toc
+
–
To see more, click for the
full list of questions
or
popular tags
.
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register