Top 150+ Solved Theory of Computation MCQ Questions Answer

From 16 to 30 of 137

Q. A spanning tree for a simple graph of order 24 has

a. 12 edges

b. 6 edges

c. 23 edges

d. None of above.

  • c. 23 edges

Q. If G is a connected planar graph of v vertices e edges and r regions then

a. v-e+r=2

b. e-v+r=2

c. v+e-r=2

d. None of above.

  • a. v-e+r=2

Q. A Hamiltonian cycle in a Hamiltonian graph of order 24 has

a. 12 edges.

b. 24 edges

c. 23 edges

d. None of above.

  • b. 24 edges

Q. P, Q, R are three languages. If P & R are regular and if PQ=R, then

a. Q has to be regular

b. Q cannot be regular

c. Q need not be regular

d. Q has to be a CFL

  • c. Q need not be regular

Q. Grammars that can be translated to DFAs:

a. Left linear grammar

b. Right linear grammar

c. Generic grammar

d. All of these

  • b. Right linear grammar

Q. Regular expressions are

a. Type 0 language

b. Type 1 language

c. Type 2 language

d. Type 3 language

  • a. Type 0 language

Q. 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

  • b. 0+(0+10)*

Q. 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

  • c. Both of the above are true statements

Q. The regular sets are closed under:

a. Union

b. Concatenation

c. Kleene closure

d. All of the above

  • d. All of the above

Q. Any given transition graph has an equivalent:

a. regular

b. DFSM (Deterministic Finite State Machine)

c. NDFSM

d. All of them

  • d. All of them
Subscribe Now

Get All Updates & News