Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
Define a prime number.
Think about what factors a number can have.
Is 4 a prime number? Why or why not?
Remember the definition of a prime number!
What defines a prime number?
Recall the definition discussed.
True or False: The GCD of 20 and 30 is 10.
Think about the factors of each number.
Determine if 103 is a prime number using the naive testing algorithm. Demonstrate your process.
Remember to make your checks only go up to the square root.
Explain how changing the input number affects the running time of the naive primality test.
Consider how each added bit may relate to the number of checks required.
6 more questions in this section. Enroll free to practise them all.
Enroll free