Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In this lab you will develop a piece of code that will return the next UK car “Age Identifier” for a given current UK car “Age Identifier”

You will need a git repo for this lab

  1. Go to this link https://www.regtransfers.co.uk/car-registration-plates

  2. On the right of the page look for the image titled “Infix format number plate 2001 -”

  3. Identify the field “Age Identifier”, this is the number you must generate

  4. Scroll down the page till you locate three tabs “Suffix”, “Prefix”, and “Infix (current style)”

  5. Select “Infix”

  6. On the right of the page you will see a table showing the “Age Identifiers”

  7. Using TDD write a method within a class that when an “Age Identifier” is passed to it, it will return the next “Age Identifier” e.g. “05” which is March 2005, must return “55” which is September 2005, “77” which is September 2027, must return “28” which March 2028 etc.

To help us identify how you developed your CUT, after each successful implementation of code (the CUT passes a test for which you are writing the code), push the passing code to a git repo

  • No labels