A criminology student asked in a seminar how to get away with murder before stabbing a woman to death on a beach, a court has heard.
One of Nasen Saadi's lecturers asked him if he was planning to kill someone, Winchester Crown Court was told.
The 20-year-old defendant, from Croydon, is accused of murdering Amie Gray, 34, and seriously injuring 38-year-old Leanne Miles at Durley Chine, Bournemouth, on 24 May.
He denies the charges but has pleaded guilty to failing to give the police access to his mobile phone.