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: The Language of a Grammar, Inferences & Ambiguity". 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.
Which of the following is not a notion of Context free grammars?
Detailed Solution: Question 1
State true or false:Statement: The recursive inference procedure determines that string w is in the language of the variable A, A being the starting variable.
Detailed Solution: Question 2
Which of the following is/are the suitable approaches for inferencing?
Detailed Solution: Question 3
If w belongs to L(G), for some CFG, then w has a parse tree, which defines the syntactic structure of w. w could be:
Detailed Solution: Question 4
Is the following statement correct?Statement: Recursive inference and derivation are equivalent.
Detailed Solution: Question 5
A->aA| a| bThe number of steps to form aab:
Detailed Solution: Question 6
An expression is mentioned as follows. Figure out number of incorrect notations or symbols, such that a change in those could make the expression correct.
L(G)={w in T*|S→*w}
Detailed Solution: Question 7
The language accepted by Push down Automaton:
Detailed Solution: Question 8
Which among the following is the correct option for the given grammar?
G->X111|G1,X->X0|00
Detailed Solution: Question 9
Choose the correct option:
Statement 1: Recursive Inference, using productions from head to body.
Statement 2: Derivations, using productions from body to head.
Detailed Solution: Question 10
18 videos|100 docs|44 tests |