Young engineer says exam success down to power of prayer