MCQ Computer Science

Automata Theory Multiple Choice Quaestion & Answers (MCQs) set-21

1. The minimum number of states required to recognize an octal number divisible by 3 are/is
a) 1
b) 3
c) 5
d) 7

View Answer

Answer: b
Explanation: According to the question, minimum of 3 states are required to recognize an octal number divisible by 3.

2. Statement 1: Null string is accepted in Moore Machine.
Statement 2: There are more than 5-Tuples in the definition of Moore Machine.
Choose the correct option:
a) Statement 1 is true and Statement 2 is true
b) Statement 1 is true while Statement 2 is false
c) Statement 1 is false while Statement 2 is true
d) Statement 1 and Statement 2, both are false

View Answer

Answer: a
Explanation: Even e, when passed as an input to Moore machine produces an output.

3.The ratio of number of input to the number of output in a mealy machine can be given as:
a) 1
b) n: n+1
c) n+1: n
d) None of the mentioned

View Answer

Answer: a
Explanation: The number of output here follows the transitions in place of states as in Moore machine.

4. State true or false:
Statement: Both NFA and e-NFA recognize exactly the same languages.
a) true
b) false

View Answer

Answer: a
Explanation: e-NFA do come up with a convenient feature but nothing new.They do not extend the class of languages that can be represented.

5. When are 2 finite states equivalent?
a) Same number of transitions
b) Same number of states
c) Same number of states as well as transitions
d) Both are final states

View Answer

Answer: c
Explanation: Two states are said to be equivalent if and only if they have same number of states as well as transitions.

6. Languages of a automata is
a) If it is accepted by automata
b) If it halts
c) If automata touch final state in its life time
d) All language are language of automata

View Answer

Answer:a
Explanation: If a string accepted by automata it is called language of automata.

7. Which of the following recognizes the same formal language as of DFA and NFA?
a) Power set Construction
b) Subset Construction
c) Robin-Scott Construction
d) All of the mentioned

View Answer

Answer: d
Explanation: All the three option refers to same technique if distinguishing similar constructions for different type of automata.

8. State true or false:
Statement: Both NFA and e-NFA recognize exactly the same languages.
a) true
b) false

View Answer

Answer: a
Explanation: e-NFA do come up with a convenient feature but nothing new.They do not extend the class of languages that can be represented.

9. Regular sets are closed under union,concatenation and kleene closure.
a) True
b) False
c) Depends on regular set
d) Can’t say

View Answer

Answer:a
Explanation: Regular sets are closed under these three operation.
10. Complement of a ^ nb ^ m where n >= 4 and m <= 3 is example of
a) Type 0
b) Type 1
c) Type 2
d) Type 3

View Answer

Answer:d
Explanation: It is a regular expression.

11. A language can be generated from simple primitive language in a simple way if and only if
a) It is recognized by a device of infinite states
b) It takes no auxiliary memory
c) Both are correct
d) Both are wrong

View Answer

Answer: b
Explanation: A language is regular if and only if it can be accepted by a finite automaton. Secondly, It supports no concept of auxiliary memory as it loses the data as soon as the device is shut down.

12. Which among the following are incorrect regular identities?
a) eR=R
b) e*=e
c) ?*=e
d) R?=R

View Answer

Answer: d
Explanation: There are few identities over Regular Expressions which include: R?=?R=??R

13. Regular Expression R and the language it describes can be represented as:
a) R, R(L)
b) L(R), R(L)
c) R, L(R)
d) All of the mentioned

View Answer

Answer: c
Explanation: When we wish to distinguish between a regular expression R and the language it represents; we write L(R) to be the language of R.

14. The basic limitation of finite automata is that
a) It can’t remember arbitrary large amount of information.
b) It sometimes recognize grammar that are not regular.
c) It sometimes fails to recognize regular grammar.
d) All of the mentioned

View Answer

Answer:a
Explanation:Because there is no memory associated with automata.

15. FSM with output capability can be used to add two given integer in binary representation. This is
a) True
b) False
c) May be true
d) None of the mentioned

View Answer

Answer:a
Explanation: Use them as a flip flop output .

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button