Playing in his 75th Test, the Indian run-machine did it in style with a classic straight drive to take his team to 214 for four in reply to Australia's 326.
Shaw reached the landmark with two runs off paceman Keemo Paul and pumped his fist in response to the home crowd's standing ovation.
Smith took his tally to 85, including six fours and a six, before holing out to mid-on and receiving another ovation as he trudged back to the pavilion.
England have already built up an unassailable 3-1 lead in the series after victory in Southampton last week.
All eyes were on their record test run scorer Cook's bid to end his international career just how he began it 12 years ago -- with a century against India.
At the same time, Mars hovered near the moon in the night sky, easily visible to the naked eye.
Barcelona hailed Lionel Messi as 'The King' and he handed Chelsea the royal punishment by scoring twice to reach 100 Champions League goals and end their quarter-final hopes.