Based on an exam, active participation in a range of school-based or community-based activities, and a portfolio.