Sensex ends higher in choppy session

The Sensex posted its fifth gain in six sessions after it finished moderately higher in a choppy session. After a firm start, the Sensex pared it gains and turned choppy before ending 40 points higher at 17,451.