Name: ____________________________________________________ Alpha: _____________________
Describe help received: _________________________________________________________________
$ ./gohwsol acca accept |
$ ./gohwsol caba reject |
$ ./gohwsol accbabcbbcbaa reject |
~/bin/submit -c=SI340 -p=hw05 HWSol.cppIf you program in a language other than C++, turn in a screen capture of your program running with the following examples (make sure you get the right answers!)
| ca | reject |
| cac | reject |
| cababbbcc | reject |
| cababbcc | accept |
| cababbbc | accept |
| cacb | accept |
| cacbba | accept |
Note: If you're really ambitious, try writing a program that is able to read in a description of a finite automaton from a file (you can make up any file format you like) and simulate that automaton, rather than hardcoding a single machine into the class. It would be really cool if you could read in a JFLAP .jff file. I'll give you extra credit for this.