It is highly unlikely Trump did this test because he can only react. He does not concentrate and cannot think. And his narcissism forbids him to put himself in a position where he can be found out. This test will find out.
Trump must have protested against the test saying something like "I need not do the test, look at me, I have the highest IQ, everybody can see that." What must have happened is that the army general, who was present, 'explained' each question and each item to Trump, thus giving away the answers.