Official papers

Official 2018 Paper 2 · Q8

Paper 2Logic & proofSequences & series

The diagram shows an example of a mountain profile. Diagram for question 8 This consists of upstrokes which go upwards from left to right, and downstrokes which go downwards from left to right. The example shown has six upstrokes and six downstrokes. The horizontal line at the bottom is known as sea level.

A mountain profile of order nn consists of nn upstrokes and nn downstrokes, with the condition that the profile begins and ends at sea level and never goes below sea level (although it might reach sea level at any point). So the example shown is a mountain profile of order 6.

Mountain profiles can be coded by using U to indicate an upstroke and D to indicate a downstroke. The example shown has the code UDUUUDUDDUDD. A sequence of U's and D's obtained from a mountain profile in this way is known as a valid code.

Which of the following statements is/are true?

  • I If a valid code is written in reverse order, the result is always a valid code.
  • II If each U in a valid code is replaced by D and each D by U, the result is always a valid code.
  • III If U is added at the beginning of a valid code and D is added at the end of the code, the result is always a valid code.
Anone of them
BI only
CII only
DIII only
EI and II only
FI and III only
GII and III only
HI, II and III

Read the questions freely. Sign in to check your answer, see the worked solution and save your progress.