Finite State Machines MCQ Quiz in తెలుగు - Objective Question with Answer for Finite State Machines - ముఫ్త్ [PDF] డౌన్లోడ్ కరెన్
Last updated on Mar 14, 2025
Latest Finite State Machines MCQ Objective Questions
Top Finite State Machines MCQ Objective Questions
Finite State Machines Question 1:
The mealy machine implements the following behavior:
\(_{Z\left( t \right) = \;}\left\{ {0\begin{array}{*{20}{c}} {x'\left( t \right)\;\;if\;x\left( t \right) = 0\;and\;x\left( k \right) = 0\;for\;all\;k < 0}\\ {if\;x\left( t \right) = 1\;and\;x\left( k \right) = 0\;for\;all\;k < 0}\\ {x\left( t \right)\;otherwise} \end{array}\;} \right.\)
Illustrate the time behaviour of the input sequence shown below:
Assume x(k) = 0 for k < 0
t |
0 |
1 |
2 |
3 |
4 |
5 |
6 |
x(t) |
0 |
0 |
1 |
0 |
1 |
1 |
0 |
Z(t) |
|
|
|
|
|
|
|
Answer (Detailed Solution Below)
Finite State Machines Question 1 Detailed Solution
Here, x(k) denotes the previous state.
t |
x(t) |
Explanation |
Z (t) |
0 |
0 |
x(t) = 0 is the initial state. There is no state before this i.e. x(k) = 0 for k < 0 so z(t) = x’(t) = 1 |
1 |
1 |
0 |
x(t) = 0 as input, before this x(t) is also 0 i.e. x(k) = 0 for k < 0 so z(t) = x’(t) = 0 |
0 |
2 |
1 |
x(t) = 1 as input, before this x(t) is also 0 i.e. x(k) = 0 for k < 0 so z(t) = x’ (t) = 0 |
0 |
3 |
0 |
x(t) = 0 as input, before this x(t) is 1 i.e. x(k) ≠ 0 for k < 0 so z(t) = x(t) = 0 |
0 |
4 |
1 |
x(t) = 1 as input, before this x(t) is 0 i.e x(k) = 0 for k < 0 so z(t) = x(t) = 1 |
1 |
5 |
1 |
x(t) = 1 as input, before this x(t) is 1 i.e. x(k) = 0 for k < 0 so z(t) = x(t) = 1 |
1 |
6 |
0 |
x(t) = 0 as input, before this x(t) is 1 i.e. x(k) = 0 for k < 0 so z(t) = x(t) = 0 |
0 |
Finite State Machines Question 2:
A finite state machine
Answer (Detailed Solution Below)
Finite State Machines Question 2 Detailed Solution
Explanation:
A sequential circuit is a type of digital circuit whose output depends not only on the present value of the input but also on the past inputs. To store previous inputs, sequential circuits use a Memory element.
A synchronous sequential circuit is also called a finite state machine (FSM) if it has a finite number of states.
Special note:
There are two types of FSM’s:
Mealy state machine: An FSM is called a Mealy state machine if the output depends on both the present input and present states.
Moore state machine: An FSM is called a Moore state machine if the output depends only on the present states.
Finite State Machines Question 3:
The state transition diagram for a finite state machine with state is shown in the figure A, B, C, D. If the input sequence is 011 011 0001 then how many times the output will be logic 1 ______
Answer (Detailed Solution Below) 3
Finite State Machines Question 3 Detailed Solution
Concept:-
- According to input sequence we must move from one state to other state.
- Every state will only have two outgoing branches
- Incoming branches may be more than two or less then two possible.
Analysis:-
let, x = 011 011 0001
After following the input sequence, we obtain output as logic 1 at three instance.
∴ For given sequence, logic 1 will come for 3 times.
Finite State Machines Question 4:
For a state machine with the following state diagram, the expression for the next state S+ in terms of current state S and the input variable X and Y is
Answer (Detailed Solution Below)
Finite State Machines Question 4 Detailed Solution
Explanation:
S (Present State) |
X |
Y |
S+ (Next State) |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
0 |
0 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
1 |
1 |
1 |
1 |
S+ = S̅ Y̅ + S X
Finite State Machines Question 5:
Consider the following statements regarding the Moore and Mealy models:
1. In the Mealy circuit, the final output depends only on the present state of memory elements.
2. In the Moore circuit, output can change in between the clock edges if the external inputs change.
3. The implementation of a logic function in the Mealy circuit needs fewer states than the Moore circuit.
Which of the above statements are not correct?
Answer (Detailed Solution Below)
Finite State Machines Question 5 Detailed Solution
Finite automata may have outputs corresponding to each transition. There are two types of finite state machines that generate output −
1. Mealy Machine
2. Moore machine
Option-1) A Mealy Machine is an FSM whose output depends on the present state as well as the present input.
Option-2) A Moore Machine that its output depends only on the present state of the memory elements. The external inputs do not influence the outputs.
Option-3) The implementation of a logic function in the Mealy circuit needs fewer states than the Moore circuit.
Key Points
Mealy Machine |
Moore Machine |
Output depends both upon and the present input |
Output depends only upon the present state. |
Generally, it has fewer than Moore Machine |
Generally, it has more than mealy Machine. |
The value of the output function is a function of the transitions and the changes, when the input logic on the present state is done |
The value of the output function is a function of the current state and the changes at the clock edges, whenever state changes occur. |
Mealy machines react faster to inputs. They generally react in the same clock cycle. |
In Moore machines, more logic is required to decode the outputs resulting in more circuit delays. They generally react one clock cycle later. |
Finite State Machines Question 6:
Select the incorrect statement.
a) Moore machine react faster to input.
b) Mealy machine require more hardware to design than moore.
Answer (Detailed Solution Below)
Finite State Machines Question 6 Detailed Solution
Concept and Explanation:-
Melay machine |
Moore machine |
1) Output depend upon present state as well as present input. |
1) Output depend upon only present state. |
2) Less number of states required (n State) |
2) More number of States required (n + 1) State. |
3) More hardware requirement. |
3) Less hardware requirement for implimentation. |
4) Complex in design |
4) Easy to design |
5) React faster to input |
5) React slower to input |
(Only one clock cycle later)
Explanation:-
In Melay machine output is depend upon present state as well as present input. So it is output capable machine.
→ hence react faster to input
[Statement 1 false]
→ Due to dependant of both present state and present input extra hardware circuitary required during implimentation. So that melay machine is complex in designing.
[Statement 2 correct]
- More information:-
Melay Machine
Moore type:-
- For n bit sequence detector moore required (n + 1) state
- For n bit sequence detector melay require n state
Finite State Machines Question 7:
The following Finite State Machine (FSM) is used to detect a particular pattern in the input data stream. Whenever the pattern is matched at the input, the output is set to ‘1’, or else output is cleared to ‘0’. For which of the following data stream, output goes to ‘1 twice?
Answer (Detailed Solution Below)
Finite State Machines Question 7 Detailed Solution
Concept:
The basic idea of an FSM is to store a sequence of different unique states and transition between them depending on the values of the inputs and the current state of the machine.
A Finite State Machine (FSM) formulation is used to describe the processes during which information or tasks move from one state to another for action, according to a set of rules.
The FSM can be of two types:
- Moore (where the output of the state machine is purely dependent on the state variables) and
- Mealy (where the output can depend on the current state variable values AND the input values).
The general structure of an FSM is shown in Figure
The state diagrams of Mealy and Moore are shown below for an example.
Mealy
Moore FSM
Analysis:
The given FSM is Mealy and the analysis is explained below with the help of the table.
Present state |
Input |
Next state |
Output |
S0 |
0 |
S0 |
0 |
|
1 |
S1 |
0 |
S1 |
0 |
S0 |
0 |
|
1 |
S2 |
0 |
S2 |
0 |
S3 |
0 |
|
1 |
S2 |
0 |
S3 |
0 |
S0 |
0 |
|
1 |
S1 |
1 |
From the table, it is clear that the given FSM follows sequence 1101.
The state change is mentioned with bold letters for the respective input.
Conclusion
In option 3 the pattern is followed two times so it will give the output ‘1’ twice.
Finite State Machines Question 8:
The state diagram of a FSM machine is shown below
If the input sequence to the FSM is 00111011110110 (overlapping) then the number of times the output will be ‘1’ is _____.
Answer (Detailed Solution Below) 3
Finite State Machines Question 8 Detailed Solution
The given FSM is the sequence detector whose output is high when three consecutive ‘1’ s are input.
The given sequence
Finite State Machines Question 9:
Which of the following statements are True?
Answer (Detailed Solution Below)
Finite State Machines Question 9 Detailed Solution
1) In Moore machine, output depends only on the present state
2) In Mealy machine, output depends on the present state and present input
3) The number of states in Moore is greater than the number of states in the Mealy machine.
The block diagram explanation of the Mealy and Moore machine are as shown:
Mealy Machine |
Moore Machine |
Output depends on both the present state and present input |
Output depends on only the Present/current state |
It has fewer states than the Moore machine |
Has more states than the Mealy machine |
The mealy machine reacts faster to inputs, they generally react in the same clock cycle |
Moore machines, more logic is required to decode the outputs resulting in more circuit delays, they generally react one clock cycle later |
Finite State Machines Question 10:
Choose the correct statement.
Answer (Detailed Solution Below)
Finite State Machines Question 10 Detailed Solution
Moore Machine: In this automata, all the output symbols are associated with each state of finite state machine.
Specifications of Moore Machine:
\(M = (Q, \Sigma, \Delta, \delta, \lambda, q_0)\) is a 6-tuple notation, where
- \(Q = \) set of finite states
- \(\Sigma = \) contains finite number of input symbols. Also called Input Alphabet.
- \(\Delta = \) contains finite number of output symbols. Also called Output Alphabet.
- \(\delta = \) it is a transition function. \(\delta : Q \times \Sigma \rightarrow Q\)
- \(\lambda = \) it is the output function. Output is associate with only state, \(\lambda : Q \rightarrow \Delta\)
- \(q_0 = \) it represents the initial state. \(q_0 \in Q\)
Mealy Machine: In this automata, all the output symbols are associated with transition state and transition input of the finite state machine.
Specifications of Mealy Machine:
\(M = (Q, \Sigma, \Delta, \delta, \lambda, q_0)\) is a 6-tuple notation, where
- \(Q = \) set of finite states
- \(\Sigma = \) contains finite number of input symbols. Also called Input Alphabet.
- \(\Delta = \) contains finite number of output symbols. Also called Output Alphabet.
- \(\delta = \) it is a transition function. \(\delta : Q \times \Sigma \rightarrow Q\)
- \(\lambda = \) it is the output function. Output is associated with state and input, \(\lambda : Q \times \Sigma \rightarrow \Delta\)
- \(q_0 = \) it represents the initial state. \(q_0 \in Q\)
Important Points:
- Mealy and Moore Machines are 6-tuple notation automata.
- The only difference between them is in their Output Function.
- Moore Machine's output is associated with the state.
- Mealy Machine's output is associated with the state and input.
Hence the correct answer is option 3.