KIRKCALDY High School has celebrated its pupils' best exam results in over a decade, just weeks before school inspectors are due to visit.
The school posted record results in both Standard Grade and Higher exams when they were sent out last week.
The results are a welcome boost for both pupils and staff, ahead of a visit from Her Majesty's Inspectorate of Education at the end of this month.
In the past the school has scored badly for attainment levels - an area staff hope will now show improvements in the school's next report.
Rector Derek Allan said KHS had seen significant rises in pass rates among S4 pupils, and the percentage of students achieving five or more Standard Grades exceeded the national average. Numbers of those gaining Foundation, General and Credit passes all rose, with an average increase of 13 per cent.
The number of pupils passing Highers has also risen, with an average increase of six per cent by the end of S6.
Mr Allan said: "I understand that over a broad range of indicators, KHS shows the biggest improvement in Fife in the last session.
"I am delighted by the progress the school is making in exam performance and personally very pleased for the large number of our students who have done very well, many exceeding their targets.
"These successes are down to the school's strong focus on improving lesson quality, the motivation of learners and exam preparations.
"I must thank the staff for their hard work and commitment to supporting their students. Also credit must go to the young people of Kirkcaldy High who have worked hard to achieve these results.
"We've seen a big improvement in self belief this session. Our goal is now to build on these improvements in the years to come."
The results reflected the trend across Fife, with the Kingdom's education department last week acknowledging pupils had achieved better marks than in previous years.
KHS received a 'weak' rating for attainment levels in pupils of all ages in its HMIE report in 2006.
A follow-up report published in March 2008 said the school's response to the main points for action had been weak, and had shown no improvements in exams.
Lindsay Roy was brought in last summer to raise standards, before being replaced by Mr Allan after winning the Glenrothes by-election later last year as the Labour Party's candidate.
Mr Allan added: "With Her Majesty's Inspectorate of Education visiting the school at the end of August, I am optimistic that this impressive set of exam results will be seen a strong evidence of Kirkcaldy High's improving standards."