
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Finite State Machine | ||||||||
| Changed: | ||||||||
| < < | A finite state machine is a simple machine that will either accept or reject an input. The [[https://en.wikipedia.org/wiki/Finite-state_machine][Wikipedia article] can give you an overview and so can many other resources on the Internet. To write a program for a finite state machine can be a complex task. However, to simulate one is MUCH easier. This program is to simulate a FSM | |||||||
| > > | A finite state machine is a simple machine that will either accept or reject an input. The Wikipedia article | |||||||
Objectives
Assignment
| ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Finite State Machine | ||||||||
| Line: 29 to 29 | ||||||||
It is very likely that there are programs that can be downloaded that can simulate a FSM. You are not allowed to even look at these. The code provided is what you should use. This assignment is to bring back your programming skills.
Challenges
| ||||||||
| Added: | ||||||||
| > > |
| |||||||
| \ No newline at end of file | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Finite State Machine | ||||||||
| Added: | ||||||||
| > > | ||||||||
A finite state machine is a simple machine that will either accept or reject an input. The [[https://en.wikipedia.org/wiki/Finite-state_machine][Wikipedia article] can give you an overview and so can many other resources on the Internet. To write a program for a finite state machine can be a complex task. However, to simulate one is MUCH easier. This program is to simulate a FSM
Objectives | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
Assignment | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
| i. Line 1: the alphabet of the machine (each one is a character) i. Line 2: the number of states in the machine (always integers) i. Line 3: which state is the initial state i. Next set of lines (until -1): one line (old state, new state, character) representing a transition. i. Last: a list of states (terminated with a -1) of final states | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
Submission instructions | ||||||||
| Changed: | ||||||||
| < < |
| |||||||
| > > |
| |||||||
Restriction: | ||||||||
| Added: | ||||||||
| > > | ||||||||
It is very likely that there are programs that can be downloaded that can simulate a FSM. You are not allowed to even look at these. The code provided is what you should use. This assignment is to bring back your programming skills.
Challenges | ||||||||
| Deleted: | ||||||||
| < < |
| |||||||
| \ No newline at end of file | ||||||||
| Added: | ||||||||
| > > |
| |||||||
| \ No newline at end of file | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
Finite State MachineA finite state machine is a simple machine that will either accept or reject an input. The [[https://en.wikipedia.org/wiki/Finite-state_machine][Wikipedia article] can give you an overview and so can many other resources on the Internet. To write a program for a finite state machine can be a complex task. However, to simulate one is MUCH easier. This program is to simulate a FSM | ||||||||
| Line: 1 to 1 | ||||||||
|---|---|---|---|---|---|---|---|---|
| Added: | ||||||||
| > > |
Finite State MachineA finite state machine is a simple machine that will either accept or reject an input. The [[https://en.wikipedia.org/wiki/Finite-state_machine][Wikipedia article] can give you an overview and so can many other resources on the Internet. To write a program for a finite state machine can be a complex task. However, to simulate one is MUCH easier. This program is to simulate a FSMObjectives
Assignment
Submission instructions
Restriction:It is very likely that there are programs that can be downloaded that can simulate a FSM. You are not allowed to even look at these. The code provided is what you should use. This assignment is to bring back your programming skills.Challenges
| |||||||