President Trump earned a perfect score on a medical test that is used to detect early signs of dementia or Alzheimer's disease.

The test, called the Montreal Cognitive Assessment, or MoCA, was conducted during his routine physical on Friday, at the insistence of the president, who wanted to tamp down rumors about his mental abilities that have surfaced from his critics.

Dr. Ronny Jackson, the White House doctor who conducted the exam, said that he did not believe it was necessary because he hadn't noticed any issues with Trump's memory after spending the past year with him. The doctor's quarters are in close proximity to Trump's.

“I spend every day in the president’s presence," Jackson said. "I see him two or three times a day. I’ve had absolutely no concern about his cognitive ability or cognitive function.”

The president received a 30 out of 30 on the test, causing Jackson to use that evidence, as well as his experience with him, to say that the president did not have "any issues whatsoever with his thought process."

The Montreal Cognitive Assessment, which takes about 10 minutes to complete, specifically asks patients to do mind games and assesses their ability to recognize pictures and count items in order, like the hands on a clock. It can help doctors see whether a patient has problems with short-term memory or difficulty with concentrating or language.

"I think they are actually pretty specific at finding subtle cognitive changes, at least to everything I've read about them," Jackson said about the exam.

Here's the exam Trump took Friday:

Here is Trump's full physician report: