Nokia Interview Question

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