a stupid person or slow learner
from the name of John Duns Scotus d.1308, Scots theologian whose once accepted writings were ridiculed in the 16th cent. Followers of Duns Scotus, known as Dunsmen or Dunses, were regarded as dull pedants, and from this the word dunce came to mean ‘slow learner’