I'd like to talk first about a question from the recent assignment. For the first question, we were supposed to prove that a DFSA that accepts L, where L = {x ∈{0, 1}* | fourth-last symbol in x is 0} has at least 16 states. I tried to design such a DFSA. I'm sooo close to making one. I was able to design a DFSA that accepts L, where L = {x ∈{0, 1}* | third-last symbol in x is 0}, which I'll post here.
The combinations of all 16 4-bit strings containing 0s and 1s:
![]() |
| *each arrow represents one change in the binary string |
Ah, I wish I thought of this before the due date.. orz
Mmm I'm still working on the machine that accepts strings with a 0 in the fourth last position. Many frustrated hours were poured into this question (since I read the question wrong at the beginning and struggled to design this machine). Danny said that designing such a machine would be good for the soul (haha), so I might as well cleanse my soul and keep working on it...


No comments:
Post a Comment