McqMate

Q. |
## Let w be any string of length n is {0,1}*. Let L be the set of all substrings of w. What is the minimum number of states in a non-deterministic finite automaton that accepts L? |

A. | n-1 |

B. | n |

C. | n+1 |

D. | 2n-1 |

Answer» C. n+1 |

3.1k

0

Do you find this helpful?

11

View all MCQs in

Theory of ComputationNo comments yet

- Which of the following is true with respect to Kleene’s theorem? 1 A regular language is accepted by a finite automaton. 2 Every language is accepted by a finite automaton or a turingmachine.
- Fred created a new automaton model which is a push down automaton but with two stacks and the added ability of having commands which do not read input tape but which can pop from one stack and push into the other.This new automaton can recognize (choose strongest result)
- Given a Non-deterministic Finite Automation (NFA) with states p and r as initial and final states respectively and transition table as given below: A B P - Q q R S r R S s R S The minimum number of states required in Deterministic Finite Automation (DFA) equivalent to NFA is
- Consider the following Finite State Automaton The language accepted by this automaton is given by the regular expression
- Given an arbitrary non-deterministic finite automaton NFA with N states, the maximum number of states in an equivalent minimized DFA is at least:
- How many states are present in the minimum state finite automaton that recognizes the language represented by the regular expression (0+1)(0+1)…..N times?
- State table of an FSM is given below. There are two states A And B, one input and one output. Let the initial state be A = 0 and B = 0. To take the machine to the state A = 0 and B = 1 with output = 1 the minimum length of input string required will be
- The set that can be recognized by a deterministic finite state automaton is
- The minimum state automaton equivalent to the above FSA has the following number of states
- The regular expression have all strings in which any number of 0’s is followed by any number of 1’s followed by any number of 2’s is :