GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A serial detector outputs 1 whenever the last four input bits are 1101 or 1011 (overlapping occurrences count). What are the minimum numbers of states of a Mealy realisation and of a Moore realisation, respectively?
- A. 6 and 8
- B. 7 and 8
- C. 6 and 7
- D. 8 and 9
Correct answer: A. 6 and 8
Mealy states must remember only the useful suffix: ε, 1, 10, 11, 101, 110 — 6 states (after 1101 or 1011 the machine lands in 101 or 11 again). Moore needs separate output states for the two hits, since 1101 continues like 101 and 1011 continues like 11, but each must output 1: 8 states. Treating the two detections as one state gives 7.
More Digital Logic questions
- For how many of the 256 eight-bit patterns x does the 8-bit two's complement negation −x (= x' + 1, carry out discarded) contain exactly…
- A designer has 6 check bits per word. What is the largest number of data bits that can be protected by (i) a single-error-correcting…
- Among the C(16,4) = 1820 four-variable Boolean functions with exactly four minterms, how many have a minimal sum-of-products with exactly…
- Among the C(16,3) = 560 four-variable Boolean functions with exactly three minterms, how many have a minimal sum-of-products that needs…
- Among all C(16,4) = 1820 four-variable functions with exactly four minterms, for how many does the minimal sum-of-products need four…
- How many non-zero three-variable Boolean functions have exactly six prime implicants?