Is GPA done by semester or year?

<p>If it’s done by year, then how do semester-long classes work with GPA?</p>