A study finds exercise can enhance cognitive performance for up to 24 hours, benefiting memory and attention in older adults.