CSC 216/s08/seek reconciliation

From Expertiza_Wiki
Revision as of 18:46, 10 April 2008 by Gehringer (talk | contribs)
Jump to navigation Jump to search

Formatting Resources

Formatting Help Guide from MetaWiki

Place Title of Exercise Here

Give the title of your exercise, which may include the name of the topic you are covering, or some other catchy title.

The problem

The exercise will illustrate the "State" programming paradigm through the floating point parser finite state machine discussed in class.

Participants and props

4 students will participate. 3 for each "State" (Start, Decimal, Integer) and one to represent the "parser." Each person representing a state will hold up a piece of paper. On the front will be the name of that person's state. On the back will be the actions to perform based on the input given by the parser. Here are the instructions:

Start

onPlus:

onMinus:

onDecimal:

onInteger:

Decimal

onPlus:

onMinus:

onDecimal:

onInteger:

Integer

onPlus:

onMinus:

onDecimal:

onInteger:

The script

Describe how to do your exercise.