The exam contains four sections and tests a students knowledge of algebra and geometry as well as probability and statistics .