That's a perfect explanation.

The Gateway to Computer Science Excellence

First time here? Checkout the FAQ!

x

+5 votes

Which of the following are useful in proving a language to be regular?

- Myhill-Nerode theorem
- Pumping lemma
- Drawing an NFA
- Forming a regular expression

(A) All of these

(B) 1, 3 and 4 only

(C) 2, 3 and 4 only

(D) 3 and 4 only

+10 votes

Best answer

(B)1, 3 and 4 only

As from the given options, Myhill-Nerode theorem is useful by providing necessary and sufficient condition for proving that a language regular. Pumping lemma is often used to prove that a language is **non-regular**. Drawing an NFA can be useful to prove a language is regular. Forming a regular expression can also help us prove if it is a regular language

- All categories
- General Aptitude 1.2k
- Engineering Mathematics 4.9k
- Digital Logic 2k
- Programming & DS 3.6k
- Algorithms 3k
- Theory of Computation 3.9k
- Compiler Design 1.5k
- Databases 2.9k
- CO & Architecture 2.5k
- Computer Networks 2.9k
- Non GATE 949
- Others 1.3k
- Admissions 409
- Exam Queries 419
- Tier 1 Placement Questions 17
- Job Queries 55
- Projects 9

34,781 questions

41,758 answers

118,936 comments

41,400 users