Skip to content
Marlbridge

Practice Questions

AQA A-Level Computer Science (7517): Number systems – Practice Questions

Original AQA 7517 section 4.5.1 questions with answers: classifying natural, integer, rational, irrational and real numbers, ordinal numbers, counting and measurement.

Level
A LEVELS
Topic
Fundamentals of data representation
Updated

Aligned to AQA A Level Computer Science (7517), 2015-onwards. Official specification .

Syllabus page (what it covers and how it is assessed): AQA A Level Computer Science.

Syllabus points this page covers

7517

  • 4.5.1 Number systems

This page covers 1 of the 6 subtopics in topic 5, Fundamentals of data representation.

Found an error? Report a correction.

Need help with this topic? Request a free trial class for A Level Computer Science (7517).

These are original questions written for Marlbridge, for revision and practice on this content. They are not reproduced past-paper questions, and they do not replicate the exam’s exact structure, question count or mark tariffs, because examination boards hold copyright in their own papers. Use these alongside the official past papers available free from your board.

Related: Number systems study guide | Number systems revision notes


Section A

1. State what is meant by a natural number, according to the AQA specification. [1]

2. State what is meant by a rational number. [1]

3. State what is meant by an irrational number. [1]

4. State the difference between a cardinal number and an ordinal number. [2]

5. State the type of number used for counting and the type used for measurement. [2]

Section B

6. Copy and complete the table by writing yes or no in each cell to show whether the number is a member of each set.

Number ℕ ℤ ℚ ℝ
14
−6
5/8
√36
√3

[5]

7. State, with a reason, whether each number is rational or irrational.

(a) 0.8 [1]
(b) 0.454545… (the digits 45 repeat for ever) [2]
(c) π [1]
(d) −7 [2]

8. A student says that √16 is an irrational number because the square root symbol always gives an irrational number. Explain why the student is wrong, and give an example of a square root which is irrational. [3]

9. Express the relationship between the sets ℕ, ℤ, ℚ and ℝ using the subset symbol ⊂, and state which numbers are in ℝ but not in ℚ. [2]

10. The set S = {‘e’, ‘h’, ‘m’, ‘r’} is placed in alphabetical order.

(a) State the ordinal position of ‘m’. [1]
(b) State the index of ‘m’ if S is stored in an array indexed from 0. [1]
(c) Explain why these two values differ. [1]

11. For each quantity, state whether it would be represented as a natural number, an integer or a real number, and justify the choice.

(a) The number of goals scored in a football match. [2]
(b) The temperature in a freezer, in degrees Celsius. [2]
(c) The time a runner takes to complete a race, in seconds. [2]

12. The set of natural numbers is described as countably infinite, and the set of real numbers is not countable. Explain what this means. [3]

13. A programmer needs to store the value of π in a program. Explain why it cannot be stored exactly in a computer, and state what is stored instead. [2]


Answers

1. A whole number from zero upwards (0, 1, 2, 3, …); zero is included [1].

2. A number that can be written as a fraction (ratio) of two integers [1].

3. A number that cannot be written as a fraction of two integers [1].

4. A cardinal number says how many there are (a quantity) [1]; an ordinal number says the position of an object in an ordered arrangement, such as 1st or 2nd [1].

5. Natural numbers for counting [1]; real numbers for measurement [1].

6.

Number ℕ ℤ ℚ ℝ
14 yes yes yes yes
−6 no yes yes yes
5/8 no no yes yes
√36 yes yes yes yes
√3 no no no yes

One mark for each row correct [5]. (√36 = 6; √3 is irrational, so it is real but not rational.)

7. (a) Rational, because 0.8 = 4/5 and can be written as a fraction [1].
(b) Rational [1], because it is a repeating decimal and can be written as a fraction (45/99 = 5/11) [1].
(c) Irrational [1].
(d) Rational [1], because every integer can be written as a fraction with denominator 1 (−7/1) [1].

8. √16 = 4 [1], which is a whole number and so rational (and natural) [1]; a square root is irrational only if the number is not a perfect square, for example √2 or √3 [1].

9. ℕ ⊂ ℤ ⊂ ℚ ⊂ ℝ [1]; the irrational numbers (such as √2 and π) are in ℝ but not in ℚ [1].

10. (a) 3rd (the order is e, h, m, r) [1].
(b) 2 [1].
(c) The ordinal position counts from 1 but the array index counts from 0 [1].

11. (a) Natural number [1], because it is a count of whole events and cannot be negative [1].
(b) Integer (or real) [1]; it can be negative, and an integer is enough if only whole degrees are recorded; a real number is needed if fractions of a degree matter [1].
(c) Real number [1], because time is a measurement on a continuous scale which can have fractional parts [1].

12. A set is infinite if it has no last member [1]; a countably infinite set can be matched one-for-one with the natural numbers (its members can be counted off as 1st, 2nd, 3rd and so on) [1]; the real numbers cannot be matched in this way, so they are not countable [1].

13. π is irrational, so its decimal expansion never ends or repeats and would need infinitely many digits [1]; only a finite approximation, to a limited number of binary digits, can be stored [1].


Where marks are usually lost

  • Treating zero as outside the natural numbers.
  • Calling every square root irrational.
  • Saying integers are not rational numbers.
  • Confusing ordinal position with array index.
  • Giving “measurement” as an integer count without thinking about precision.

Related resources

Get free revision emails (optional)

Occasional emails with practice questions, worked explanations and links to free resources for the qualification and subjects you choose. No spam, and you can unsubscribe from any email. The free tools on this site never need an email.