retagged by
640 views
1 votes
1 votes
closed with the note: duplicate of https://gateoverflow.in/1251/gate2007-53

Consider the following two statements:

  • P: Every regular grammar is LL(1)
  • Q: Every regular set has a LR(1) grammar

Which of the following is TRUE?

  1. Both P and Q are true

  2. P is true and Q is false

  3. P is false and Q is true

  4. Both P and Q are false

retagged by

Related questions

2 votes
2 votes
1 answer
1
Akriti sood asked Dec 10, 2016
4,256 views
can LR(1) parser parse any context-free grammar/language ??and hence every regular language can be parsed by LR(1) parsers.
2 votes
2 votes
4 answers
2
1 votes
1 votes
4 answers
3
Rahul_Rathod_ asked Jan 21, 2019
3,603 views
grammar is CLR(1) or not?if yes then how?
2 votes
2 votes
0 answers
4
Na462 asked Jan 19, 2019
902 views
Which one of the following is true about LALR(1) Parser ?It can resolve SR Conflict in favor of reducedIt can resolve SR Conflict in favor of ShiftIt can resolve RR Confl...