Multiple Choice
Consider the following statements about the context free grammar G = {S - >SS,S - >ab,S ->ba, S - ?}
I. G is ambiguous
II. G produces all strings with equal number of a's and b's
III. G can be accepted by a deterministic PDA.
Which combination below expresses all the true statements about G?
A) 1 only
B) 1 and 3
C) 2 and 3
D) 1,2 and 3
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Recursively enumerable languages are not closed under:<br>A)Union<br>B)Intersection<br>C)Complementation<br>D)Concatenation
Q3: Let S be an NP-complete problem, Q
Q4: Give a production grammar for the language
Q5: A PC not connected to a network
Q6: A FSM can be considered, having finite
Q7: The following CFG is in<br>S ? Abb<br>B
Q8: The part of an FA, where the
Q9: The production Grammar is {S->aSbb,S->abb} is<br>A)type-3 grammar<br>B)type-2
Q10: Regular expression (x/y)(x/y) denotes the set<br>A){xy,xy}<br>B){xx,xy,yx,yy}<br>C){x,y}<br>D){x,y,xy}
Q11: Let SHAM3 be the problem of finding