A KCSE candidate died at Bungoma referral hospital minutes before writing her Kiswahili Fasihi test on Tuesday.
Kellan Nekesa of Mabusi Secondary School was admitted to the hospital on Sunday after being diagnosed with a bacterial infection.
"I did not know she would pass away so soon," said her father Justus Wanyonyi. "I was shocked when the hospital called me to say she was dead."
Wanyonyi said the girl had complained of a headache, pain in the leg and fever.
Some of the girl's relatives said they suspected she had attempted to procure an abortion.
"I cannot clearly tell what killed her but people said someone tried to cheat her and give her traditional medicine to get rid of a pregnancy," the father said.
Maiyana Magrina, the hospital's medical superintendent, dismissed the pregnancy claims and said the girl looked normal and even took breakfast.
Wanyonyi said he did odd jobs and sought CDF bursaries from Kanduyi MP Wafula Wamunyinyi to raise the girl's fees.
He noted his daughter was a bright student he hoped would help the family after finishing her studies.
The father of four said he did not know what to do as he lost one child two years ago.
The body was taken to the facility's morgue.