Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | GATE CS 2012 | Question 12

  • Difficulty Level : Basic
  • Last Updated : 10 Sep, 2018

What is the complement of the language accepted by the NFA shown below?

gatecs2012automata
(A) A
(B) B
(C) C
(D) D


Answer: (B)

Explanation: The given alphabet contains only one symbol {a} and the given NFA accepts all strings with any number of occurrences of ‘a’. In other words, the NFA accepts a+. Therefore complement of the language accepted by automata is empty string.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :