adplus-dvertising
frame-decoration

Question

L={0^i1^j2^k | j>i+k}
Which of the following satisfies the language?

a.

0111100

b.

011100

c.

0001100

d.

0101010

Answer: (a).0111100

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. L={0^i1^j2^k | j>i+k} Which of the following satisfies the language?

Similar Questions

Discover Related MCQs

Q. The most suitable data structure used to represent the derivations in compiler:

Q. Which of the following statement is false in context of tree terminology?

Q. In which order are the children of any node ordered?

Q. Which among the following is the root of the parse tree?

Q. For the expression E*(E) where * and brackets are the operation, number of nodes in the respective parse tree are:

Q. The number of leaves in a parse tree with expression E*(E) where * and () are operators

Q. A grammar with more than one parse tree is called:

Q. __________ is the acyclic graphical representation of a grammar.

Q. Grammar is checked by which component of compiler

Q. A symbol X is ________ if there exists : S->* aXb

Q. A symbol X is called to be useful if and only if its is:

Q. Which of the following is false for a grammar G in Chomsky Normal Form:

Q. Given Checklist:
a) G has no useless symbols
b) G has no unit productions
c) G has no epsilon productions
d) Normal form for production is violated
Is it possible for the grammar G to be in CNF with the following checklisy ?

Q. State true or false:
Statement: A CNF parse tree’s string yield (w) can no longer be 2h-1.

Q. If |w|>=2^h, then its parse tree’s height is at least _____

Q. If w belongs to L(G), for some CFG, then w has a parse tree, which tell us the ________ structure of w.

Q. Which of the following are distinct to parse trees?

Q. Choose the correct option:
Statement: Unambiguity is the ideal structure of a language.

Q. Is the given statement correct?
Statement: The mere existence of several derivations is not an issue, its is the existence of several parse trees that ruins a grammar.