The King and Queen were carrying out engagements in Newtownards on the final day of their visit to Northern Ireland.