Let \(\Sigma=\{a,b,c,d\}\) and \(L=\{a^i b^j c^k d^{\ell}\mid i,j,k,\ell\geq0\}\).Which of the following constraints ensure(s) that the language \(L\) is context-free?
Which of the following grammars is/are ambiguous?
Let πΏ1 and πΏ2 be two languages over a finite alphabet, such that πΏ1 β©πΏ2 and πΏ2 areregular languages.Which of the following statements is/are always true?
Consider the following grammar where π is the start symbol, and π and π areterminal symbols.π βππππ β£ ππ β£ Ο΅Which of the following statements is/are true?
Consider the following context-free grammar πΊ.πβππππ΄π΅π΄ππππ΄βπππ΅π΅π΄π | ππ΅πππππ΅βππ΅π | ππIn the above grammar, π is the start symbol, π and π are terminal symbols, and π΄ andπ΅ are non-terminal symbols.Let πΏ(πΊ) be the language generated by the grammar πΊ. For a string π βπΏ(πΊ), letπ1(π ) be the number of πβs in π and π2(π ) be the number of πβs in π .Which of the following statements is/are true?