adplus-dvertising
frame-decoration

Question

Context-free Grammar (CFG) can be recognized by

a.

Finite state automata

b.

2-way linear bounded automata

c.

push down automata

d.

both b and c

Answer: (d).both b and c

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Context-free Grammar (CFG) can be recognized by

Similar Questions

Discover Related MCQs

Q. A context free grammar is:

Q. Let e: B˄m→B˄n is a group code. The minimum distance of ‘e’ is equal to:

Q. A WFF that is equivalent to the WFF x=>y is:

Q. The regular expression given below describes:

r=(1+01)*(0+λ)

Q. Which of the following language is regular?

Q. Which of the regular expressions corresponds to this grammar ?

S → AB / AS, A → a / aA, B → b

Q. Which of the following strings is in the language defined by grammar S→0A, A→1A/0A/1

Q. The logic of pumping lemma is a good example of:

Q. Let A = {x | -1< x< 1} = B. The function f(x)=x/2 from A to B is:

Q. Which sentence can be generated by S→d/bA, A→d/ccA:

Q. Regular expression a+b denotes the set:

Q. Which of the following is not true?

Q. Identify the language which is not context - free.

Q. The context-free languages are closed for:

(i) Intersection                          (ii) Union
(iii) Complementation             (iv) Kleene Star

Q. Grammars that can be translated to DFAs:

Q. The language accepted by a Push down Automata:

Q. In parallel algorithm design, the process of grouping tasks into larger tasks in order to improve performance:

Q. Recursive Descent Parsers are a type of:

Q. If language L={0,1}*, then the reversed language L^R =

Q. Let r = a(a + b)*, s = aa*b and t = a*b be three regular expressions.
Consider the following:

(i) L(s) ⊆ L(r) and L(s) ⊆ L(t)
(ii) L(r) ⊆ L(s) and L(s) ⊆ L(t)

Choose the correct answer from given below: