Recent questions tagged go-cd-1

6 votes
2 answers
1
If we merge states in LR(1) parser to form a LALR(1) parser, we may introduceshift-reduce conflictreduce-reduce conflictno extra conflictboth shift-reduce as well as redu...
4 votes
2 answers
2
Suppose we have a rightmost derivation which proceeds as follows:$\begin{array}{ccc}S &\rightarrow & Aabw \\ & \rightarrow &ABw \end{array}$Which of the following is a po...
5 votes
1 answer
9
For which of the following languages a LL(1) grammar does not exist?$\{a^n o b^n \mid n \geq 1\} \cup \{ a^n b^{n} \mid n \geq 1 \}$$\{ a^n b^m \mid m,n \geq 0 \}$$\{a^i...
4 votes
2 answers
13
Match the following:$$\begin{array}{|cc|cc|} \hline (i) &LL(1)&(A)& \text{bottom-up} \\ \hline (ii)& \text{Recursive Descent}& (B) &\text{Predictive} \\ \hline (iii) &\te...
7 votes
1 answer
14
To see more, click for the full list of questions or popular tags.