Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Tests  >  Question Bank for GATE Computer Science Engineering  >  Test: Pumping Lemma - Computer Science Engineering (CSE) MCQ

Test: Pumping Lemma - Computer Science Engineering (CSE) MCQ


Test Description

5 Questions MCQ Test Question Bank for GATE Computer Science Engineering - Test: Pumping Lemma

Test: Pumping Lemma for Computer Science Engineering (CSE) 2024 is part of Question Bank for GATE Computer Science Engineering preparation. The Test: Pumping Lemma questions and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus.The Test: Pumping Lemma MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests for Test: Pumping Lemma below.
Solutions of Test: Pumping Lemma questions in English are available as part of our Question Bank for GATE Computer Science Engineering for Computer Science Engineering (CSE) & Test: Pumping Lemma solutions in Hindi for Question Bank for GATE Computer Science Engineering course. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free. Attempt Test: Pumping Lemma | 5 questions in 15 minutes | Mock test for Computer Science Engineering (CSE) preparation | Free important questions MCQ to study Question Bank for GATE Computer Science Engineering for Computer Science Engineering (CSE) Exam | Download free PDF with solutions
Test: Pumping Lemma - Question 1

Pumping lemma for regular language is generally used for proving :

Detailed Solution for Test: Pumping Lemma - Question 1

The pumping lemma is often used to prove that a particular language is non-regular. Pumping lemma for regular language is generally used for proving a given grammar is not regular.
Hence the correct answer is a given grammar is not regular.

*Multiple options can be correct
Test: Pumping Lemma - Question 2

Which of the following is/are FALSE regarding pumping lemma for regular languages?

Detailed Solution for Test: Pumping Lemma - Question 2

The pumping lemma is a necessary condition for language to be regular,
In other words, Not satisfying the pumping lemma is a sufficient condition for language to be not regular.
So statements 2 and 3 are false.

1 Crore+ students have signed up on EduRev. Have you? Download the App
Test: Pumping Lemma - Question 3

Which of the following languages are regular?

Detailed Solution for Test: Pumping Lemma - Question 3

I and III are regular languages while II is a context-sensitive language.
I is a regular language because 'n' is bounded and III is regular because a finite automaton is capable of modular counting but not unbounded counting.
The language generated by II is {a, a4, a9, a16,.....}. The power of the series is not in arithmetic progression due to which a loop cannot be formed. Therefore, II is not a regular language because we cannot find a substring which is repeated arbitrarily.
Therefore, both I and III are regular languages.

Test: Pumping Lemma - Question 4

For Σ = {a, b}, let us consider the regular language L = {x|x = a2+3k or x = b10+12k k ≥ 0}.
Which one of the following can be a pumping length (the constant guaranteed by the pumping lemma) for L?

Detailed Solution for Test: Pumping Lemma - Question 4

Regular language L = {x|x = a2+3k or x = b10+12k k ≥ 0}.
L = {a2, a5, a8, a11 … ∪ b10, b22, b34…}
Pumping Lemma:
Let L be an infinite regular language. Then there exists some positive integer m such that any w ϵ L with |w|≥ m can be decomposed as
w = xyz
with |xy|≤ m such that wi = xyiz
is also L for all i = 0, 1, 2, …
Therefore, minimum Pumping Length should be 11, because string with length 10 (i.e., w = b10) does not repeat anything, but string with length 11 (i.e., w = b11) will repeat states.
Hence option 1, 2, and 3 are eliminated.
Therefore 24 can be the pumping lemma length.

Test: Pumping Lemma - Question 5

The logic of pumping lemma is an example of _______.

Detailed Solution for Test: Pumping Lemma - Question 5

Concept:
Pigeon-hole principle: If there are total p pigeons seating into q holes then what pigeon-hole principle says that at least one hole must have more than one pigeon.
Pumping lemma: There is an infinite number of input sequences possible and for every finite automaton there is a finite number of states.
Therefore, the logic pumping lemma is a good example of the pigeon-hole principle

63 videos|7 docs|165 tests
Information about Test: Pumping Lemma Page
In this test you can find the Exam questions for Test: Pumping Lemma solved & explained in the simplest way possible. Besides giving Questions and answers for Test: Pumping Lemma , EduRev gives you an ample number of Online tests for practice

Top Courses for Computer Science Engineering (CSE)

Download as PDF

Top Courses for Computer Science Engineering (CSE)