Input (grade 10): A primality test is an algorithm for determining whether an input number is prime.
Output (grade 8): A Primality test is a method (or algorithm) to find out if a certain number is a prime number.