The study found, in line with previous research, that sleeping between six and eight hours per night and higher levels of physical activity were linked to better cognitive function.