2 answers
5
7 answers
6
Find the type of error produced by the following C code.main() { in/*comment t x; floa/*comment*/t gate; }Lexical errorsyntax errorboth a) and b) None of these
2 answers
8
Are p and np languages all recursive? Because p and np both correspond to languages which have algorithms and algorithms means that there is a halting turning machine(eit...
1 answer
9
What will be the answer to this question? L’ is the complement of language L belongs to NP does not always imply thatL’ belongs to NPL’ belongs to P both a and b
1 answer
10
Are p and np problems both closed under union intersection and concatenation and kleene closure? If yes then how?
0 answers
11
a^m b^n where m+n=p how is this a cfl? Please explain. How will the stack be managed in this kind of language? also why can't cfl perform multiplication and subtraction? ...
1 answer
12
I haven't done ardens theorem and my hill nerode theorem. However i have done questions based on them. Should i do these theorems if i am able to solve questions based on...
0 answers
13
I found out its regular expression to be00(0+11*0+11*10)*11*is this regular expression correct for the finite automata given above?
0 answers
14
For this given 3 state machine, what will be the regular expressions for the following cases:When A is the final state. When B is the final stateWhen C is the final state...
1 answer
15
What is the number of states in the minimal dfa representing the language a*b* ?
1 answer
16
L is regular <= there exists a linear grammar for L. Which way is it true and which way is it false? Please explain in detail
1 answer
17
S→ aSb/epsilonis this linear grammar? I know it's a cfg but is it linear as well?
1 answer
18
Is context free grammar linear grammar?
0 answers
19
1 answer
20
i wanted to ask that i have all the material for gate. But the question bank which i have(apart from the previous years) does not have answer key. Is it okay to solve que...
1 answer
21
Do i have to study the conversation of pda to Cfg or cfg to pda? Is this an important concept with relevance to gate? I know how to individually make them though.
0 answers
22
what will be the pushdown automata for the language, L=a^n b^m where n=2m+1.
1 answer
23
Can i dfa has lesser states than an nfa?
0 answers
24
1 answer
26
are these equal?R1=(bc*a)*bc*dR2=b(c+ab)*dare r1 and r2 equal? Also can we obtain different regular expressions from a finite automata? if yes, how do we check if they're...
0 answers
27