GATE Computer ScienceVery hardGATE CSE
A Mealy machine reads a serial bit stream and outputs 1 whenever the last 7 bits read are 1101101 (overlapping occurrences allowed), otherwise 0. What is the minimum number of states of such a machine?
- A. 7
- B. 8
- C. 6
- D. 9
Correct answer: A. 7
Each distinct longest-matching prefix of 1101101 that must be remembered is its own Myhill–Nerode class, and the pattern's overlap structure does not merge any of them: 7 classes (unchanged with longer test strings: 7).
More Digital Logic questions
- Two flip-flops are connected through combinational logic. The launching flip-flop has clock-to-Q delay between 3 and 5 ns, the logic delay…
- How many Boolean functions of 4 variables are both affine (of the form a1x1 ⊕ a2x2 ⊕ a3x3 ⊕ a4x4 ⊕ c) and self-dual?
- A function of four variables is F(A,B,C,D) = Σm(3,4,5,6,8,9,13,14,15) + d(0), where d denotes a don't-care minterm. How many prime…
- For F(A,B,C,D) = Σm(0,2,3,4,7,8,9,11,14,15) + d(1,6,12), how many essential prime implicants are there?
- The minimal sum-of-products of F(A,B,C,D) = Σm(1,2,4,6,8,9,12,15) + d(3) has how many literals in total (each occurrence of a variable or…
- Which expression is the minimal sum-of-products for F(A,B,C,D) = Σm(0,1,2,3,9,11,12,13,14) + d(5,8,15)?