Home / Engineering / Theory of Computation MCQs / Page 2

Theory of Computation MCQs | Page - 2

Dear candidates you will find MCQ questions of Theory of Computation here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.

M

Mr. Dubey • 51.17K Points
Coach

Q. 11) Automaton accepting the regular expression of any number of a ' s is:

(A) a*
(B) ab*
(C) (a/b)*
(D) a*b*c
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 12) Grammars that can be translated to DFAs:

(A) Left linear grammar
(B) Right linear grammar
(C) Generic grammar
(D) All of these
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 13) Two strings x and y are indistinguishable if:

(A) δ*(s, x) = δ* (s, y), i.e. the state reached by a DFA M on input x is the same as the state reached by M on input y
(B) if for every string z Є ∑* either both xz and yz are in language A on ∑* or both xz and yz are not in A
(C) Both above statements are true
(D) None of the above
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 14) Given an arbitrary non-deterministic finite automaton NFA with N states, the maximum number of states in an equivalent minimized DFA is at least:

(A) N2
(B) 2N
(C) 2N
(D) N!
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 15) Regular expressions are

(A) Type 0 language
(B) Type 1 language
(C) Type 2 language
(D) Type 3 language
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 16) The regular expression 0*(10)* denotes the same set as

(A) (1*0)*1*
(B) 0+(0+10)*
(C) (0+1)*10(0+1)*
(D) None of the above
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 17) Consider the NFA M shown below. Let the language accepted by M be L. Let L1 be the language accepted by the NFA M1, obtained by changing the accepting state of M to a non-accepting state and by changing the non-accepting state of M to accepting states. Which of the following statements is true?

(A) L1 = {0,1}* − L
(B) L1 = {0,1}*
(C) L1 is a subset of L
(D) L1 = L
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 18) Which of the statements is true:

(A) The complement of a regular language is always regular.
(B) Homomorphism of a regular language is always regular.
(C) Both of the above are true statements
(D) None of the above
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 19) The regular sets are closed under:

(A) Union
(B) Concatenation
(C) Kleene closure
(D) All of the above
View Answer Discuss Share

M

Mr. Dubey • 51.17K Points
Coach

Q. 20) Any given transition graph has an equivalent:

(A) regular
(B) DFSM (Deterministic Finite State Machine)
(C) NDFSM
(D) All of them
View Answer Discuss Share