The Duchess of Cambridge was sent signals similar to those sent out by the enemy and interpreted at 'spy school' Bletchley Park during the Second World War.
Her grandmother Valerie Glassborow worked at the famous site as a civilian member of staff, probably a duty officer, with her twin sister Mary.
Kate's visit marked a year-long restoration project at the Buckinghamshire site.
More top news
Police found one child chained to the ground, another tied to a door with a dog lead, while six others were also rescued.
Wintry scenes across the UK this late in April have not been seen since the mid-1980s.
The Labour leader will also announce an inquiry into anti-semitism and other forms of racism to be chaired by Shami Chakrabarti.