The Duchess of Cambridge donned a pair of headphones and tried to interpret codes during her visit to Bletchley Park where her grandmother worked.
Valerie Glassborow worked as a civilian member of staff, probably as a duty officer, alongside her twin sister Mary.
Wearing an Alexander McQueen outfit, Kate greeted staff on a visit to mark a year-long restoration project at the Buckinghamshire site.
More top news
Officers investigating a reported break-in on Friday found 22-year-old Roger Alvarado asleep in the pop star's home in Tribeca.
Billy Jeeves is said to have fled the scene in Hither Green, south-east London, after Henry Vincent was fatally stabbed by the pensioner.
Portman was due to receive the award in Israel in June and said that her reasons for skipping the ceremony were solely due to Mr Netanyahu.