adplus-dvertising
frame-decoration

Question

The classes of languages P and NP are closed under certain operations, and not closed under others. Decide whether P and NP are closed under each of the following operations.

1. Union
2. Intersection
3. Intersection with a regular language
4. Kleene closure (star)
5. Homomorphism
6. Inverse homomorphism

a.

P is not closed under union

b.

NP is not closed under intersection

c.

None of the mentioned

d.

Both of the mentioned

Answer: (d).Both of the mentioned

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The classes of languages P and NP are closed under certain operations, and not closed under others. Decide whether P and NP are closed under each of the following operations. 1....

Similar Questions

Discover Related MCQs

Q. L1 is accepted by the NFA, obtained by changing the accepting state of M to a non-accepting state and vice versa. Which of the following statements is true?

Q. The number of states in DFA that accepts the language L(M) ∩ L(N) is ________.

Q. The reorganizing capability of NDFA and DFA

Q. Which of the following statement is true?

Q. Grammars that can be translated to DFAs :

Q. A language is regular if and only if it is accepted by finite automata

Q. A Push Down Automata _______________ is if there is at most one transition applicable to each configuration?

Q. The following mealy machine outputs which of the following?

Q. Which of the following does the given Mealy machine represents?

Q. Which of the following belongs to the epsilon closure set of a?

Q. The number of elements present in the e-closure(f2) in the given diagram:

Q. Which of the steps are non useful while eliminating the e-transitions for the given diagram?

Q. Remove all the epsilon transitions in the given diagram and compute the number of a-transitions in the result?

Q. What the following DFA accepts?

Q. What does the following figure most correctly represents?

Q. Which of the following will not be accepted by the following DFA?

Q. Which of the following will the given DFA won’t accept?

Q. Which of the following is the corresponding Language to the given DFA?

Q. Let the given DFA consist of x states. Find x-y such that y is the number of states on minimization of DFA?

Q. For the DFA given below compute the following:
Union of all possible combinations at state 7,8 and 9.