Nokia interview question

Draw a flow chart to demonstrate how a code entry system could work.