2 votes
4 answers
93
1 votes
1 answer
95
How many number of $DFA$ states(minimal DFA) required which accepts the language $L=\left \{ a^{n}:n=\text{3 or n>= 2m for all m>= 1} \right \}$ ___________Answer will be...
0 votes
1 answer
99
for(k=1;k<(n+1);k++) { for(m=1;m<(n+1);m+=k){ x=x+1; } }What is the T.C. of the following code?Is it $n^{2}$ or $n\log n$??
0 votes
1 answer
100
How by Pumping Lemma we can prove that“context free grammar generate an infinite number of strings”and here what could be pumping length ?
0 votes
0 answers
102
To get branch address, do we need base register value or Program Counter value?
0 votes
0 answers
103
$1)L=M$ is a turing machine $M$ accepts two strings of different length $2)L=M$ is a turing machine $M$ accepts atleast two strings of different length Which one RE? Whic...
0 votes
0 answers
104
$(a,b,c)$ represents by reading input $a$, it replaces $a$ by $b$ and moved to $c$ direction. Which of the following language accepted by TM?My question is what $y$ is ac...
1 votes
1 answer
106
The regular expression 0*(10*)* denote the same set as(1) (1*0)*1*(2) 0+(0+10)*(3) (0+1)*10(0+1)*(4) None of theseIsnot 1) as same as given expression?
0 votes
0 answers
107
0 votes
0 answers
108
Using best first search for a shortest path from A to Z, the order in which nodes are considered best for the path is (Note :- that these are node orders not full paths.)...
0 votes
0 answers
109
Identify the algorithm which works on the principle that locally optimal solutions are globally optimal.$\left ( A \right )$ Divide and Conquer$\left ( B \right )$ Greedy...
1 votes
0 answers
110
$\left \{ a^{n}.b^{n+k}\mid n\geq 0,k\geq 1 \right \}\cup \left \{ a^{n+k}.b^{n}\mid n\geq 0,k\geq 3 \right \}$ is DCFLIs it true? As we know union of two DCFL cannot be ...