CS402 Quiz 2 Solution
1) If we have input 11001011 and the machine generates the 001101000 as an output, then that machine will be called
- Mealy machine
- Incrementing machine
- Complementing machine
- Moore machine
2) In Moore machine, if the length of input string is 9, then length of output string will be:
- 10
- 7
- 8
- 9
3) Let FA3 be an FA corresponding to FA1FA2, then the final state of FA3 must correspond to the final state of
- FA1 or FA2
- FA1 only
- FA1 and FA2
- FA2 only
4) 1’s complement for 011001 will be:
- 10111
- 00100
- 00000
- 10010
5) FA and ________ are same except that ______ has unique symbol for each transition.
- FA, TG
- GTG, NFA
- NFA, TG
- NFA, FA
6) An ______ can be considered to be an intermediate structure between Finite automaton and Transition Graph.
- RE
- NFA
- GTG
- None of the given options
7) In the context, of make NFA for the concatenation of FA1 and FA2 (Both FAs accepting null string), which of the following option is correct>
- FA2 having final state only
- Initial states in both FAs
- Final states in both FAs
- FA2 having initial state only
8) Dead states are defined as:
- A dead state is non final state of a DFA whose transition on every input symbol terminates on itself
- It is non-distinguishable state
- No such state exists
- None of the given
9) In the context of make NFA for the concatenation of FA1 and FA2 (FA2 accepting null string), which of the following option is correct
- Final state in both FAs
- FA2 having final state only
- FA2 having initial state only
- Initial states in both FAs
10) If FA1 corresponds to (a + b) * then FA1 must accepted ________string/strings.
- Even length
- Every
- No
- Odd length