State true or false:S-> 0S1|01Statement: No regular expression exists for the given grammar.
1 Crore+ students have signed up on EduRev. Have you? Download the App |
For the given set of code, the grammar representing real numbers in Pascal has error in one of the six lines. Fetch the error.
(1) ->
(2) -> | epsilon
(3) -> | epsilon
(4) -> ‘E’ | epsilon
(5) -> + | – | epsilon
(6) -> 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
Which among the following is incorrect with reference to a derivation tree?
Let G=(V, T, P, S)
where a production can be written as:
S->aAS|a
A->SbA|ba|SS
Which of the following string is produced by the grammar?
Statement 1: Ambiguity is the property of grammar but not the language.
Statement 2: Same language can have more than one grammar.
Which of the following options are correct with respect to the given statements?
Which of the following are non essential while simplifying a grammar?
L->rLt|tLr|t|r
The given grammar produces a language which is: