Menu

Regular and context free languages Questions

MCQ
21.
  
the reverse of the string w. Which of these languages are deterministic Context-free languages?
forum Discussion
MCQ
22.

Which of these languages are not context free

forum Discussion
MCQ
23.
In the correct grammar of above question, what is the length of the derivation (number of steps starring from S) to generate the string albm with l ? m? 
forum Discussion
MCQ
24.
Consider the languages:
L1 = {anbncm | n, m > 0} 
L2 = {anbmcm | n, m > 0} 
Which one of the following statements is FALSE?
forum Discussion
MCQ
25.
Consider the languages:
L1 = {wwR |w ? {0, 1}*}
L2 = {w#wR | w ? {0, 1}*}, where # is a special symbol
L3 = {ww |  w ?  (0, 1}*)
 Which one of the following is TRUE?
forum Discussion
MCQ
26.
The language {am bn Cm+n | m, n ? 1} is
forum Discussion
MCQ
27.
If the strings of a language L can be effectively enumerated in lexicographic (i.e., alphabetic) order, which of the following statements is true ?
forum Discussion
MCQ
28.
Let G = ({S}, {a, b} R, S) be a context free grammar where the rule set R is S ? a S b | SS | ? Which of the following statements is true?
forum Discussion
MCQ
29.
Consider the following languages:
I. {ambncpdq ? m + p = n + q, where m, n, p, q ? 0}
II. {ambncpdq ? m = n and p = q, where m, n, p, q ? 0}
III. {ambncpdq ? m = n = p and p ? q, where m, n, p, q ? 0}
IV. {ambncpdq ? mn = p + q, where m, n, p, q ? 0}
Which of the above languages are context-free?
forum Discussion
MCQ
30.
Consider the grammar with productionsS ? aSb | SS | ?This grammar is
forum Discussion