Computer Sciences > Gate 2020 > CFG
Consider the language L = { an ∣ n≥0 }∪{ anbn∣ n≥0 } and the following statements.
I. L is deterministic context-free.
II. L is context-free but not deterministic context-free.
III. L is not LL(k) for any k.
Which of the above statements is/are TRUE ?
A
Ⅰ only
B
Ⅱ only
C
Ⅰ and Ⅲ only
D
Ⅲ only

Correct : c

Similar Questions

In the context of abstract-syntax-tree (AST) and control-flow-graph (CFG), which one of the following is True?
#52 MCQ
For any two languages L1 and L2 such that L1 is context free and L2 is recursively enumerable but not recursive, which of the following is/are necessarily true?...
#80 MCQ
A student wrote two context-free grammars G1 and G2 for generating a single C-like array declaration. The dimension of the array is at least one. For example,...
#86 MCQ

Related Topics

No tags found

Unique Visitor Count

Total Unique Visitors

Loading......