GATE 2021 set1 Computer Science and Information Technology question: Consider the following statements. S 1 : Every SLR(1) grammar is unambiguous but there…
Consider the following statements.
: Every SLR(1) grammar is unambiguous but there are certain unambiguous grammars that are not SLR(1).
: For any context-free grammar, there is a parser that takes at most time to parse a string of length .
Which one of the following options is correct?
Show answer
Official answer: C