Borrowed from Latin pēnsum. Doublet of poids, which was inherited.
Practice speaking and memorizing "pensum" and many other words and sentences in French.