adplus-dvertising
frame-decoration

Question

Fill in the blank in terms of p, where p is the maximum string length in L.
Statement: Finite languages trivially satisfy the pumping lemma by having n = ______

a.

p*1

b.

p+1

c.

p-1

d.

None of the mentioned

Answer: (b).p+1

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Fill in the blank in terms of p, where p is the maximum string length in L. Statement: Finite languages trivially satisfy the pumping lemma by having n = ______

Similar Questions

Discover Related MCQs

Q. Answer in accordance to the third and last statement in pumping lemma:
For all _______ xyiz ∈L

Q. Let w be a string and fragmented by three variable x, y, and z as per pumping lemma. What does these variables represent?

Q. Which of the following one can relate to the given statement:
Statement: If n items are put into m containers, with n>m, then atleast one container must contain more than one item.

Q. Which kind of proof is used to prove the regularity of a language?

Q. The language of balanced paranthesis is

Q. State true or false:
Statement: Pumping lemma gives a necessary but not sufficient condition for a language to be regular.

Q. Which of the following is/are an example of pigeon hole principle?

Q. Pigeonhole principle can be applied in the following computer science algorithms:

Q. If n objects are distributed over m places, and n < m, then some of the places receive:

Q. Which of the following fields may have pigeonhole principle violated?

Q. Which of the following is not an application of Pumping Lemma?

Q. Which of the following can refer a language to be non regular?

Q. Which of the following is not an example of counting argument?

Q. If L1, L2 are regular and op(L1, L2) is also regular, then L1 and L2 are said to be ____________ under an operation op.

Q. Suppose a regular language L is closed under the operation halving, then the result would be:

Q. If L1′ and L2′ are regular languages, then L1.L2 will be

Q. If L1 and L2′ are regular languages, L1 ∩ (L2′ U L1′)’ will be

Q. If A and B are regular languages, !(A’ U B’) is:

Q. Which among the following are the boolean operations that under which regular languages are closed?

Q. Suppose a language L1 has 2 states and L2 has 2 states. After using the cross product construction method, we have a machine M that accepts L1 ∩ L2. The total number of states in M: