Pupils at the strath’s largest secondary school have been learning lessons which could quite literally be life-saving.