سوال ۷۶ کنکور ارشد مهندسی کامپیوتر ۱۴۰۲
اهمیت
۰/۵
ماشین حالت زیر چه رشتهای را نمیتواند تشخیص دهد؟
پاسخ صحیح: گزینهٔ C — تعدادی یک سپس صفر
پاسخ تشریحی
The diagram is a Moore machine with six states; only outputs , so a string is recognized exactly when it drives the machine into . Reading the labels (vertical edges , horizontal/self edges ) gives the transition table:
| state | on 0 | on 1 |
|---|---|---|
| (reset ) | (reset ) |
The accepting state is reached only from on a , or from on a . Tracing each option:
- Option 1 — : runs . Recognized (e.g. ).
- Option 2 — : . Recognized (e.g. ).
- Option 4 — : runs . Recognized.
- Option 3 — : any number of s holds the machine at (); the following moves . It stops at , whose output is — never .
So can never reach the accepting state and is the one pattern the machine cannot recognize.
Exam trick: "recognize" in a Moore recognizer means "land on a state whose output is ." Trace the last state, not just whether a valid path exists — ends in (output ), so it is rejected even though the path is legal.
#finite-state-machine#moore-machine#state-diagram#string-recognition#sequential-circuit