You can prepare effectively for Computer Science Engineering (CSE) Theory of Computation with this dedicated MCQ Practice Test (available with solutions) on the important topic of "Test: DPDA & Ambiguous Grammars". These 10 questions have been designed by the experts with the latest curriculum of Computer Science Engineering (CSE) 2026, to help you master the concept.
Test Highlights:
Sign up on EduRev for free to attempt this test and track your preparation progress.
Detailed Solution: Question 1
State true or false:S-> 0S1|01Statement: No regular expression exists for the given grammar.
Detailed Solution: Question 2
For the given set of code, the grammar representing real numbers in Pascal has error in one of the six lines. Fetch the error.
Detailed Solution: Question 3
Which among the following is incorrect with reference to a derivation tree?
Detailed Solution: Question 4
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?
Detailed Solution: Question 5
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?
Detailed Solution: Question 6
Which of the following are non essential while simplifying a grammar?
Detailed Solution: Question 7
Detailed Solution: Question 8
Detailed Solution: Question 9
L->rLt|tLr|t|r
The given grammar produces a language which is:
Detailed Solution: Question 10
18 videos|100 docs|44 tests |