Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
3.9. Set of Prime Numbers
This section
Practice test
12 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is a prime number?
Hint
Remember the definition we discussed.
- 2.
List the first four prime numbers.
Hint
Start from the smallest and check divisibility.
- 3.
What defines a prime number?
- Divisible by 1
- Divisible by itself and 1
- Has two or more divisors
Hint
Recall our discussion about prime numbers.
- 4.
True or False: The number 4 is prime.
- True
- False
Hint
Think about the factors of 4.
- 5.
Is the number 1 prime or composite? Justify your answer.
Hint
Reflect on the minimal definition of prime.
- 6.
Construct a function that shows the mapping between the first ten prime numbers and their corresponding indices.
Hint
Think of how you'd list out prime numbers and their positions.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
2 more questions available
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting